VMViewControllerDataSource:VMViewControllerDataSource 类实现了一个专门的数据源对象,该对象呈现可重用的 UIViewController 对象而不是单元格对象-源码

上传者: 42097557 | 上传时间: 2021-06-22 15:05:03 | 文件大小: 35KB | 文件类型: ZIP
虚拟机控制器数据源 概述 VMViewControllerDataSource 类实现了一个专门的数据源对象,该对象呈现可重用的 UIViewController 对象而不是单元对象。 为了实现这一点,视图控制器数据源实现tableView:cellForRowAtIndexPath:或collectionView:cellForItemAtIndexPath: 。 使用视图控制器数据源创建的每一行或项目要么是一个VMViewControllerTableViewDataSourceCell要么是一个VMViewControllerCollectionViewDataSourceCell ,它具有附加到其子视图层次结构的视图控制器视图。 视图控制器数据源充当UITableView或UICollectionView数据源。 通过消息转发,您的视图控制器可以实现VMViewContro

文件下载

资源详情

[{"title":"( 41 个子文件 35KB ) VMViewControllerDataSource:VMViewControllerDataSource 类实现了一个专门的数据源对象,该对象呈现可重用的 UIViewController 对象而不是单元格对象-源码","children":[{"title":"VMViewControllerDataSource-master","children":[{"title":"Pod","children":[{"title":"Classes","children":[{"title":"VMViewControllerDataSource.h <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"TableView","children":[{"title":"VMViewControllerTableViewDataSource.h <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"VMViewControllerTableViewDataSourceCell.h <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"VMViewControllerDataSourceObject.h <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"VMViewControllerTableViewDataSourceCell.m <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"VMViewControllerTableViewDataSource.m <span style='color:#111;'> 4.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"CollectionView","children":[{"title":"VMViewControllerCollectionViewDataSource.h <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"VMViewControllerCollectionViewDataSource.m <span style='color:#111;'> 4.72KB </span>","children":null,"spread":false},{"title":"VMViewControllerCollectionViewDataSourceCell.m <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"VMViewControllerCollectionViewDataSourceCell.h <span style='color:#111;'> 439B </span>","children":null,"spread":false}],"spread":true},{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Example","children":[{"title":"Podfile.lock <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"Tests","children":[{"title":"en.lproj","children":[{"title":"InfoPlist.strings <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":true},{"title":"Tests-Info.plist <span style='color:#111;'> 698B </span>","children":null,"spread":false},{"title":"Tests.m <span style='color:#111;'> 205B </span>","children":null,"spread":false},{"title":"Tests-Prefix.pch <span style='color:#111;'> 159B </span>","children":null,"spread":false}],"spread":true},{"title":"VMViewControllerDataSource.xcodeproj","children":[{"title":"xcshareddata","children":[{"title":"xcschemes","children":[{"title":"VMViewControllerDataSource-Example.xcscheme <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 171B </span>","children":null,"spread":false}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 28.55KB </span>","children":null,"spread":false}],"spread":true},{"title":"VMViewControllerDataSource","children":[{"title":"VMTableExampleViewController.m <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"en.lproj","children":[{"title":"InfoPlist.strings <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":true},{"title":"main.m <span style='color:#111;'> 369B </span>","children":null,"spread":false},{"title":"VMColorViewController.h <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":"VMAppDelegate.m <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"VMCollectionExampleViewController.h <span style='color:#111;'> 291B </span>","children":null,"spread":false},{"title":"VMViewControllerDataSource-Info.plist <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"VMViewController.h <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"VMViewController.m <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"VMColorViewController.m <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"Images.xcassets","children":[{"title":"LaunchImage.launchimage","children":[{"title":"Contents.json <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false}],"spread":false},{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 826B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"VMCollectionExampleViewController.m <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"VMViewControllerDataSource-Prefix.pch <span style='color:#111;'> 344B </span>","children":null,"spread":false},{"title":"VMAppDelegate.h <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"VMTableExampleViewController.h <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":false},{"title":"Podfile <span style='color:#111;'> 261B </span>","children":null,"spread":false},{"title":"VMViewControllerDataSource.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 244B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 508B </span>","children":null,"spread":false},{"title":"VMViewControllerDataSource.podspec <span style='color:#111;'> 870B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明