If you want to check, what controller is on the top right now, with this code all what you need is to minimize app and restore it again. And you will see an alert with the title of Controller. APPDELEGATE #import "UIViewController+Top.h" - (void)applicationWillEnterForeground:(UIApplication *)application { #ifdef DEBUG NSString *topController = NSStringFromClass([[UIViewController topViewController] class]); [[[UIAlertView alloc] initWithTitle:topController message:nil delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:nil] show]; #endif } CATEGORY @interface UIViewController (Top) + (UIViewController *)topViewController; @end #import "UIViewController+Top.h" @implementation UIViewController (Top) + (UIViewController *)topViewController { UIViewController *rootViewController = [UIApplication sharedApplication].keyWindow.rootViewController; return [rootViewCont...
https://habrahabr.ru/post/317298/ //:configuration = Debug SWIFT_WHOLE_MODULE_OPTIMIZATION = YES http://stackoverflow.com/a/39477414/5790492 HEADERMAP_USES_VFS = YES http://stackoverflow.com/a/40580037/5790492 Unchecking "Find Implicit Dependencies" in Edit Scheme > "Scheme" > Build tab fixed it for me for project files. "Copy swift standard libraries" still takes forever.. http://stackoverflow.com/a/39864766/5790492 Not work, i think http://stackoverflow.com/a/40601731/5790492 Update to Xcode 8.2
Watch what shortcuts there are already: Terminal -> Alt+Cmd+G -> /usr/local/bin Add sublime ln -s "/Applications/ Sublime Text .app/Contents/SharedSupport/bin/subl" /usr/local/bin/ subl *bold text can change
Комментарии
Отправить комментарий