default()
Returns a format that represents the highest fidelity that the current device supports.
Declaration
class func `default`() -> SelfReturn Value
An initialized format.
Discussion
The returned format object always represents the device’s highest fidelity, regardless of the actual fidelity currently employed by the device. A graphics renderer uses this method to create a format at initialization time if you use an initializer that does not have a format argument.
This property doesn’t always return a format that’s optimized for the current configuration of the main screen. If you’re rendering content for immediate display, it’s recommended that you use preferred() instead of this property.