俺的Objective-C勉強法

10,498 views

Published on

Apple Developer 友の会 第1回勉強会

Published in: Technology
  • Be the first to comment

俺的Objective-C勉強法

  1. 1. Objective-C Naoya Sangu @vochkun
  2. 2. Twitter: @vochkun - -• IT• iOS• iPhone/iPad
  3. 3. YumYum
  4. 4. Objective-C
  5. 5. C++ Java Objective-C
  6. 6.
  7. 7. NSString- (NSString*)stringByReplacingOccurrencesOfString:(NSString*)target withString:(NSString*)replacement options:(NSStringCompareOptions)options range:(NSRange)searchRange- ( ) 1 :( 1 ) 1 2 :( 2 ) 2 3 :( 3 ) 3 4 :( 4 ) 4NSString* str = @"Hoge foo hoge bar";NSString* ret = [str stringByReplacingOccurrencesOfString:@"hoge" withString:@"FUGA" options:NSCaseInsensitiveSearch range:NSMakeRange(0, [str length])];NSLog(@"%@", ret); // FUGA foo FUGA bar
  8. 8. Hoge* hoge = [[Hoge alloc] init]; //[hoge fooBar]; //[hoge release]; //••• iOS 5 ARC•
  9. 9. Objective-C …
  10. 10. nilif (obj) { [obj fooBar:hoge];} Objective-C[obj fooBar:hoge];nil nil
  11. 11. • Apple Foundation/UIKit - Android SDK 2/3 ※ - UI• Xcode -
  12. 12. • - getter/setter - C# VB• - - Java Interface• - - Ruby• - - Ruby JS iOS 4.0
  13. 13. iOS SDK • Objective-C Xcode • Xcode 3.x • •¥2,940 • C++
  14. 14. iPhone Xcode 4 • • Xcode 4¥2,940
  15. 15. Objective-C 2.0 • Objective-C • • iOS¥3,990
  16. 16. iPhoneUIKit • UI • Interface Builder ¥3,990
  17. 17. iOS • • ¥2,990
  18. 18. iPhone • • ¥3,570
  19. 19. Apple
  20. 20. iOS Developer Library http://developer.apple.com/jp/devcenter/ios/ library/japanese.html• PDF• iOS•
  21. 21. http://developer.apple.com/appstore/ guidelines.html•• http://fladdict.net/blog/2010/09/reject- list.html
  22. 22. • iPhone - ※ - ※• iPhone - - - http://groups.google.co.jp/group/wtidev/• iPhone - - https://groups.google.com/group/yidev/ ATND
  23. 23. Twitter/Facebook
  24. 24. • Twitter @iphone_dev_jp 1 3000• Facebook IOS_beginners App Store 600 …
  25. 25. Titanium Mobile http://www.appcelerator.com/products/titanium-mobile-application-development/ • JS → • Android/iPhone • UI • masuidrive
  26. 26. cocos2dhttp://www.cocos2d-iphone.org/ • Objective-C • 2D • OpenGL • •
  27. 27. Unityhttp://unity3d.com/japan/ • 3D • • iOS
  28. 28. FMDB https://github.com/ccgus/fmdb• sqlite OSS• CoreData
  29. 29. • • Twitter: @vochkun • E-mail: naoya.sangu@gmail.com

×