mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-22 11:46:05 +08:00
Got rid of custom cell styling
This commit is contained in:
@@ -40,9 +40,7 @@
|
||||
[newButton addTarget:self action:@selector(addButtonWasPressed:) forControlEvents:UIControlEventTouchUpInside];
|
||||
[newButton setFrame:CGRectMake(0, 0, newButtonImage.size.width, newButtonImage.size.height)];
|
||||
|
||||
UIBarButtonItem* newItem = [[UIBarButtonItem alloc] initWithCustomView:newButton];
|
||||
self.navigationItem.rightBarButtonItem = newItem;
|
||||
[newItem release];
|
||||
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(addButtonWasPressed:)];
|
||||
}
|
||||
|
||||
- (void)addButtonWasPressed:(id)sender {
|
||||
|
||||
@@ -92,6 +92,3 @@ DEPENDENCIES
|
||||
rails (= 3.0.3)
|
||||
ruby-debug
|
||||
sqlite3-ruby
|
||||
|
||||
METADATA
|
||||
version: 1.0.6
|
||||
|
||||
Reference in New Issue
Block a user