mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-28 20:55:32 +08:00
Ensure the stars for all pointers belong to the variable rather than the type. Refs #614
This commit is contained in:
@@ -11,4 +11,4 @@
|
||||
#import <RestKit/CoreData.h>
|
||||
|
||||
// Import the base URL defined in the app delegate
|
||||
extern NSURL* gRKCatalogBaseURL;
|
||||
extern NSURL *gRKCatalogBaseURL;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface RootViewController : UITableViewController <UITableViewDelegate, UITableViewDataSource> {
|
||||
NSArray* _exampleTableItems;
|
||||
NSArray *_exampleTableItems;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
|
||||
}
|
||||
|
||||
NSString* exampleName = [_exampleTableItems objectAtIndex:indexPath.row];
|
||||
NSString *exampleName = [_exampleTableItems objectAtIndex:indexPath.row];
|
||||
cell.textLabel.text = exampleName;
|
||||
|
||||
return cell;
|
||||
@@ -67,9 +67,9 @@
|
||||
[RKClient setSharedClient:nil];
|
||||
[RKObjectManager setSharedManager:nil];
|
||||
|
||||
NSString* exampleName = [_exampleTableItems objectAtIndex:indexPath.row];
|
||||
NSString *exampleName = [_exampleTableItems objectAtIndex:indexPath.row];
|
||||
Class exampleClass = NSClassFromString(exampleName);
|
||||
UIViewController* exampleController = [[exampleClass alloc] initWithNibName:exampleName bundle:nil];
|
||||
UIViewController *exampleController = [[exampleClass alloc] initWithNibName:exampleName bundle:nil];
|
||||
if (exampleController) {
|
||||
[self.navigationController pushViewController:exampleController animated:YES];
|
||||
if (exampleController.title == nil) {
|
||||
|
||||
Reference in New Issue
Block a user