Conversation
There was a problem hiding this comment.
Style: there should be a space between the property attributes and the type
@property(nonatomic) CQCategory *category;
// ^|
Looks great overall! I think this is the right architecture. Style-wise, make sure to keep your vertical and horizontal spacing consistent, and think about removing the default/empty method implementations. |
There was a problem hiding this comment.
Two comments here. First, when you're overriding methods like viewDidLoad or viewDidAppear:, you should always call the super implementation first:
[super viewDidAppear:animated];
//...That way, you'll run the code in the superclass's implementation of this method, and then your code.
Second, you probably noticed that after you select an option in the detail view and then go back, there's a delay before any changes are reflected in the master table view. If you wanted the change to be more instantaneous, you could create a delegate property on your detail view controller and set it to self when preparing to segue from the master to the detail controller, and send a message to the master controller whenever an option was selected indicating that it should reload its table view.
No description provided.