Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

codeOfRobin
Copy link

No description provided.

Copy link
Member

@fillito fillito left a 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"?>
Copy link
Member

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

Copy link
Author

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 {
Copy link
Member

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?

Copy link
Author

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)
Copy link
Member

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 😓

Copy link
Author

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 🧐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants