This might become obsolete with 4.0, but I think it’s still worth a shot, if not to use it, at least to get an idea on how to do things.
Continue reading »
Important Edit: Please redownload the file, as there were some important changes (that’s what happen when you don’t test it before
)
Here are some small but useful additions to the UIColor class in UIKit.
Continue reading »
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.
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.
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.
|
|
File: App Template (3.31KB) added: 06/06/2009 |





