I have this case where I just Call the init of Class I made this class is subclass of NSObject.
- (instancetype)initArray
{
self = [super init];
if (self) {
//Do Some Logic
}
return self;
}
This is my Call from the App Delegate
CategoryLoader *categoryLoader = [[CategoryLoader alloc]initArray];
Whats driving me crazy is that:
- Although it returns nil it goes into the if condition
- It doesn't return nil on other computer with other Xcode
Please note that both Xcode's are 6.3
Solutions i tried:
- Cleaned Cache of Xcode
- Deleted the class and created a new one
- Reinstalled Xcode
Here is a Screenshot of whats happening:

Any suggestions why could it be returning nil from NSObject and what can i do next ?
Thank you