IOS
查理曼大帝
IBM 高级软件开发工程师, 十多年一线开发经验, 多年专注于企业级软件开发
展开
-
Know the Core Objects of Your App
Know the Core Objects of Your AppThe UIKit framework provides the infrastructure for all apps but it is your custom objects that define the specific behavior of your app. Your app consists of a hand转载 2013-12-11 23:33:36 · 1497 阅读 · 0 评论 -
Apple 官方教程:App Development Process
Although the task of developing an app may seem daunting, the process can be distilled into several digestible steps. The steps that follow will help you get started and guide you in the right directi转载 2014-01-04 15:09:00 · 1288 阅读 · 0 评论 -
iphone开发中 TextField如何按return 让键盘消失
iOS开发中,iphone 的键盘比iOS 少了一个让键盘消失的按键,所以,在TextField 中输入内容后,键盘并不会自动消失,需要额外处理。怎么处理呢? 原理呢,是ios的FirstRespond机制,当TextField成为FirstRespond时,键盘出现;当把FirstRespond转移到ViewController或窗体,TextField失去FirstRespond时,键盘原创 2014-01-03 21:12:48 · 26369 阅读 · 0 评论 -
Apple 官方教程:Designing a User Interface
Views are the building blocks for constructing your user interface. It’s important to understand how to use views to present your content in a clear, elegant, and useful way. Creating a great user i转载 2014-01-04 15:09:57 · 1027 阅读 · 0 评论 -
iOS 官方开发教程 HelloWorld (四)实施视图控制器
实施视图控制器实施视图控制器包括这几部分:为用户姓名添加属性,实施 changeGreeting: 方法,确保用户轻按“Done”时键盘消失。为用户姓名添加属性您需要为保存用户姓名的字符串添加属性声明,这样您的代码就总能引用该字符串。因为此属性必须是公共的,即对客户端和子类为可见,所以须将此声明添加到视图控制器的头文件,即 HelloWorldViewController.转载 2014-01-03 20:48:59 · 1569 阅读 · 2 评论 -
iOS 官方开发教程 HelloWorld (三)配置视图
配置视图Xcode 提供了对象库,您可以将库中的对象添加到串联图文件。其中的一些对象属于视图中的用户界面元素,例如按钮和文本栏。其他对象为高级对象,例如视图控制器和手势识别器。“Hello World View Controller”场景已经包含了一个视图。现在需要添加一个按钮、一个标签和一个文本栏。然后,在这些元素和视图控制器类之间建立连接,以便元素提供您想要的行为。转载 2014-01-03 18:38:54 · 1875 阅读 · 0 评论 -
iOS 官方开发教程 HelloWorld (二)检查视图控制器及其视图
正如先前所学习的,一个视图控制器负责管理一个场景,而一个场景代表一个内容区域。在该区域中看到的内容,是在视图控制器的视图中定义的。在本章中,您可以更仔细地查看由 HelloWorldViewController 所管理的场景,并学习如何调整视图的背景颜色。使用检查器来检查视图控制器应用程序启动时,载入主串联图文件,然后实例化初始视图控制器。初始视图控制器管理用户打开应用程序时看到的转载 2014-01-03 18:02:14 · 1439 阅读 · 0 评论 -
iOS 官方开发教程 HelloWorld (一)
立即开始要创建本教程中的 iOS 应用程序,您需要 Xcode 4.3 或更高版本。Xcode 是 Apple 的集成开发环境(又称 IDE),用于 iOS 和 Mac OS X 的开发。在 Mac 上安装 Xcode,也会同时安装了 iOS SDK,它包含 iOS 平台的编程接口。创建和测试新项目要着手开发应用程序,请创建一个新 Xcode 项目。创建新项转载 2014-01-02 11:08:10 · 5604 阅读 · 0 评论 -
ios教程开发 合集~ 从此不上ios培训班
[课程] IOS开发入门教程更多中文ios教程: -》 好知网IOS开发课程合集 或者 更多课程 -》http://www.howzhi.com/search?q=ios Creating iOS apps is fun and rewarding,...http://www.howzhi.com/course/IOS_beginning/[课程] iOS第一个程序:hello,w转载 2013-12-16 22:35:35 · 2390 阅读 · 0 评论 -
IOS中如何限制TextField中输入的类型以及长度
在ViewController中添加如下代码: -(BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string{ // Check for non-numeric characters NSUIn原创 2013-12-15 10:28:02 · 16707 阅读 · 0 评论 -
Apple 官方教程:Defining the Interaction
After you lay out your user interface, you need to let users interact with it. This is where controllers come in.Controllers support your views by responding to user actions and populating the views转载 2014-01-04 15:12:12 · 1352 阅读 · 0 评论