Splatting is not in the language yet, as confirmed by the devs. Workaround for now is to use an overload or wait if you cannot add overloads.
More Related Contents:
- Passing lists from one function to another in Swift
- Rounding a double value to x number of decimal places in swift
- Any way to replace characters on Swift String?
- How to enumerate an enum with String type?
- Do Swift-based applications work on OS X 10.9/iOS 7 and lower?
- SwiftUI iOS14 – NavigationView + List – Won’t fill space
- Printing optional variable
- Get day of week using NSDate
- Get HTML from WKWebview in Swift
- What does a module mean in swift?
- Swift Codable multiple types
- Decrement index in a loop after Swift C-style loops deprecated
- Can you execute an Applescript script from a Swift Application
- How flatMap API contract transforms Optional input to Non Optional result?
- What is the best way to determine if a string contains a character from a set in Swift
- Swift – validating UITextField
- Detect when a tab bar item is pressed
- Closure with generic parameters
- Using ‘self’ in class extension functions in Swift
- Get index in ForEach in SwiftUI
- A Swift protocol requirement that can only be satisfied by using a final class
- Swift optional inout parameters and nil
- Swift Spritekit Adding Button programmatically
- Saving WebView to PDF returns blank image?
- @noescape attribute in Swift 1.2
- Swift: shortcut unwrapping of array of optionals
- How do I perform an auto-segue in Xcode 6 using Swift?
- AVAudioEngine downsample issue
- Can Swift convert a class / struct data into dictionary?
- swift sphere combine star data