iOS Walkthrough Flashcards
CS193P Class - iOS 5 Walkthrough
What is an outlet?
A property of the Controller through which it can talk to an element in the View.
What is the destination of an outlet connection?
The controller
How do you create an outlet?
By crtl-dragging from an object in the view to the code (the Controller object).
Why use weak instead of strong storage?
window already has a strong pointer to
What is an action?
A method that is going to be sent from an object in the View to the Controller.
What is id?
An id is a pointer to an object of any class.
What is a pointer?
An address in memory classified by its class
What is the heap?
The heap allows programs to allocate memory exactly when they need it during the execution of a program, rather than pre-allocating it with a specifically-sized array declaration.
When do you use a class method?
When you want to create instances, get shared instances, or get utility info about a class