![](https://img-blog.csdnimg.cn/20190918140145169.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
编程语言ios
iOS开发语言主要包括:C语言基础、Obiective-C编程、Swift、UIKit框架详解这几大块
路途…
Reading is a long investment.During this process, find the entertainment and enjoy life while treasure the present to compound interest.
展开
-
【iOS学习】Actions and Outlets
IBOutlet 官方文档 中对其定义是: An outlet is a property of an object that references another object. IBOutlet 是一个对象属性,用于引用另一个对象。但为什么要额外添加这个修饰符呢?@property 不就是声明一个属性了吗?继续往下看: The reference is archived thro...转载 2019-05-01 14:43:44 · 258 阅读 · 0 评论 -
【iOS学习】Cocoa
Cocoa is a development API native to the Mac OS X operating system. Cocoa Touch is the closely-related analogous platform for the iOS. It is written in Objective-C, and acts as a sort of “top layer” t...转载 2019-05-01 14:43:36 · 359 阅读 · 0 评论 -
【swift】数组
Swift 数组 Swift 数组使用有序列表存储同一类型的多个值。相同的值可以多次出现在一个数组的不同位置中。 Swift 数组会强制检测元素的类型,如果类型不同则会报错,Swift 数组应该遵循像Array<Element>这样的形式,其中Element是这个数组中唯一允许存在的数据类型。 如果创建一个数组,并赋值给一个变量,则创建的集合就是可以修改的。这意味着在创建数组后,...转载 2019-05-01 14:43:30 · 225 阅读 · 0 评论 -
【iOS】使用xib自定义UITableViewCell
你可以使用xib,推荐使用,创建cell,同时创建Xib即可,xib上面可以自定义布局 // 注册nib tableView.registerNib(UINib(nibName: "nibName", bundle: mainBundle), forCellReuseIdentifier: "cellIdentifier"); // 注册类 tableView.registerClass(Ta...原创 2019-05-01 14:43:23 · 1108 阅读 · 0 评论 -
【iOS】coredata
转载:http://www.cocoachina.com/ios/20180130/22058.html 类比 JPA思想 目录 一、 图形化创建模型 二、 手动创建模型并实现AppDelegate中的代码 三、 创建并实现CoreDataManager 一、图形化创建模型(这一小节的内容我的另一篇文中也有,如已经熟悉,或想要直接手动创建模型,可以直接看第二小节正式进入S...转载 2019-05-01 14:45:09 · 323 阅读 · 0 评论 -
【iOS】awakeFromNib()
Prepares the receiver for service after it has been loaded from an Interface Builder archive, or nib file. func awakeFromNib() Discussion The nib-loading infrastructure sends anawakeFromNibmess...转载 2019-05-01 14:45:37 · 465 阅读 · 0 评论 -
【iOS】 navigation
转载:http://ios.idup.club/app/8-Implement-navigation/ 添加一个向前导航 现在需要添加meal list到meal scene的导航 增加一个navigation controller指向meal list scene 打开storyboard,点击scene dock来选择table view controller,保持选择状态依次点击Ed...转载 2019-05-01 14:44:43 · 278 阅读 · 0 评论 -
【iOS】Use segues
Use segues to define the flow of your app’s interface. Aseguedefines a transition between two view controllers in your app’s storyboard file. The starting point of a segue is the button, table row, ...转载 2019-05-01 14:44:36 · 264 阅读 · 0 评论 -
【iOS】NSEntityDescription
A description of an entity in Core Data. Declaration class NSEntityDescription : NSObject Overview Entities are to managed objects whatClassis toid, or—to use a database analogy—what tables a...转载 2019-05-01 14:44:27 · 345 阅读 · 0 评论 -
【xcode】查看swift ios 版本
打开终端,使用命令: xcrun swift -version xcodebuild -showsdks原创 2019-04-26 10:27:47 · 974 阅读 · 0 评论 -
【iOS学习】UITabBarController
alertView prompt let alertView : UIAlertController = UIAlertController(title: "~~您已成功加入购物车耶耶~~", message: titleaddprice, preferredStyle: .alert) let okaction : UIAlertAction = UIAlertAction(t...转载 2019-05-01 14:44:51 · 302 阅读 · 0 评论 -
【iOS学习】UIStoryboard
UIStoryboard An encapsulation(封装)of the design-time view controller graph represented in an Interface Builder storyboard resource file. On This Page Declaration Overview Topics Relationships Se...转载 2019-05-01 14:45:16 · 238 阅读 · 0 评论 -
【iOS学习】Access Control
Access Control Access controlrestricts access to parts of your code from code in other source files and modules. This feature enables you to hide the implementation details of your code, and to spec...转载 2019-05-01 14:45:23 · 441 阅读 · 0 评论 -
【ios学习】Swift Introduce
Document:https://numbbbbb.gitbooks.io/-the-swift-programming-language-/ From:https://www.airpair.com/swift/complete-guide-to-swift#4-app-flow-structure Foreache Detail Functionhttp://www.runoob.com...原创 2019-05-01 14:45:56 · 443 阅读 · 0 评论 -
【ios学习】Building an iOS application
From:https://www.airpair.com/swift/building-swift-app-tutorial 1 Introduction Swift has taken the Apple developer world by storm since its announcement at WWDC 2014. With Swift being such a new lang...转载 2019-05-01 14:41:05 · 285 阅读 · 0 评论 -
【ios学习】UIViewController
UIViewController An object that manages a view hierarchy for your UIKit app. On This Page Declaration Overview Topics Relationships See Also Declaration class UIViewController : UIResponder ...转载 2019-05-01 14:45:03 · 242 阅读 · 0 评论 -
【ios学习】UITableViewDelegate
UITableViewDelegate Methods for managing selections, configuring section headers and footers, deleting and reordering cells, and performing other actions in a table view. On This Page Declaration ...转载 2019-05-01 14:44:10 · 351 阅读 · 0 评论 -
【iOS学习】UITableViewDataSource
UITableViewDataSource The methods adopted by the object you use to manage data and provide cells for a table view. On This Page Declaration Overview Topics Relationships See Also Declaration ...转载 2019-05-01 14:44:02 · 227 阅读 · 0 评论 -
【iOS】NSFetchRequest
A description of search criteria used to retrieve data from a persistent store. class NSFetchRequest<ResultType> : NSPersistentStoreRequest where ResultType : NSFetchRequestResult Overview ...转载 2019-05-01 14:44:20 · 429 阅读 · 0 评论