brunow / basekit Goto Github PK
View Code? Open in Web Editor NEWBaseKit is a set of IOS class to make your life easier.
Home Page: https://twitter.com/brunowernimont
License: Apache License 2.0
BaseKit is a set of IOS class to make your life easier.
Home Page: https://twitter.com/brunowernimont
License: Apache License 2.0
Currently, BKTableModel use UITableViewController instead of UIViewController. I create table automatically using UITableView.
Today when I do a 'pod install' on one of my projects with BaseKit as a dependency, BaseKit gets omitted from the install. This did not happen last week though. I am not really sure what happens. I have tried it with a brand new project. Same problem. Any advice please?
Thanks,
Norsez
This is missing from BKManagedTableModel.
Hi there
The LocationManager with blocks work beautifully, but when i analyze the app, it shows there might be a potential leak in line 54 of BKLocationManager.m
return [[self alloc] init];
I wonder if this is a false error, or is it safe to change it to [[[self alloc] init]autorelease]
Thanks
please add reloadRowsAtIndexPaths to below case:
(void)controller:(NSFetchedResultsController *)controller
didChangeObject:(id)anObject
atIndexPath:(NSIndexPath *)indexPath
forChangeType:(NSFetchedResultsChangeType)type
newIndexPath:(NSIndexPath *)newIndexPath {
UITableView *tableView = self.tableView;
switch(type) {
case NSFetchedResultsChangeUpdate:
[self cellForRowAtIndexPath:indexPath];
[tableView reloadRowsAtIndexPaths:[tableView indexPathsForVisibleRows]
withRowAnimation:UITableViewRowAnimationNone];
break;
}
}
The new image is not replaced when row is selected. The following block has been executed as expected.
[cellMapping onSelectRowWithBlock:^(UITableViewCell cell, Item *item, NSIndexPath *indexPath) {
UIImageView accessoryView = (UIImageView *)cell.accessoryView;
UIImage *newImage = [UIImage imageNamed:@"Images/unchecked.png"];
[accessoryView setImage:newImage];
}];
Change to Kiwi testing and add more test
I bought the domain basekit-framework.org, so build a simple website that introduce the project and store the documentation (appledoc)
Build an object mapper similar to RestKit. But instead of write own CoreData and network classes, use MagicalRecord and AFNetworking.
Add more doc
Hi, @brunow and @zwaldowski
Both repo has a macro file named BKMacros.h, so there will be a build time error when I include them in my project. Is there any config trigger to avoid it?
Configuration will be similar to cell mapping. With any object you would be able to create a table view with form fields.
If I have no image locally, and want to load image from Url. What can I do to assign the image in cell mapping's block?
[BKDynamicCellMapping mappingForObjectClass:[Item class] block:^(BKDynamicCellMapping *cellMapping) {
[cellMapping mapKeyPath:@"imageUrl" toAttribute:@"imageView.image" valueBlock:^id(NSString *url) {
// how to load image async here and assign to uiimage view
}];
}];
Build a script that generate appledoc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.