Ok, so I've read The C Programming Language and Learning Cocoa in the interests of learning how to program for the iPhone. Unfortunately... it would appear there's still just a bit more to learn before I can start doing some real programming.
What are Properties and how do they fit in with everything else I learned from the other two books? I've read the ADC summary of properties... but it doesn't seem to have helped me (it's too much of a summary and it doesn't offer a tutorial so I can build a program myself that makes use of them.)
I'd like a program where I hit a button, and another button hides. It's not a real program... just something so I can hopefully understand properties better.
UIView has a property "hidden" according to the documentation in XCode. Can I somehow use the property to make my button hide? And when I hide the button... will that make it stop responding to clicks (sorry, I guess that's touches when you're working on an iPhone program.)
Thanks in advance for any help people can offer.
*grumbling* stupid Apple NDA keeping book publishers from helping me understand Objective-C 2.0 and properties...
What are Properties and how do they fit in with everything else I learned from the other two books? I've read the ADC summary of properties... but it doesn't seem to have helped me (it's too much of a summary and it doesn't offer a tutorial so I can build a program myself that makes use of them.)
I'd like a program where I hit a button, and another button hides. It's not a real program... just something so I can hopefully understand properties better.
UIView has a property "hidden" according to the documentation in XCode. Can I somehow use the property to make my button hide? And when I hide the button... will that make it stop responding to clicks (sorry, I guess that's touches when you're working on an iPhone program.)
Thanks in advance for any help people can offer.
*grumbling* stupid Apple NDA keeping book publishers from helping me understand Objective-C 2.0 and properties...