NSArray does not guarantee that you can only store one copy of a given object, so you have to make sure that you handle that yourself (or use NSOrderedSet). That said, there are a couple approaches here. If your category objects implement isEqual: to match category_title, then you can just


you want to hide Status Bar in your app , Follow this steps : Step 1 : Step 2: Add to your appDelegate didFinishLaunchingWithOptions function application.statusBarHidden = YES; so : - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { application.statusBarHidden = YES; } Step 3: if statusBar is not hidden ,then - (BOOL)prefersStatusBarHidden


Turn off ARC for this project. This is done by setting 'Objective-C Automatic Reference Counting' to NO in the 'Build Settings' tab of your target in the project page


POD Install [ 1 ] Open terminal and type: sudo gem install cocoapods   [ 2 ] After installation, there will be a lot of messages, read them and if no error found, it means cocoapods installation is done. Next, you need to setup the cocoapods master repo. Type in