Skip to content
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

Merged
merged 6 commits into from
Oct 1, 2014

Conversation

GreatApe
Copy link
Contributor

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.

@GreatApe
Copy link
Contributor Author

@jpsim @yoshyosh

@GreatApe
Copy link
Contributor Author

Any comments, suggestions?

@jpsim @tgoyne @alazier @yoshyosh

@@ -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.
Copy link
Contributor

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.

@jpsim
Copy link
Contributor

jpsim commented Oct 1, 2014

@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.

@GreatApe
Copy link
Contributor Author

GreatApe commented Oct 1, 2014

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.

GreatApe added a commit that referenced this pull request Oct 1, 2014
Plugin now also adds a menu item in the file menu to open the Browser
@GreatApe GreatApe merged commit 26528de into realm:master Oct 1, 2014
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants