摘要:
转自:Objective-C中的instancetype和id关键字一、什么是instancetype同id一样,都是表示未知类型的的对象。二、关联返回类型(related result types)根据Cocoa的命名规则,满足下述规则的方法:1、类方法中,以alloc或new开头2、实例方法中,... 阅读全文
摘要:
背景知识每个表都是UITableView的实例,表中的每一行都是UITableViewCell的实例。TableView的种类Grouped tablePlain table without indexPlain table with indexNSIndexPathNSIndexPath.sect... 阅读全文
摘要:
配置应用级别的旋转方向——Global Setting方法:点击项目-General-Deployment-Device OrientationIt doesn’t necessarily mean that every view in your application will use all o... 阅读全文