iOS devs can finally claim functionality that our Java counterparts have been taking for granted: "nullable" annotations in ObjC which transfer to Optional Swift types https://developer.apple.com/swift/blog/?id=25!
I hope we can start using these in our app ASAP. It will help ObjC dev efforts a ton while also easing our (not too distant) transition to Swift. I *think* that all we need to do is specify Xcode 6.3 as the *minimum* *supported* Xcode version. I'm guessing lesser versions will fail to compile the code if they encounter one of these new pragmas or annotations.
Cool! +1 to setting "Xcode 6.3 as the minimum supported Xcode version"
On Mar 14, 2015, at 5:04 PM, Brian Gerstle bgerstle@wikimedia.org wrote:
iOS devs can finally claim functionality that our Java counterparts have been taking for granted: "nullable" annotations in ObjC which transfer to Optional Swift types!
I hope we can start using these in our app ASAP. It will help ObjC dev efforts a ton while also easing our (not too distant) transition to Swift. I think that all we need to do is specify Xcode 6.3 as the minimum supported Xcode version. I'm guessing lesser versions will fail to compile the code if they encounter one of these new pragmas or annotations.
-- EN Wikipedia user page: https://en.wikipedia.org/wiki/User:Brian.gerstle IRC: bgerstle _______________________________________________ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
Looks like 6.3 is still in beta, meaning people would need a paid developer account to hack on the project. So we probably need to wait until 6.3 is out...unless someone can figure out a way to allow such annotations in the stable 6.2 version.
On Sat, Mar 14, 2015 at 11:24 PM, Monte Hurd mhurd@wikimedia.org wrote:
Cool! +1 to setting "Xcode 6.3 as the *minimum* *supported* Xcode version"
On Mar 14, 2015, at 5:04 PM, Brian Gerstle bgerstle@wikimedia.org wrote:
iOS devs can finally claim functionality that our Java counterparts have been taking for granted: "nullable" annotations in ObjC which transfer to Optional Swift types https://developer.apple.com/swift/blog/?id=25!
I hope we can start using these in our app ASAP. It will help ObjC dev efforts a ton while also easing our (not too distant) transition to Swift. I *think* that all we need to do is specify Xcode 6.3 as the *minimum* *supported* Xcode version. I'm guessing lesser versions will fail to compile the code if they encounter one of these new pragmas or annotations.
-- EN Wikipedia user page: https://en.wikipedia.org/wiki/User:Brian.gerstle IRC: bgerstle
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
We could try to wrap them in our own preprocessor macros, but it's probably not worth it
On Monday, March 16, 2015, Adam Baso abaso@wikimedia.org wrote:
Looks like 6.3 is still in beta, meaning people would need a paid developer account to hack on the project. So we probably need to wait until 6.3 is out...unless someone can figure out a way to allow such annotations in the stable 6.2 version.
On Sat, Mar 14, 2015 at 11:24 PM, Monte Hurd <mhurd@wikimedia.org javascript:_e(%7B%7D,'cvml','mhurd@wikimedia.org');> wrote:
Cool! +1 to setting "Xcode 6.3 as the *minimum* *supported* Xcode version"
On Mar 14, 2015, at 5:04 PM, Brian Gerstle <bgerstle@wikimedia.org javascript:_e(%7B%7D,'cvml','bgerstle@wikimedia.org');> wrote:
iOS devs can finally claim functionality that our Java counterparts have been taking for granted: "nullable" annotations in ObjC which transfer to Optional Swift types https://developer.apple.com/swift/blog/?id=25!
I hope we can start using these in our app ASAP. It will help ObjC dev efforts a ton while also easing our (not too distant) transition to Swift. I *think* that all we need to do is specify Xcode 6.3 as the *minimum* *supported* Xcode version. I'm guessing lesser versions will fail to compile the code if they encounter one of these new pragmas or annotations.
-- EN Wikipedia user page: https://en.wikipedia.org/wiki/User:Brian.gerstle IRC: bgerstle
Mobile-l mailing list Mobile-l@lists.wikimedia.org javascript:_e(%7B%7D,'cvml','Mobile-l@lists.wikimedia.org'); https://lists.wikimedia.org/mailman/listinfo/mobile-l
Mobile-l mailing list Mobile-l@lists.wikimedia.org javascript:_e(%7B%7D,'cvml','Mobile-l@lists.wikimedia.org'); https://lists.wikimedia.org/mailman/listinfo/mobile-l