#pragma mark not listing the first group name
I'm using #pragma mark for grouping my methods under certain categories. But the issue is in Xcode 4 my first category is not displaying. My code looks like: @interface MyClass : NSObject #pragma mark - #pragma mark Category 1 //Some method declaration #pragma mark - #pragma mark Category 2 //Some method declaration #pragma mark - #pragma mark Category 3 //Some method declaration @end But when I check on Xcode It displays only Category 2 and Category 3. Category 1 is not listed there, please check the Image Is there any issue in my code or is it a bug in XCode ? Yes it is a Bug here. But you