-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dangerfile for 2018 #trivial #746
Conversation
Generated by 🚫 Danger |
@@ -230,6 +230,8 @@ - (void)dealloc | |||
{ | |||
CGColorRelease(_shadowColor); | |||
|
|||
// TODO: This may not be necessary post-iOS-9 when most UIKit assign APIs | |||
// were changed to weak. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file was already modified post-Texture, so this change would have triggered a danger warning without the hack added in this diff.
@@ -23,7 +23,7 @@ @implementation AppDelegate | |||
|
|||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |||
{ | |||
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; | |||
self.window = [[UIWindow alloc] initWithFrame:UIScreen.mainScreen.bounds]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file had not been modified post-Texture, so this file was checked against the new license text (hack did not apply.)
282aceb
to
13fccb0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call
* Update the dangerfile * Make a trivial change to test new dangerfile * Try out the new value with another trivial change
Fixes #745
I added a TODO inside of a "post-Texture-modified" file to test the new dangerfile.