开发者

Could InAppSettingsKit do this, or is there another library?

开发者 https://www.devze.com 2023-01-02 22:14 出处:网络
I\'m trying to implement a system whereby the user is initially presented with a single tablecell, in a uitableview (grouped style), within a uinavigationview.

I'm trying to implement a system whereby the user is initially presented with a single tablecell, in a uitableview (grouped style), within a uinavigationview.

  ---------------
+ | add record  |
  ---------------

When they click on the cell, they are pushed onto a new screen where they fill in a few textviews (perhaps imbedded in a tableview's cells)

  ---------------
  | (name)      |
  ---------------
  | (phone num) |
  ---------------

Then when they go back, they can see the new record as well as the 'add record' cell.

  ---------------
  | record  1   |
  ---------------
+ | add record  |
  ---------------

(When they go into record 1 again there would be a delete button)

Is there any sample code or libraries which would achieve this? What about InAppSettingsKi开发者_JAVA技巧t? It's more the presentation I'm concerned with. I can handle the saving of data myself.


The newest version of InAppSettingsKit includes IASKSettingsStore which allows you to use a different store instead of NSUserDefaults. For instance, you can store the settings in a plist. Combined with custom cells (IASKCustomViewSpecifier), you should be able to accomplish your task. Unfortunately, there's no complete sample code for this scenario yet. You're welcome to contribute, though ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消