Returns a string formatted to contain the data from an offset structure.
SDKs
- iOS 5.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- UIKit
Returns a string formatted to contain the data from an offset structure.
SDKs
Framework
class func cg Affine Transform(for: String) -> CGAffine Transform
Returns a Core Graphics affine transform structure corresponding to the data in a given string.
class func cg Point(for: String) -> CGPoint
Returns a Core Graphics point structure corresponding to the data in a given string.
class func cg Rect(for: String) -> CGRect
Returns a Core Graphics rectangle structure corresponding to the data in a given string.
class func cg Size(for: String) -> CGSize
Returns a Core Graphics size structure corresponding to the data in a given string.
class func cg Vector(for: String) -> CGVector
Returns a Core Graphics vector corresponding to the data in a given string.
class func ns Directional Edge Insets(for: String) -> NSDirectional Edge Insets
Returns a directional edge insets structure based on the data in the specified string.
class func ui Edge Insets(for: String) -> UIEdge Insets
Returns a UIKit edge insets structure based on the data in the specified string.
class func ui Offset(for: String) -> UIOffset
Returns a UIKit offset structure corresponding to the data in a given string.
class func string(for: CGRect) -> String
Returns a string formatted to contain the data from a rectangle.
class func string(for: CGVector) -> String
Returns a string formatted to contain the data from a vector data structure.
class func string(for: CGAffine Transform) -> String
Returns a string formatted to contain the data from an affine transform.
class func string(for: CGPoint) -> String
Returns a string formatted to contain the data from a point.
class func string(for: CGSize) -> String
Returns a string formatted to contain the data from a size data structure.
class func string(for: NSDirectional Edge Insets) -> String
Returns a string formatted to contain the data from a directional edge insets structure.
class func string(for: UIEdge Insets) -> String
Returns a string formatted to contain the data from an edge insets structure.