BaseKit is a set of IOS class to make your life easier.
CellMapping and FormMapping is removed from BaseKit, because it's too big to maintain. CellMapping is now called TableKit.m and FormMapping is called FormKit.m.
You have two way to do that
- Copying files.
- Install using CocoaPods.
Add Code dir or pick library that you need inside Code/*.
dependency 'BaseKit/Core', '~> 0.2.5'
dependency 'BaseKit/View', '~> 0.2.5'
dependency 'BaseKit/CellMapping', '~> 0.2.5'
dependency 'BaseKit/LocationManager', '~> 0.2.5'
dependency 'BaseKit/FormField', '~> 0.2.5'
dependency 'BaseKit/FormMapping', '~> 0.2.5'
Create iPhone and iPad IOS FORM with BaseKit
UITableView Dynamic cell mapping like Restkit
Perform operation in background.
[BKOperationHelper performBlockInBackground:^{
// Do your operation in background
} completion:^{
// Update UI in main queue
}];
Iteration.
[BKIteratingHelper iterateTil:4 usingBlock:^(int number) {
NSLog(@"%d", number);
}];
Present modal view controller with block.
[self presentModalViewControllerWithBlock:^UIViewController *{
return [[AnyViewController alloc] init];
} animated:YES];
Push view controller with block.
[self.navigationController pushViewControllerWithBlock:^UIViewController *{
return [[AnyViewController alloc] init];
} animated:YES];
Cell mapping has moved to TableKit.m.
Form mapping has moved to FormKit.m.
Easy to use CoreLocation manager with block or default delegate.
BKLocationManager *manager = [BKLocationManager sharedManager];
[manager setDidUpdateLocationBlock:^(CLLocationManager *manager, CLLocation *newLocation, CLLocation *oldLocation) {
NSLog(@"didUpdateLocation");
}];
[manager setDidFailBlock:^(CLLocationManager *manager, NSError *error) {
NSLog(@"didFailUpdateLocation");
}];
[manager startUpdatingLocationWithAccuracy:kCLLocationAccuracyHundredMeters];
BaseKit is fully compatible out of box with both ARC and non-ARC project.
-
2012/06/02 (0.2.4)
- Fix FormMapping value saving bug
-
2012/05/17 (0.2.3)
- Fix cell mapping editing style bug
-
2012/05/12 (0.2)
- Added LocationManager
- Added FormField
- Added FormMapping
-
2012/01/29 (0.1)
- Initial release.
If you use BaseKit I'll be happy to add your app name here.
Bruno Wernimont