05 2015 档案

摘要:TheUIApplicationclass provides a centralized point of control and coordination for apps running on iOS. Every app must have exactly one instance ofUIA... 阅读全文
posted @ 2015-05-31 22:22 baaingSheep 阅读(154) 评论(0) 推荐(0)
摘要:AUIAlertControllerobject displays an alert message to the user. This class replaces theUIActionSheetandUIAlertViewclasses for displaying alerts. After... 阅读全文
posted @ 2015-05-31 17:44 baaingSheep 阅读(155) 评论(0) 推荐(0)
摘要:override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { //所有Segue被调用的时候都会触发这个函数 // 可以根据Segue 的 Identifier 来区别} if let index ... 阅读全文
posted @ 2015-05-30 16:25 baaingSheep 阅读(133) 评论(0) 推荐(0)
摘要:func textFieldShouldReturn(textField: UITextField) -> Bool { textField.resignFirstResponder() //由于delegate 的原因 所有方法跟delegate都是相对的 ... 阅读全文
posted @ 2015-05-30 16:04 baaingSheep 阅读(365) 评论(0) 推荐(0)