

def schemes(self):
    "\n        This method is used for both 'xcworkspace' and 'xcodeproj' classes. It returns a\n        list of schemes that are labeled as 'user' or 'shared'.\n        "
    schemes = []
    if (XCSchemeHasSharedSchemes(self.path.obj_path) == True):
        shared_path = XCSchemeGetSharedPath(self.path.obj_path)
        shared_schemes = XCSchemeParseDirectory(shared_path)
        for scheme in shared_schemes:
            scheme.shared = True
            scheme.container = self.path
            schemes.append(scheme)
    if (XCSchemeHasUserSchemes(self.path.obj_path) == True):
        user_path = XCSchemeGetUserPath(self.path.obj_path)
        user_schemes = XCSchemeParseDirectory(user_path)
        for scheme in user_schemes:
            scheme.container = self.path
            schemes.append(scheme)
    return schemes

dataset/ETHPy150Open samdmarshall/xcparse/xcparse/Xcode/xc_base.py xc_base.schemes/original