         return (path != nil) ? path!.isXCProject() : false
     }
     
-    func isXCAsset() -> Bool {
+    func isAssetsFolder() -> Bool {
         let path: String? = BookmarkResolver.resolvePathFromBookmark(self)
-        return (path != nil) ? path!.isXCAsset() : false
+        return (path != nil) ? path!.isAssetsFolder() : false
     }
     
 }

        return self.hasSuffix(".xcodeproj")
    }
    
    func isXCAsset() -> Bool {
        return self.hasSuffix(".xcassets")
    }
}

//  Copyright (c) 2014 Pranav Shah. All rights reserved.
//

import Foundation

protocol XcodeFileValidator {
    func isXCProject() -> Bool
    func isAssetsFolder() -> Bool
}

// TODO: We should probably check if its a directory too.
extension String: XcodeFileValidator {
