Conference withdevelopers 第二版

  • Published on
    02-Dec-2014

  • View
    670

  • Download
    0

Embed Size (px)

DESCRIPTION

conference with developers 2012 @ginrou

Transcript

  • 1. mixiiPhone
  • 2. 20124 6 iOS
  • 3. iPhone
  • 4. mixi iPhone 23 (2012) 800 .m574
  • 5. 11 1 7 QA 2
  • 6.
  • 7. MVC CI
  • 8. Mixi Graph Kit mixi RESTful API JSONRPC mixi.jp MVC
  • 9. MVC MixiGraphKit xib
  • 10.
  • 11. delegate, NSNoRcaRon ViewControllerA @propery ModelA *model ModelA -(void)someMethod { // // viewController }
  • 12. delegate, NSNoRcaRon ViewControllerA @propery ModelA *model ModelA @property ViewControllerA *vcA -(void)someMethod { [vcA presentModal]; }
  • 13. delegate, NSNoRcaRon ViewControllerA @propery ModelA *model ModelA @property ViewController *vcA -(void)someMethod { [vcA presentModal]; }
  • 14. delegate, NSNoRcaRon ViewControllerA @propery ModelA *model ModelA @property ViewController *vcA -(void)someMethod { [vcA presentModal]; }
  • 15. delegate, NSNoRcaRon ViewControllerA @propery ModelA *model -(void)showModal { [self presentModal]; } ModelA @property id delegate; @protocol ModelADelagete - (void) showModal -(void)someMethod { [delegate showModal]; }
  • 16. GHUnit KIF UIAutomaRon gitpushJenkins
  • 17. GHUnit method_exchangeImplementaRons
  • 18. KIF Objecitve-C / 3
  • 19. UI AutomaRon Instruments AutomaRon JavaScript Xcode 4.2 / 3
  • 20. KIF vs UI-AutomaRon KIF ObjecRve-C UI-Automa6on JavaScript, (KeyChain )
  • 21. (.m, .h) xib
  • 22.
  • 23. 1. Apple 2. Google ObjecRve-C 3. NSInteger numCols // NG () NSInteger numberOfColumn; // OK - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath: (NSIndexPath *)indexPath { return 20.0; // NG () retrun kDefaultCellHeight; // OK }
  • 24. UIWebViewNSURLConnecRon / Blocks
  • 25. // NON ARC -(void)dealloc { self.model = nil; self.model.delegate = nil; // modeldelegate } self.block = ^(){ NSLog(@%@, self.value); // Blocks };
  • 26. Gerrit gerrit
  • 27. Gerrit GoogleGit Jenkins
  • 28. push Jenkins () veried Gerrit OK merge Git Remote
  • 29. Over the Air peperoncino App Store koala (hups://github.com/punchdrunker/AppReviewViewer)
  • 30. OTA peperoncino Jenkins API iOS
  • 31. Jenkins& xcodebuild conguraRon Release CODE_SIGN_IDENTITYDistribuRon app manifest itms-services://?acRon=download-manifest&url=< > DL
  • 32. koala AppStore IRC github
  • 33.