Wen 07/20/16

1) How to compare two folders in OSx.

diff -rq '/firstFolderPath' '/secondFolderPath'
    • In terminal;
    • -rq means to search in subfolders and print short description.
    Examplediff -rq '/Users/nikkov/Desktop/First' '/Users/nikkov/Desktop/Second'


    2) How to watch view hierarchy.

    NSLog(@"%@", [self.view recursiveDescription]);



    3) How to exclude some files from compilation in Xcode.

    Target -> Build Settings -> Add User-Defined Setting -> Type "EXCLUDED_SOURCE_FILE_NAMES". In line's window type something like *.mm, *.h.



      Комментарии

      Популярные сообщения из этого блога

      Xcode Source Extensions Setup

      Find out, what controller is on the top.

      Xcode Swift Speed Up compilation