Can I use InAppSettings with core data instead of plist?

狂风中的少年 提交于 2019-12-11 23:48:17

问题


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

回答1:


Should be possible with InAppSettingsKit by writing your own IASKSettingsStore.



来源:https://stackoverflow.com/questions/5520395/can-i-use-inappsettings-with-core-data-instead-of-plist

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!