UIColor(named: "myColor")
Source: WWDC 2017 Session 237 —— What’s New in MapKit
Caveat: Your project’s Deployment Target needs to be set to iOS 11.0.
More Related Contents:
- Simultaneous accesses to 0x1c0a7f0f8, but modification requires exclusive access error on Xcode 9 beta 4
- Compile error in Swift 4 on parameter passing
- The use of Swift 3 @objc inference in Swift 4 mode is deprecated?
- PhotoPicker discovery error: Error Domain=PlugInKit Code=13
- How to make a random color with Swift
- Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
- ios 11 custom navbar goes under status bar
- navigation bar rightbaritem image-button bug iOS 11
- iOS11 swift silent push (background fetch, didReceiveRemoteNotification) is not working anymore
- How to get the RGB Code (INT) from an UIColor in Swift [duplicate]
- NEHotspotHelper.register not received call back iOS11
- Wait until swift for loop with asynchronous network requests finishes executing
- What is ARAnchor exactly?
- Multiple sheet(isPresented:) doesn’t work in SwiftUI
- Initialize @StateObject with a parameter in SwiftUI
- How do I create a segue that can be called from a button that is created programmatically?
- Why are emoji characters like 👩👩👧👦 treated so strangely in Swift strings?
- Location Services not working in iOS 11
- Check if `Any` value is object
- Swift 3 first parameter names
- Calling a Swift class factory method with leading dot notation?
- Can Swift return value from an async Void-returning block?
- What is the cause of this type error?
- Why do I need underscores in swift?
- Check empty string in Swift?
- Why is Equatable not defined for optional arrays
- Array element cannot be bridged to Objective-C
- Standard way to “clamp” a number between two values in Swift
- Difference between SceneDelegate and AppDelegate
- How do you enumerate OptionSetType in Swift?