Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove empty lines from Xcode project

I have a very long Xcode project it has many empty lines which make vey difficult for me to navigate through the project.Is there any short key to remove empty lines from selected code?

 [inboxmessagesarray removeAllObjects];
    [checkimageArray removeAllObjects];


    NSMutableDictionary *callDict =[[NSMutableDictionary alloc] init];


    [callDict setObject:@"messages-getModuleMessages" forKey:@"call"];
    [callDict setObject:FB_API_KEY forKey:@"accessSecret"];
    NSString *x=[FBUserManager sharedUserManager].authToken;
    [callDict setObject:x forKey:@"authToken"];
    [callDict setObject:@"json" forKey:@"format"];

    [callDict setObject:@"archived" forKey:@"callType"];


    FBGenericWebHandler *handler = [[FBGenericWebHandler alloc] init];
    handler.delegate = self;
    [handler ArchivesMessages:callDict];
    handler = nil;
   [SVProgressHUD showWithStatus:@"Loading"];
like image 651
Logic Avatar asked Jan 19 '15 09:01

Logic


1 Answers

You installed ClangFormat-Xcode plugin in your Xcode. remove Unnecessary space from code in your project.

Download : ClangFormat-Xcode

See Below :

enter image description here

like image 174
Kirit Modi Avatar answered Nov 11 '22 10:11

Kirit Modi