Code School - iOS Operation Models #2
iOS Operation: Models - Code School
LEVEL 2
- No guarantee for fetching data finish before display data
- NotificationCenter
- observer, selector, name
- dataRetrieved method
- NotificationCenter
- @selector (annotation)
- Refactor init WIth JSON
LEVEL 3
- Fast Enumeration
- NSMutableArray <- objects, addObject
- for( in )
- Immutable vs Mutable -> Memory management, Threading
- NSArray.init.initWithArray:mutableTmpArray
- tableView
- cellForRowAtIndexPath
- dequeueReusableCellWithIdentifier
- didSelectRowAtIndexPath
- deselectRowAtIndexPath
- pushViewController
- cellForRowAtIndexPath
- detail view
- viewDIdLoad
- viewWillAppear
- set label etc.
LEVEL 4
- keyboard types
- UIKeyboardTypeASCIICapable
- UIKeyboardTypeNumbersAndPunctuation
- UIKeyboardTypeURL
- UIKeyboardTypeNumberPad
- UIKeyboardTypePhonePad
- UIKeyboardTypeNamePhonePad
- UIKeyboardTypeEmailAddress
- UIKeyboardTypeDecimalPad
- UIKeyboardTypeTwitter
- UIKeyboardTypeAlphabet
- UITextField border style
- UITextBorderStyleNone
- UITextBorderStyleLine
- UITextBorderStyleBezel
- UITextBorderStyleRoundedRect
- UITextFieldDelegate
- textFieldShouldBeginEditing
- textFieldDidBeginEditing
- textFieldShouldEndEditing
- textFieldDidEndEditing
- textFieldShouldClear
- textFieldShouldReturn
- @interface CityViewController : UIViewController
- Make the keyboard go away
- [textField resignFirstResponder];