• Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,583
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
42
Comments
0
Likes
9

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide



  • msg:内部转译为对objc_msgSend的调用,大部分时候可以将其理解为和虚函数等同,动态绑定方式和虚函数有区别,vtable vs dispatch table,更多动态特性
    category: 实现(Implementation)的分类,为已经存在的类添加新方法,官方类丰富多彩的民间扩展
    protocol: 抽象接口定义,调用的契约,Formal / Informal Protocol.对比java interfaces







Transcript

  • 1. iPhone Beta http://club.blogbeta.com twitter: @betasalon Robin Lu in-src.com
  • 2. iPhone @ IN-SRC Studio iamawalrus@gmail.com http://www.robinlu.com
  • 3. • Object-C • • •
  • 4. Object-C • a simple computer language designed to enable sophisticated object-oriented programming • Message • Category • Protocol
  • 5. • Target-Action • Delegation • Notification • Key Value Coding (KVC) • Singleton
  • 6. • • retain (alloc, copy) • release • autorelease • •
  • 7. • Apple , • iPhone • http://itunes.stanford.edu/
  • 8. : COCOA PROGRAMMING FOR MAC OS X The iPhone Developer’s Cookbook Beginning iPhone Development
  • 9. : • http://iphone.wordpress.org/ • ftp://ftp.idsoftware.com/idstuff/wolf3d/ wolf3d_iphone_v1.0_src.zip
  • 10. : • facebook: http://github.com/joehewitt/three20/tree/ master • JSON: http://code.google.com/p/json-framework/ • RE: http://regexkit.sourceforge.net/#RegexKitLite • http server: http://code.google.com/p/cocoahttpserver/ • 2D Engine: http://code.google.com/p/cocos2d-iphone/ • 3D Engine:http://oolongengine.com/
  • 11. :RSS • Planet iPhone SDK: http://www.planetiphonesdk.com/ planet_iphone_sdk_feed.xml • Cocoa With Love: http://cocoawithlove.com/feeds/ posts/default • Cocoa Is My Girlfriend: http://feeds.feedburner.com/ CocoaIsMyGirlfriend