Nov 18
PelaezDevelopment, Tips nil, ObjC
Overview
nil is ObjC’s null, which means that the pointer to the object doesn’t really point to anything. This is usually when you haven’t created the object.
However, in ObjC, nil is much more useful than in other languages. In languages like Java, if an object is null and you try to do pretty much anything with it, it will fail at runtime. nil is a lot more flexible.
In ObjC, you can send nil as a parameter for a selector(that’s how methods are called on ObjC, will use that from now on), receive nil from one, and even call a selector on nil.
More
Aug 11
PelaezBlog, Development, Tips, iPhone Apple, ObjC, PDF
This was a page, but I decided that it was too cluttered, so I decided to make it a post.
Here are some PDFs that have been really helpful to me, I have not bought any books or anything. I did take a course on basic C, and I’m also being teached Java at school.
Jun 06
PelaezSource Code, Toolchain, iPhone Download, ObjC, Source Code, template, Toolchain
I decided I needed a template App for the toolchain, so here it is.
This is a template app that will make an empty app that does nothing but put your screen white. It’s made from a UIApplication subclass, a UIViewController subclass and a UIView subclass, so it’s pretty much ready for you to code your own view, add your own methods and turn it into something.
Jun 04
PelaezDevelopment, SDK, Source Code, Toolchain, Tutorials, iPhone class, ObjC, object, oop
This is a “template” of a very basic ObjC class, with some things explained, you should copy it and paste it into a text editor to see it more clearly.
More
May 28
PelaezDevelopment, SDK, Toolchain, iPhone Frameworks, ObjC, oop
Personally, I had never used a language with a sintax like ObjC (if there’s another one with the same/similar sintax), so, comming from using C and Java, it was quite confusing.
While ObjC uses C as a core, and accessing properties is quite similar as in other languages (object.property;), methods are a little bit different from other languages I’ve used. More
Older Entries