Re:Swift, the new way to build iOS Apps. Here's how
by martingordon on Tuesday June 03, 2014 @01:07PM
(#7841407)
Is there ever a time when you don't want a weak/unowned self in a block? Perhaps this should be made the default in Swift? (I understand that the Blocks spec requires all captured variables to be strong unless otherwise specified.)
Re:Swift, the new way to build iOS Apps. Here's how
by BugBrother on Tuesday June 03, 2014 @11:01AM
(#7840580)
>>understanding Obj-C was never the hard part.
It seems important for traction to make the beginning learning curve non-steep. See PHP, Python, etc.
“You indicate type methods for classes by writing the keyword class before the method’s func keyword, and type methods for structures and enumerations by writing the keyword static before the method’s func keyword.”
Excerpt From: Apple Inc. “The Swift Programming Language.” iBooks. https://itun.es/us/jEUH0.l
I do think the new language is neat and will be fun to work in, but it doesn't solve the parts that tripped up many people when working in Objc.
[1]
Excerpt From: Apple Inc. “The Swift Programming Language.” iBooks. https://itun.es/us/jEUH0.l