 * @returns The Library path concatenated with the given relative path.
 */
 public func ZXPathForLibraryResource(relativePath: String) -> String {
-     return (libraryPath as NSString).stringByAppendingPathComponent(relativePath)
+     return libraryPath.stringByAppendingPathComponent(relativePath)
 }
 
 /**

* @returns The bundle path concatenated with the given relative path.
*/
public func ZXPathForBundleResource(bundle: NSBundle?, relativePath: String) -> String {
    let resourcePath = (bundle == nil ? NSBundle.mainBundle() : bundle)!.resourcePath! as NSString
    return resourcePath.stringByAppendingPathComponent(relativePath)
}

/**

* @returns The caches path concatenated with the given relative path.
*/
public func ZXPathForCachesResource(relativePath: String) -> String {
    return cachesPath.stringByAppendingPathComponent(relativePath)
}


