Skip to content

Commit

Permalink
d22 → Swift 1.2 (article)
Browse files Browse the repository at this point in the history
Including removing a note a bug in the betas :)
  • Loading branch information
Sam Davies committed Feb 17, 2015
1 parent cca2ee2 commit 8e51abb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions 22-link-to-settings/22-link-to-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ within the settings app. The __Take Me To Settings__ button has the following
handler:

@IBAction func handleTakeMeButtonPressed(sender: AnyObject) {
let settingsUrl = NSURL.URLWithString(UIApplicationOpenSettingsURLString)
let settingsUrl = NSURL(string: UIApplicationOpenSettingsURLString)!
UIApplication.sharedApplication().openURL(settingsUrl)
}

Expand Down Expand Up @@ -89,10 +89,6 @@ Don't forget that with `NSNotificationCenter` you must stop observing:
This will mean that whenever the user updates any settings then the appearance
will get updated appropriately.

> __Note:__ There is a bug in the iOS8 betas (last checked beta 5), which means
that the settings in the settings app are not persisted to NSUserDefaults.
Therefore this app doesn't behave as expected. This will be fixed very soon.

## Conclusion

As promised - today's post was pretty short. If you're already using a settings
Expand Down

0 comments on commit 8e51abb

Please sign in to comment.