-
Notifications
You must be signed in to change notification settings - Fork 2
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
Swift 3 migrated #1
base: master
Are you sure you want to change the base?
Conversation
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.
Thanks for this contribution!
I added a few comments
@@ -0,0 +1,23 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> |
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 shouldn't be versioned. Could you remove the whole xcuserdata
from the repository and add it to the gitignore? We should have added created a gitignore file in the first place.
You could copy this one for instance https://github.com/Produkt/Pelican/blob/master/.gitignore
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.
Will do!
@@ -14,30 +14,30 @@ class AppDelegate: UIResponder, UIApplicationDelegate { | |||
var window: UIWindow? | |||
|
|||
|
|||
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |||
private func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { |
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.
Is there any particular reason to mark this function as private
?
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.
I'm not quite sure 🤔. The auto-migrator marked it that way for some reason
override func willMoveToAnimator(dynamicAnimator: UIDynamicAnimator?) { | ||
super.willMoveToAnimator(dynamicAnimator) | ||
override func willMove(to dynamicAnimator: UIDynamicAnimator?) { | ||
super.willMove(to: dynamicAnimator) |
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.
It seems that you are using tabs over spaces. I don't have a strong opinion about this, but it would be great to keep 4 spaces for consistency in this project.
Sorry for this style nazi comment 😓
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.
No worries 😅 I'm used to changing my indentation style for my OSS work (I've always used the defaults for some reason, maybe I should change 🧐
No description provided.