{"id":15594302,"url":"https://github.com/orta/preferences","last_synced_at":"2025-07-13T01:33:07.600Z","repository":{"id":29122075,"uuid":"32651812","full_name":"orta/Preferences","owner":"orta","description":"Add preferences support for your Xcode plugins.","archived":false,"fork":false,"pushed_at":"2015-03-23T12:32:24.000Z","size":238,"stargazers_count":29,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-30T21:42:27.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-21T22:02:44.000Z","updated_at":"2022-02-02T08:03:52.000Z","dependencies_parsed_at":"2022-07-25T18:03:01.019Z","dependency_job_id":null,"html_url":"https://github.com/orta/Preferences","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/orta/Preferences","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orta%2FPreferences","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orta%2FPreferences/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orta%2FPreferences/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orta%2FPreferences/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orta","download_url":"https://codeload.github.com/orta/Preferences/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orta%2FPreferences/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265080006,"owners_count":23708098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T00:37:27.695Z","updated_at":"2025-07-13T01:33:07.574Z","avatar_url":"https://github.com/orta.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Add preferences for your Xcode plugins.\n\n![Screenshot](https://raw.github.com/orta/Preferences/master/web/screenshot.png)\n\n\nCurrently in Developer release, if you would like to add support for your plugin, you need to:\n\nAdd support for this protocol to one of the classes in your plugin\n\n```objc\n#import \u003cAppKit/AppKit.h\u003e\n\n@protocol ORPreferenceHost\n\n+ (NSString *)titleForPreferences;\n+ (NSViewController *)viewControllerForPreferences;\n\n@end\n```\n\nand return a view controller, currently the view frame is 500 by 440. If you'd like to check if someone has the plugin installed, see if  `NSClassFromString(@\"ORPreferencesEnhancer\")` returns something.\n\n\n### Installation\n\n\n```\ngit clone https://github.com/orta/Preferences.git\ncd Preferences\nxcodebuild\n```\n\nThen restart Xcode.\n\n### Example\n\nThere is an example plugin which has support for Preferences in the example folder.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forta%2Fpreferences","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forta%2Fpreferences","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forta%2Fpreferences/lists"}