-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin now also adds a menu item in the file menu to open the Browser #922
Conversation
…plugin-browser-menuitem
… gk-plugin-browser-menuitem
@@ -1,3 +1,5 @@ | |||
# Realm Plugin | |||
|
|||
To install the Realm Plugin, open `RealmPlugin.xcodeproj` and Build. This will prompt for your password in order to install file and class templates to simplify Realm development in Xcode. Restart Xcode to gain access to these templates. | |||
The Realm Plugin for Xcode installs file and class templates to simplify Realm development in Xcode. It will add a menu item under 'File' in Xcode that will let you quickly open the Realm Browser. This assumes you have a compiled version of the Realm Browser on your system. You can find it on realm.io. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Realm Plugin for Xcode installs file and class templates to simplify Realm development in Xcode. It adds a menu item to quickly open the Realm Browser under 'File' in Xcode. This assumes you have a compiled version of the Realm Browser on your system. You can find it on http://realm.io.
@GreatApe have you confirmed that this runs on Xcode 5 and 6? Plugins require differently compatibility ID's for each Xcode version, AFAIK. If so, then please merge this. |
Regarding compatibility, it has been tested on xcode 5 and 6, and the reason it works is that I added the UUID for xcode 6 in the plist here: https://www.dropbox.com/s/pd2pd3vx7w1zwtp/Screenshot%202014-10-01%2016.35.03.png?dl=0 This issue is a bit murky since plugins aren't even officially supported, but it seems that all different xcode 6's share the same UUID. |
Plugin now also adds a menu item in the file menu to open the Browser
https://app.asana.com/0/15066612015532/15028213105404
If Browser doesn't exist att Xcode launch, it sends a log to the console (not the xcode console). If it existed at Xcode launch but not when the menu item was chosen, it displays a dialog.
The old plugin only added RLMObject templates, now we have a place to actually run code, not limited to adding menu items.
Plugins break easily but this should work in both Xcode 5 and 6.