quattro_4 scribble

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

NSScreencast Episode #30 Parse

Parse - NSScreencast

  • Sign up Parse site
    • Datastore, Push, Socialとか
    • Cloud Code
    • Data Browser (SDK)が利用できる(クラウドのデータベースとか見れる)
  • Podfile
    • pod 'Parse', :git => podfile SPEC
    • pod 'MGImageUtilities'
    • pod 'SVProgressHUD'
  • addPhoto
    • UIImagePickerController
    • ...SourceTypePhotoLibrary
    • isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera
    • thumbnail imageCroppedToFitSize
  • upload
    • UIImagePNGRepresentation
    • PFFile fielWithData
    • saveInBackground
      • saveInBackgroundWithBlock
      • SVProgressHUD show
      • SVProgressHUD dismiss
      • NSNotificationCenter defaultCenter postNotificationName
    • tableView PFObject
  • NSNotificationCenter defaultCenter addObserver selector:@selector()
  • ParseFileSupport (Category)
    • getDataInBackgroundWithBlock

画像をクラウドのデータソースにアップロードし、 その結果をアプリ内で同期できる