 
 public extension UIInterfaceOrientation
 {
-    public func toDevice() -> UIDeviceOrientation
+    public var toDevice: UIDeviceOrientation
     {
         switch self
         {

        }
    }
    
    public func toImage() -> UIImageOrientation
    {
        switch self
        {


public extension UIImageOrientation
{
    public var toDevice: UIDeviceOrientation
    {
        switch self
        {
