         if (corner.count != 4){
             assertionFailure({ () -> String in
                 "Wrong argument, must be 4 but \(corner.count) input"
-            }())
+                }())
         }
         let img = UIImage(named: self)!
         return img.resizableImageWithCapInsets(UIEdgeInsetsMake(CGFloat(corner[0]), CGFloat(corner[1]), CGFloat(corner[2]), CGFloat(corner[3])))

        let path = filename.adFileInFolderString(catalog)
        return NSData(contentsOfFile: path, options: NSDataReadingOptions.UncachedRead, error: nil)!
    }

}

    /// json dictionary wrapped by Accessor
    public var adJsonObject:ADAccessor{
        get{
            return self.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: true)!.adJsonObject
        }
    }

