Quote:
Originally Posted by ocalero
Hi, I wonder if there is a very easy introductory iPhone SDK tutorial, I have been writing small iPhone apps, starting with existing code, but I donīt really know how to write them from the beginning.
For example... What is "Delegate", How can somebody write an app without Interface Builder.
I have seen the "developer.apple.com" tutorials, but I think nobody understand that.
Please, I wanna become an iPhone Senior Developer, but if I donīt understand how the code parts works, I really doubt that i can do what i want.
Thanks.
|
Hi,
Writing applications for the iphone is a difficult learning experience, as it is with Interface Builder is difficult until you actually get the hang of it. It is a language as you can see like no other, you must learn the concept of controllers and App delegates.
To answer you question regarding delegates, I can tell you that delegates are a group of methods that pertain to a specific object/control in this case the UITableView or the UIPicker. This delegate can be the ViewController it self of another class. If the Delegate is it self example:
Class_Name : UIViewController <UITableViewDelegate, UITableViewDataSource> {
....
in that case your delegate methods will go in the same class .m file otherwise you must include a delegate in Interface builder and connect it to the file containing your delegate methods/class.
It is a simple idea but hard to undestand, I will recomend you to get some books, I spent weeks trying to lear and I am finally seeing my self the light at the end of the tunnel.
At this point, without previous programming experience for you is going to be very, very difficult (not impossible) to learn mobil coca - objective-c for the iphone without Interface builder.
Purchase a Mac if you don't have one, that will be the best way to do it.
Regards,
Reemby