摘要: Anatomy of a Constraint剖析约束The layout of your view hierarchy is defined as a series of linear equations. Each constraint represents a single equation.... 阅读全文
posted @ 2015-12-29 21:02 cainiaozhang 阅读(688) 评论(1) 推荐(1) 编辑
摘要: 1. 在项目里面创建一个InfoPlist.strings 文件2. 到PROJECT---Info---Localizations下面添加你想要添加的语言3. 在InfoPlist.strings文件里添加代码: CFBundleDisplayName="应用名称"; 阅读全文
posted @ 2015-12-29 10:07 cainiaozhang 阅读(314) 评论(0) 推荐(0) 编辑
摘要: Auto Layout Without Constraints没有约束的自动布局Stack views provide an easy way to leverage the power of Auto Layout without introducing the complexity of con... 阅读全文
posted @ 2015-12-22 20:45 cainiaozhang 阅读(1188) 评论(0) 推荐(1) 编辑
摘要: Understanding Auto Layout理解自动布局Auto Layout dynamically calculates the size and position of all the views in your view hierarchy, based on constraints ... 阅读全文
posted @ 2015-12-21 20:30 cainiaozhang 阅读(586) 评论(0) 推荐(1) 编辑
摘要: mac里设置环境变量1---在用户当前目录下面的.bash_profile文件内;若是没有该文件,则直接创建一个。2----往.bash_profile文件内,添加环境变量 1)可以在编辑器里打开该文件,直接添加类似如下命令: export ANDROID_SDK_HOME= ex... 阅读全文
posted @ 2015-09-08 17:48 cainiaozhang 阅读(1296) 评论(1) 推荐(0) 编辑
摘要: IntroductionIn-App Purchase is an Apple technology that allows your users to purchase content and services from within your app. You set up In-App Pur... 阅读全文
posted @ 2015-05-12 11:18 cainiaozhang 阅读(502) 评论(0) 推荐(0) 编辑
摘要: Adding In-App Purchase to your iOS and OS X ApplicationsIn-App Purchase allows you to sell additional features and functionality from within your iOS ... 阅读全文
posted @ 2015-05-12 10:23 cainiaozhang 阅读(554) 评论(0) 推荐(0) 编辑
摘要: Preparing for App ReviewAfter you finish testing, you’re ready to submit your app for review. This chapter highlights a few tips to help you through t... 阅读全文
posted @ 2015-05-11 15:52 cainiaozhang 阅读(585) 评论(0) 推荐(0) 编辑
摘要: About Objective-CObjective-C is the primary programming language you use when writing software for OS X and iOS. It’s a superset of the C programming ... 阅读全文
posted @ 2015-04-25 20:49 cainiaozhang 阅读(578) 评论(0) 推荐(0) 编辑
摘要: Configuring Your Xcode Project for DistributionYou can edit your project settings anytime, but some settings are necessary during development. Others ... 阅读全文
posted @ 2015-04-18 17:49 cainiaozhang 阅读(939) 评论(2) 推荐(0) 编辑