Skip to content

iOS 12 issues with Xcode10 #40

Description

@southfox

Hi guys,

awesome repository, we are using this for our application, thanks for sharing this.

I've been trying to build for iOS 12 under Xcode 10 and I'm having the following issues:

 //  BaseWindow.swift
...
       backgroundColor = UIColor.clear
        windowLevel = UIWindow.Level.alert + 1
        
        makeKey()

// CircularProgressView.swift

  • = 'didEnterBackgroundNotification' has been renamed to 'NSNotification.Name.UIApplicationDidEnterBackground'
        NotificationCenter.default.addObserver(self,
                                               selector: #selector(viewDidEnterBackground(_:)),
                                               name: UIApplication.didEnterBackgroundNotification,
                                               object: nil)
  • = 'willEnterForegroundNotification' has been renamed to 'NSNotification.Name.UIApplicationWillEnterForeground'
//  CircularProgressView.swift
        NotificationCenter.default.addObserver(self,
                                               selector: #selector(viewWillEnterForeground(_:)),
                                               name: UIApplication.willEnterForegroundNotification,
                                               object: nil)

Do you want me to send a PR for these issues?
Thanks again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions