mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 00:04:25 +00:00
Create an SFSafariViewController safely — don’t crash on an unhandled Objective-C exception.
This commit is contained in:
1 parent
a63609b7a0
commit
599636b310
5 files changed
+54
-3
No files matched your search
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// SFSafariViewControllerExtras.h
|
||||
// NetNewsWire-iOS
|
||||
//
|
||||
// Created by Brent Simmons on 11/29/25.
|
||||
// Copyright © 2025 Ranchero Software. All rights reserved.
|
||||
//
|
||||
|
||||
@import SafariServices;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface SFSafariViewController (Extras)
|
||||
|
||||
+ (nullable SFSafariViewController *)safeSafariViewController:(NSURL *)url;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in new issue
Block a user