SafariServices Changes for Swift
SafariServices
Added SFContentBlockerManager
Added SFSafariViewController
Modified SSReadingList
Declaration | |
---|---|
From | class SSReadingList : NSObject { class func defaultReadingList() -> Self! init!() class func supportsURL(_ URL: NSURL!) -> Bool func addReadingListItemWithURL(_ URL: NSURL!, title title: String!, previewText previewText: String!, error error: NSErrorPointer) -> Bool } |
To | class SSReadingList : NSObject { class func defaultReadingList() -> SSReadingList? init() class func supportsURL(_ URL: NSURL) -> Bool func addReadingListItemWithURL(_ URL: NSURL, title title: String?, previewText previewText: String?) throws } |
Modified SSReadingList.addReadingListItemWithURL(_: NSURL, title: String?, previewText: String?) throws
Declaration | |
---|---|
From | func addReadingListItemWithURL(_ URL: NSURL!, title title: String!, previewText previewText: String!, error error: NSErrorPointer) -> Bool |
To | func addReadingListItemWithURL(_ URL: NSURL, title title: String?, previewText previewText: String?) throws |
Declaration | |
---|---|
From | class func defaultReadingList() -> Self! |
To | class func defaultReadingList() -> SSReadingList? |
Declaration | |
---|---|
From | class func supportsURL(_ URL: NSURL!) -> Bool |
To | class func supportsURL(_ URL: NSURL) -> Bool |
Modified SSReadingListErrorCode [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |