Re: [swift-users] Cannot implement NSURLSessionDownloadDelegate

2016-03-31 Thread Sebastian Hagedorn via swift-users
You’d have to add @objc(updateSearchResultsForSearchController:) to it. If you’re having issues in other places of your code, you can easily get the ObjC selector form by looking into the online docs, e.g.: https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISearchResultsUpdat

[swift-users] Cannot implement NSURLSessionDownloadDelegate

2016-03-30 Thread Charles Lane via swift-users
I have the same problem except it’s with the UISearchResultsUpdating protocol. I read Jordan’s reply with the workaround but I’m not familiar enough with OBJC to implement it. Could you possibly show me the correct form for the following: func updateSearchResults(for searchController: UISearchCo

Re: [swift-users] Cannot implement NSURLSessionDownloadDelegate

2016-03-23 Thread Douglas Gregor via swift-users
> On Mar 23, 2016, at 2:13 AM, Sebastian Hagedorn wrote: > > Thanks for looking into it and the quick fix, much appreciated. I’d assume > this issue will come up many many times once the first Xcode beta ships with > Swift 3.0. We are not going to ship an Xcode to external customers (even as

Re: [swift-users] Cannot implement NSURLSessionDownloadDelegate

2016-03-23 Thread Sebastian Hagedorn via swift-users
Thanks for looking into it and the quick fix, much appreciated. I’d assume this issue will come up many many times once the first Xcode beta ships with Swift 3.0. > On 22 Mar 2016, at 17:56, Douglas Gregor wrote: > >> >> On Mar 22, 2016, at 9:55 AM, Jordan Rose wrote: >> >> >>> On Mar 22,

Re: [swift-users] Cannot implement NSURLSessionDownloadDelegate

2016-03-22 Thread Douglas Gregor via swift-users
> On Mar 22, 2016, at 9:55 AM, Jordan Rose wrote: > > >> On Mar 22, 2016, at 8:49, Sebastian Hagedorn via swift-users >> wrote: >> >> I have started migrating a Swift 2.2 project to Swift 3.0 using the latest >> dev snapshot (16 March 2016) and Xcode 7.3. >> >> I have an existing class (an

Re: [swift-users] Cannot implement NSURLSessionDownloadDelegate

2016-03-22 Thread Jordan Rose via swift-users
> On Mar 22, 2016, at 8:49, Sebastian Hagedorn via swift-users > wrote: > > I have started migrating a Swift 2.2 project to Swift 3.0 using the latest > dev snapshot (16 March 2016) and Xcode 7.3. > > I have an existing class (and have verified the same behaviour in a new, > isolated test pr

[swift-users] Cannot implement NSURLSessionDownloadDelegate

2016-03-22 Thread Sebastian Hagedorn via swift-users
I have started migrating a Swift 2.2 project to Swift 3.0 using the latest dev snapshot (16 March 2016) and Xcode 7.3. I have an existing class (and have verified the same behaviour in a new, isolated test project) that declares to conform to NSURLSessionDownloadDelegate (and inherits from NSOb