Cocoa入门-objective-c的读书笔记3

第13,文件包和资源

关键点:

1、在mac系统当中,一共存在三种文件包,应用程序包,插件包,框架包。

2、使用包的方式是使用NSBundle类。


第14,本地化

关键点:

1、本地化字符串

2、本地化nib文件

第15,默认和偏好设置

关键点

1、访问和设置偏好设置,使用NSUserDefaults类

2、偏好设置的路径为~/资源库/Preference当中。

3、应用程序标识,他的一个作用就是将默认设置进行区分,以防止不同应用程序相互篡改默认设置。



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Get up to speed on Cocoa and Objective-C, and start developing applications on the iOS and OS X platforms. If you don’t have experience with Apple’s developer tools, no problem! From object-oriented programming to storing app data in iCloud, the fourth edition of this book covers everything you need to build apps for the iPhone, iPad, and Mac. You’ll learn how to work with the Xcode IDE, Objective-C’s Foundation library, and other developer tools such as Event Kit framework and Core Animation. Along the way, you’ll build example projects, including a simple Objective-C application, a custom view, a simple video player application, and an app that displays calendar events for the user. Learn the application lifecycle on OS X and iOS Work with the user-interface system in Cocoa and Cocoa Touch Use AV Foundation to display video and audio Build apps that let users create, edit, and work with documents Store data locally with the file system, or on the network with iCloud Display lists or collections of data with table views and collection views Interact with the outside world with Core Location and Core Motion Use blocks and operation queues for multiprocessing Table of Contents Chapter 1. Cocoa Development Tools Chapter 2. Object-Oriented Programming with Objective-C Chapter 3. Foundation Chapter 4. Applications on OS X and iOS Chapter 5. Graphical User Interfaces Chapter 6. Blocks and Operation Queues Chapter 7. Drawing Graphics in Views Chapter 8. Audio and Video Chapter 9. Model Objects and Data Storage Chapter 10. Cocoa Bindings Chapter 11. Table Views and Collection Views Chapter 12. Document-Based Applications Chapter 13. Networking Chapter 14. Working with the Real World Chapter 15. Event Kit Chapter 16. Instruments and the Debugger Chapter 17. Sharing and Notifications Chapter 18. Nonstandard Apps Chapter 19. Working with Text Chapter 20. iCloud Book Details Title: Learning Cocoa with Objective-C, 4th Edition Author: Jonathon Manning, Paris Buttfield-Addison,
本书助您轻松体验Cocoa开发,不仅是阅读,还有动手实践。介绍完Xcode和Interface Builder之后,您将很快接触到Objective-C的面向对象编程概念,它是创建Mac OS X应用程序的首选语言。 每章中都提供了不同的示例程序供您构建,通过循序渐进的指导来教给您Cocoa编程的基础。每章中学到的技巧都作为基础铺垫后面章节中介绍的更高级的技巧和概念。您将学到: ● 高效地用好苹果的开发工具套装,包括Xcode和Interface Builder ● 构建单一的和多窗口的基于文档架构的应用程序 ● 用Cocoa的文本处理能力操作文本数据 ● 用Cocoa来绘图 ● 本地化您的应用程序以支持多语言 ● 完善您的应用程序,添加用于Dock上的图标、提供帮助和打包发布。 在每章的结尾您将看到一些练习,挑战您改进刚创建的应用程序,或为早先的示例增添新功能。 尽管附录中提供了解决方案,但仍旧鼓励您通过自己尝试来学习。 本书最初由苹果公司的内部人员编写,并由James Duncan Davidson修订成新版,在译为中文版时又将内容更新至基于Mac OS X 10.5 Leopard版本。 本书包含了Cocoa框架的最新更新,还包括了便利的API速查参考卡,以及在附录中给出很多重要资源,对任何Cocoa开发人员无论初学者还是高手都很重要。 本书的范例源代码从这里下载: http://www.oreilly.com.cn/codeexample/learningCocoa2/ 访问网址超出本站范围,不能确定是否安全 继续访问 取消访问http://www.oreilly.com.cn/codeexample/learningCocoa2/ 参考网址: http://www.oreilly.com.cn/book.php?bn=978-7-5083-6561-9 访问网址超出本站范围,不能确定是否安全 继续访问 取消访问http://www.oreilly.com.cn/book.php?bn=978-7-5083-6561-9
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值