6 ms·
I've been using obj-c for around a year now, and it's growin' on me :) I didn't like it too much at first (funky syntax, different naming conventions, generall
by sil3ntmac 18y ago
I've been using obj-c for around a year now, and it's growin' on me :)
I didn't like it too much at first (funky syntax, different naming conventions, generally crappy string manipulation), but once I started using it, especially in conjunction with cocoa and ib, I really started liking it.
It has some cool perks, like using '+' (I forget the technical term) to add functionality to an existing class (i.e. adding a method to the NSString class by creating an NSString+Additions.m file, and all classes in your project can call that method on any NSString object). Much easier than having to create an NSString subclass just to add one method, and then having to remember to name all your NSString's something like MyString* str;
I also like that I can just throw a chunk of c or c++ code in there, and call it as a method. Kinda like having native JNI (department of redundancy department). Alright that was a really bad analogy...
Xcode is a decent SDK as well.