Native iOS development made simple [video]
1–10 of 27 posts
Re: Native iOS development made simple [video]
#2I'm not sure how they did that (#define?) but stay far, far away. Imagine if you opened up a Ruby codebase and found out I had aliased NO to be the same as the language builtin false... yeesh.
Also, setting boolean instance variables to NO in init is silly since Obj-C objects are calloc'd, so all ivars are guaranteed to start with default values (nil/0/NO).
Re: Native iOS development made simple [video]
#3Re: Native iOS development made simple [video]
#4Nice idea, but the sample code they show in the screenshot uses "FALSE" instead of NO (the Obj-C standard boolean literal). I'm not sure how they did that (#define?) but stay far, far away. Imagine if you opened up a Ruby codebase and found out I had aliased NO to be the same as the language builtin false... yeesh. Also, setting boolean instance variables to NO in init is silly since Obj-C objects are calloc'd, so al…
Re: Native iOS development made simple [video]
#5Re: Native iOS development made simple [video]
#6From all the app code generators I've seen and used, the experience is absolutely horrendous. Memory leaks, does not five you full access into the API etc... It's a lot easier to suck it up and learn Objective-C than having to deal with these tools.
Re: Native iOS development made simple [video]
#7Nice idea, but the sample code they show in the screenshot uses "FALSE" instead of NO (the Obj-C standard boolean literal). I'm not sure how they did that (#define?) but stay far, far away. Imagine if you opened up a Ruby codebase and found out I had aliased NO to be the same as the language builtin false... yeesh. Also, setting boolean instance variables to NO in init is silly since Obj-C objects are calloc'd, so al…
Re: Native iOS development made simple [video]
#8Price is $299 PER APPLICATION? or is that a typo?
Re: Native iOS development made simple [video]
#9Nice idea, but the sample code they show in the screenshot uses "FALSE" instead of NO (the Obj-C standard boolean literal). I'm not sure how they did that (#define?) but stay far, far away. Imagine if you opened up a Ruby codebase and found out I had aliased NO to be the same as the language builtin false... yeesh. Also, setting boolean instance variables to NO in init is silly since Obj-C objects are calloc'd, so al…
Re: Native iOS development made simple [video]
#10Nice idea, but the sample code they show in the screenshot uses "FALSE" instead of NO (the Obj-C standard boolean literal). I'm not sure how they did that (#define?) but stay far, far away. Imagine if you opened up a Ruby codebase and found out I had aliased NO to be the same as the language builtin false... yeesh. Also, setting boolean instance variables to NO in init is silly since Obj-C objects are calloc'd, so al…
...NO and YES in Objective-C are themselves #defines. As others have pointed out, TRUE/FALSE are also already defined in the language, although using them in Objective-C is not good style.
http://www.opensource.apple.com/source/objc4/objc4-371.1/run...