我可以将 InAppSettings 与核心数据一起使用而不是 plist 吗?
我可以使用 InAppSettings 作为使用表格视图样式(圆角边缘)添加/编辑设置的方法吗等),但是一旦收集完毕,就使用收集到的数据保存到我的核心数据存储中/从我的核心数据存储中保存?也就是说,假设我已经拥有核心数据核心,我将使用 InAppSettings 作为本质上实现数据收集屏幕的手段。
这对于 InAppSettings 可能/有意义吗?
看待这个问题的另一种方式是,是否值得尝试将 InAppSettings 集成到我的 coredata 应用程序中,作为获得带有圆边的漂亮维护屏幕以及 iPhone 设置应用程序外观和感觉的一种手段。
背景 - 我的应用程序中的用户可以创建多个视图配置(只要他们愿意)。所以我的想法是 InAppSettings 是否可以用于单视图配置的维护屏幕。配置数据的布局大致如下:
- Items (NSArray) // 多个可能的视图
- Item (NSDictionary) // 可以在appsettingskit中从这里捕获数据吗?传回我的 Objective-C 调用方法 - 然后我可以将其保存到 coredata
- aString: NSString
- aString2:NSString
- 日期:NSDate
- aDate2:NSDate
- aBool: BOOL
- aTI1:NSTimeInterval
- aTI2:NSTimeInterval
- 关键字 (NSMutableArray)
- 关键字:NSString
- 关键字:NSString
- Item (NSDictionary) // 可以在appsettingskit中从这里捕获数据吗?传回我的 Objective-C 调用方法 - 然后我可以将其保存到 coredata
Could I use InAppSettings as a means to add/edit settings with the tableview style (rounded edges etc), but then once collected use the collected data to persist to/from my core data store? That is, assuming I already have the core data core in place I would be using InAppSettings as a means to implement the data collection screens essentially.
Is this possible / make sense for InAppSettings?
Another way of looking at the question is whether it is worth trying to integrate InAppSettings into my coredata app as a means to get the nice maintenance screens with rounded edges and the iphone settings app look and feel.
Background - A user in my app can create several view configurations (as many as they wish). So my thought was whether InAppSettings could be used for the maintenance screens for one view configuration. The layout of the config data would be roughly like:
- Items (NSArray) // Multiple possible views
- Item (NSDictionary) // Could inappsettingskit capture data from here down & pass back to my objective-c calling method - then I could persist it to coredata
- aString: NSString
- aString2: NSString
- aDate: NSDate
- aDate2: NSDate
- aBool: BOOL
- aTI1: NSTimeInterval
- aTI2: NSTimeInterval
- Keywords (NSMutableArray)
- keyword: NSString
- keyword: NSString
- Item (NSDictionary) // Could inappsettingskit capture data from here down & pass back to my objective-c calling method - then I could persist it to coredata
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
应该可以通过编写您自己的
IASKSettingsStore
来使用 InAppSettingsKit。Should be possible with InAppSettingsKit by writing your own
IASKSettingsStore
.