iOS 4 編程

出版時(shí)間:2011-10  出版社:東南大學(xué)出版社  作者:諾伊貝格  頁數(shù):808  
Tag標(biāo)簽:無  

內(nèi)容概要

  為掌握cocoa
touch的所有基本知識打下堅(jiān)實(shí)基礎(chǔ),并且避免iphone和ipad應(yīng)用開發(fā)中的問題。與《ios4編程》一起,你將深入挖掘cocoa并學(xué)習(xí)如何有效地使用objective-c和xcode來工作。本書用嚴(yán)格、傳統(tǒng)的方式涵蓋了ios4——無論你是初次接觸ios的新手,還是需要一本參考書來提升已有的技能,這都是一種理想的方式。
   學(xué)習(xí)objective-c語言的細(xì)節(jié)和面向?qū)ο缶幊痰母拍?br />  理解xcode項(xiàng)目的各個(gè)組成部分及其生命周期的所有階段
  掌握cocoa關(guān)鍵概念,如類之間的關(guān)系、事件接收以及模型-視圖-控制器架構(gòu)
  了解視圖是如何被管理、繪制、構(gòu)成以及生成動畫的
  挖掘cocoa框架的一切細(xì)節(jié),包括聲音、視頻、傳感器、地圖和其他更多內(nèi)容
  涉及高級主題如多線程和網(wǎng)絡(luò)
  獲得細(xì)致深入的了解,為獨(dú)立探索高級ios功能打下基礎(chǔ)

作者簡介

作者:(美國)諾伊貝格(Matt Neuburg)

書籍目錄

preface
part i. language
 1. just enough c
 2. object-based programming
 3. objective-c objects and messages
 4. objective-c classes
 5. objective-c instances
part ii. ide
 6. anatomy of an xcode project
 7. nib management
 8. oocumentation
 9. life cycle of a project
part iii. cocoa
 10. cocoa classes
 11. cocoa events
 12. accessors and memory management
 13. data communication
part iv. views
 14. views
 15. drawing
 16. layers
 17. animation
 18. touches
part v. interface
 19. view controllers
 20. scroll views
 21. table views
 22. popovers and split views
 23. text
 24. web views
 25. controls and other views
 26. modal dialogs
part vi. some frameworks
 27. audio
 28. video
 29. music library
 30. photo library
 31. address book
 32. calendar
 33. mail
 34. maps
 35. sensors
part vii. final topics
 36. persistent storage
 37. basic networking
 38. threads
 39. undo
 40. epilogue
index
  

章節(jié)摘錄

版權(quán)頁:   The main ways ro go wrong with NSLog (or any format string) are to supply a different number of format arguments from the number of format specifiers in the string, or to supply an argument value different from the type declared by the corresponding format specifier. These mistakes can send your app off into the weeds, or at least give misleading results. I often see beginners claim that logging shows a certain value to be nonsense, when in fact it is their NSLog call that is nonsense; for example, a formatspecifier was %i but the value of the corresponding argumenr was a float. C structs are not objects, so to see a struct's value with NSLog you must somehow disassemble or translate the struct. Common Cocoa structs usually supply convenience functions for this purpose. For example: Purists may scoff at caveman debugging, but I use it heavily: it's easy, informative, and lightweighr. And sometimes it's the only way. Unlike the debugger, NSLog works with any build configuration (Debug or Release) and wherever your app runs (in the Simulator or on a device). Ir even works on someone else's device, such as a tester to whom you've distributed your app. It's a little rricky for a tester to get a look at the console so as to be able to report back to you, but it can be done: the tester can connect the device to a computer and view its log in Xcode's Organizer window or with Apple's iPhone Configuration Utility; there's also a free utility app called Console that displays the log right on the device. Remember to remove or comment out NSLog calls before shipping your app, as you probably don't want your finished app ro dump lots of messages into the console. A useful trick (shamelessly stolen from Jens Alfke) is to call MyLog instead of NSLog,and define MyLog like this in your precompiled header.

媒體關(guān)注與評論

  “本書包含海量的材料。 它提供了你所需要的從頭到尾的視角,讓真正的代碼做真正的事情。很多很好的實(shí)例。寫得非常好?!薄  ?Brendan Dixon*,WellTok公司首席技術(shù)架構(gòu)師    “本書就是我正在找的那本書。(Matt Neuburg)提出了我自己都無法厘清的問題,然后就用簡明扼要的回答解決了謎團(tuán)?!薄  ?Forrest Anderson*    “作者不僅深入了iOS編程的機(jī)制,而且也深入了編程方法和程序結(jié)構(gòu)的原因所在。非常完整?!薄  ?Harold Schwab*

編輯推薦

《iOS 4編程(影印版)(英文版)》包含海量的材料,它提供了你所需要的從頭到尾的視角,讓真正的代碼做真正的事情,很多很好的實(shí)例,寫得非常好。

名人推薦

“本書包含海量的材料。它提供了你所需要的從頭到尾的視角,讓真正的代碼做真正的事情。很多很好的實(shí)例。寫得非常好。” ——Brendan Dixon*,WellTok公司首席技術(shù)架構(gòu)師 “本書就是我正在找的那本書。(Matt Neuburg)提出了我自己都無法厘清的問題,然后用簡明扼要的回答解決了謎團(tuán)?!?——Forrest Anderson* “作者不僅深入了iOS編程的機(jī)制,而且也深入了編程方法和程序結(jié)構(gòu)的原因所在。非常完整?!?——Harold Schwab* *oreilly.com上的讀者評論

圖書封面

圖書標(biāo)簽Tags

評論、評分、閱讀與下載


    iOS 4 編程 PDF格式下載


用戶評論 (總計(jì)3條)

 
 

  •   內(nèi)容很充實(shí),也很全面,雖然比較基礎(chǔ),但是講到很多非?;A(chǔ)的技巧,推薦英文還可以的童鞋閱讀,就是書太厚了,我將它切成了7本,看完之后再合體的
  •   能看懂就好
  •   講解也許稍嫌繁瑣, 但是很細(xì)致, 對初學(xué)者非常適合。
 

250萬本中文圖書簡介、評論、評分,PDF格式免費(fèi)下載。 第一圖書網(wǎng) 手機(jī)版

京ICP備13047387號-7