Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 09-20-2008, 09:18 AM   #8 (permalink)
PhoneyDeveloper
New Member
 
Join Date: Sep 2008
Posts: 1,431
PhoneyDeveloper is on a distinguished road
Default

The problem in part is this:

Quote:
P.S. I was honestly hoping there were two or three lines I could cut and paste for the goes-ins and the goes-outs, and I could study those to see what's happening to extrapolate for future attempts.
I am frequently reminded of an apocryphal story when I read the URGENT posts or the PLEASE HELP posts. A friend calls me on the phone and says 'I just bought this gun. I've loaded it up with bullets but when I pull the trigger nothing happens. How do I make this gun shoot?' I helpfully tell him 'See that little button on the side of the gun? That's the safety. Push that button and the gun will shoot.' About five minutes later I get another call 'I just shot my foot. What do I do now?'

And then there's always the 'give a man a fish, teach a man to fish' thing. There are a lot of posters around here that don't know how to fish but are begging for fish, not lessons.

Anyone on this board who can answer more questions then he asks has gotten there by reading the docs, plus of course writing code. There's no shortcut. You must read at least some of the documentation in order to have any idea what's going on. Looking at the example code may be part of it but the docs are crucial. One problem with Apple's documentation is that there's not a clear guide to how to learn; there are mainly guides to technologies and reference material. There needs to be a list of what documents to read and in what order. There also needs to be a list of concepts that need to be understood. Cocoa memory management, target-action, how drawing takes place, the responder chain, how animation works, etc. If you don't know those things, sample code or code snippets won't help.

In general the guides are very helpful and I do recommend to everyone to start at the top of the list and read most or all of them. Not necessarily in one day but over time. And it's ridiculous to ask questions about tableviews without having read the tableview programming guide.

One other thing: on Apple's Cocoa-dev mailing list they have a policy that no one should explain Cocoa memory management. Instead all questions regarding that topic are to be referred to the documentation. The reason is that the documentation is complete, and more to the point, is correct. Having people explain Cocoa memory management on that mailing list just wastes space and is liable to give wrong info. It's a good policy.

It certainly sounds boring to be told to read 500 pages before writing any code. That's how I did it however. That's how anyone should.

Last edited by PhoneyDeveloper; 09-20-2008 at 09:21 AM.
PhoneyDeveloper is offline   Reply With Quote
 

» Advertisements
» Online Users: 394
16 members and 378 guests
bignoggins, chemistry, Domele, Duncan C, firecall, HowEver, ilmman, jaychoupham, Jenfrag, Karl6669, krisk, matador1978, n00b, NSString, SuperDietGenius, timle8n1
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,559
Threads: 94,079
Posts: 402,742
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Jenfrag
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:22 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.