Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/federicocappelli/fccollectioneditor
The Collection editor view controller is a fast and ready to use recursive way to edit many Collection types provided by Foundation framework.
https://github.com/federicocappelli/fccollectioneditor
Last synced: 2 days ago
JSON representation
The Collection editor view controller is a fast and ready to use recursive way to edit many Collection types provided by Foundation framework.
- Host: GitHub
- URL: https://github.com/federicocappelli/fccollectioneditor
- Owner: federicocappelli
- License: mit
- Created: 2015-05-20T15:30:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-21T10:55:51.000Z (over 9 years ago)
- Last Synced: 2023-03-22T20:10:51.916Z (over 1 year ago)
- Language: Objective-C
- Size: 375 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
#FCCollectionEditor
FCCollectionEditor view controller is a fast and ready to use recursive way to edit many Collection types provided by Foundation framework.## Screenshots:
## Foundation classes supported (+mutable versions):
* NSArray
* NSDictionary
* NSSet
* NSNumber
* NSStringFunctions: edit and delete values
## How to use:
Have a look to the **FCCollectionEditorSample** provided.## Steps
1. import "FCCollectionEditorViewController.h"
2. Implement FCCollectionEditorDelegate
3. Create and push the FCCollectionEditor```
NSDictionary * dataModel = @{
@"Name":@"Federico Cappelli",
@"Age":@(31),
@"Boolean":@(YES),
@"A Dictionary" : @{@"key 1":@(1), @"Key 2":@"value 2"},
@"An Array" : @[@"A",@"B",@"C",@"D",@"E"],
@"A Set": [NSSet setWithObjects:@"Obj 1",@"Obj 2",@"Obj 3",@"Obj 4", nil] ,
}FCCollectionEditorViewController * vc = [[FCCollectionEditorViewController alloc] init];
[vc setDataModelObject:dataModel];
vc.delegate = self;
[self.navigationController pushViewController:vc animated:YES];
```
## TODO:
- Add NSOrderedSet support
- Implement edit capabilities for dictionary's keys