-
Boomerang: Send later, track responses, and use AI to write better emails.
-
GitHub Dark Theme: Dark mode for GitHub
-
Grammarly: Grammar correction app for chrome.
-
Great suspender: Automatically suspends unused tabs to free up system resources. Note: Issue #537
-
Honey: Automatically find and apply coupon codes when you shop online!
-
https://chrome.google.com/webstore/detail/marinara-pomodoro%C2%AE-assist/lojgmehidjdhhbmpjfa
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIAlertController* <#alert#> = [UIAlertController alertControllerWithTitle:<#name#> | |
message:<#message#> | |
preferredStyle:<#UIAlertControllerStyleAlert#>]; | |
void (^<#handler#>)(UIAlertAction * action) = ^(UIAlertAction * action){ | |
}; | |
UIAlertAction* defaultAction = [UIAlertAction actionWithTitle:<#@"OK"#> style:<#UIAlertActionStyleDefault#> | |
handler:<#handler#>]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (UIViewController *)topViewController{ | |
return [self topViewController:[UIApplication sharedApplication].keyWindow.rootViewController]; | |
} | |
- (UIViewController *)topViewController:(UIViewController *)rootViewController | |
{ | |
if (rootViewController.presentedViewController == nil) { | |
return rootViewController; | |
} | |
Most of these guidelines are to match Apple's documentation and community-accepted best practices. Some are derived some personal preference. This document aims to set a standard way of doing things so everyone can do things the same way. If there is something you are not particularly fond of, it is encouraged to do it anyway to be consistent with everyone else.
This document is mainly targeted toward iOS development, but definitely applies to Mac as well.
NSString *foo = @"bar";