iOS programming Delegation and Text Input】的更多相关文章

iOS programming Delegation and Text Input  1.1 Text Fields    CGRect textFieldRect = CGRectMake(40, 70, 240, 30);UITextField *textField = [[UITextField alloc] initWithFrame:textFieldRect]; // Setting the border style on the text field will allow us t…
iOS Programming UINavigationController the Settings application has multiple related screens of information: a list of settings (like Sounds), a detailed page for each setting, and a selection page for each detail. This type of interface is called a…
iOS Programming Controlling Animations 动画 The word "animation" is derived from a Latin word that means "the act of bringing to life." Animations are what bring your applications to life, and when used appropriately, they can guide your…
iOS Programming UIStoryboard In this chapter, you will use a storyboard instead. Storyboards are a feature of iOS that allows you to instantiate and lay out all of your view controllers in one XIB-like file. Additionally, you can wire up view control…
iOS Programming NSUserDefaults  When you start an app for the first time, it uses its factory settings. As you use it, a good app learns your preferences. Where are your preferences stored? Inside each app bundle there is a plist that holds the user'…
iOS Programming Localization 本地化 Internationalization is making sure your native cultural information is not hard-coded into your application. 国际化确保你的本土信息不是硬编码进你的应用. By cultural information, we mean language, currency, date formats, number formats, a…
iOS Programming State Restoration 状态存储 If iOS ever needs more memory and your application is in the background, Apple might kill it to return memory to the system. 如果iOS 需要更多的memory,你的应用在后台,apple 可能杀死它来得到更多的内存给系统. This should be transparent to your u…
iOS Programming Web Services and UIWebView The work is divided into two parts. The first is connecting to and collecting data from a web service and using that data to create model objects. The second part is using the UIWebView class to display web…
iOS Programming Dynamic Type  2       You will need to update two parts of this view controller for Dynamic Type: the rows of your table view will grow or shrink in response to the user changing the preferred text size, and the BNRItemCell will need…
iOS Programming Dynamic Type 1  Dynamic Type is a technology introduced in iOS 7 that helps realize this goal by providing specifically designed text styles that are optimized for legibility. Dynamic Type 是从iOS7引入的技术来帮助实现这个目标通过提供专门设计的text styles 为了优化…