quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

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
  • @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
  • 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];