上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: Reviewing the CodeIf you have trouble getting your app to work correctly, compare your code with the listings shown at the end of this chapter and review your action and outlet connections.如果你的应用程序运行不正确,重新对照本章结尾处的代码列表,审查你的动作(action)和接口(outlet)连接是否正确。Code and Compiler Warnings代码 和编译器警告(Warnings)Your 阅读全文
posted @ 2013-06-03 11:40 cainiaozhang 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Adding PolishPresentation is a critical component of a successful MacOSX app. Although the app behaves “correctly” now, there are a couple more changes you can make to improve the overall polish.演示是一个成功的Mac OS X应用程序的重要组成部分。尽管应用程序现在能很正确地(correctly)运行,但是我们还能做更多改变来使应用更完美。Add a Number Formatter添加数字格式化If 阅读全文
posted @ 2013-06-02 17:27 cainiaozhang 阅读(275) 评论(0) 推荐(0) 编辑
摘要: Implementing Action Methods实现动作方法The app delegate’s action methods need to synchronize the audio track volume that the user sets in one UI element with the values displayed by other UI elements. When the user clicks the Mute button, the track volume displayed by the text field and slider should be s 阅读全文
posted @ 2013-06-02 16:01 cainiaozhang 阅读(240) 评论(0) 推荐(0) 编辑
摘要: Adding a Track Object添加一个Track对象In this app, there are two custom classes that contain application logic. The Xcode template provided anAppDelegateclass and created an instance of it in the nib file for you. When you made connections between the UI elements and the app delegate, you added custom cod 阅读全文
posted @ 2013-06-01 10:43 cainiaozhang 阅读(477) 评论(0) 推荐(0) 编辑
摘要: Configuring the Window(设置窗口)Xcode provides a library of objects that you can add to a window or view. The TrackMix app already contains a window—now you need to add a text field, slider, and button. Then, you make connections between these elements and your classes, and implement the behavior you wa 阅读全文
posted @ 2013-05-31 09:44 cainiaozhang 阅读(788) 评论(0) 推荐(0) 编辑
摘要: Getting Started(开始)To create the Mac app in this tutorial, you need Xcode 4.4 or later. Xcode is Apple’s integrated development environment (or IDE) for both OS X and iOS development.本教程要求Xcode4.4或以上版本。Xcode 是 苹果公司的集成开发环境(IDE),用来开发OS X 和 iOS。Create and Test a New Project创建 和 测试 一个新项目To get started d 阅读全文
posted @ 2013-05-30 14:55 cainiaozhang 阅读(531) 评论(0) 推荐(0) 编辑
摘要: Back to Jump Right InAbout Creating Your First Mac App关于创建你的第一个Mac 应用Your First Mac Appintroduces you to the Three Ts of Mac app development:Your First Mac App 介绍了Mac 应用开发的3个T:Tools. How to use Xcode to create and manage a project工具 -- 如何用Xcode创建和管理一个工程Technologies. How to create an app that respond 阅读全文
posted @ 2013-05-29 15:18 cainiaozhang 阅读(694) 评论(0) 推荐(0) 编辑
摘要: Jump Right InTo make a great Mac app, you need to learn and do many things, but the tools make it easy to get a simple app up and running. The tutorialYour First Mac Appintroduces the tools, the fundamental design patterns, and the application development process. As you follow the tutorial, you cre 阅读全文
posted @ 2013-05-29 11:57 cainiaozhang 阅读(284) 评论(0) 推荐(0) 编辑
摘要: Set UpWhen you develop apps, you use Xcode, Apple’s integrated development environment (IDE). Xcode provides everything you need to create great Mac apps. It includes a source editor, a graphical user interface editor, and many other features. Xcode employs a single window, called theworkspace windo 阅读全文
posted @ 2013-05-29 11:34 cainiaozhang 阅读(254) 评论(0) 推荐(0) 编辑
摘要: Start Developing Mac Apps TodayDo you want to create a great Mac app but don’t know where to begin? This road map provides the perfect starting point for Mac app development, even if you’re an expert iOS developer. Apple makes it easy to create apps and distribute them through the Mac App Store. Fol 阅读全文
posted @ 2013-05-29 08:39 cainiaozhang 阅读(523) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 下一页