Got rid of custom cell styling

This commit is contained in:
daniel
2011-01-21 15:55:45 -05:00
parent 20747ffa27
commit 6422ac57d6
2 changed files with 1 additions and 6 deletions

View File

@@ -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 {

View File

@@ -92,6 +92,3 @@ DEPENDENCIES
rails (= 3.0.3)
ruby-debug
sqlite3-ruby
METADATA
version: 1.0.6