• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Versions and project editor app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Versions and project editor app


  • Subject: Re: Versions and project editor app
  • From: Charles Srstka <email@hidden>
  • Date: Sun, 30 Oct 2011 12:33:03 -0500

On Oct 30, 2011, at 12:05 PM, Martin Hewitson wrote:

> Dear list,
>
> Has anyone given any thought as to how to use Versions with an editor app which manages files? Consider an app like Xcode. Is it conceivable to have Versions for Xcode? Of course you could have Versions for the Xcode project file, but what about the source code files? How would they be handled? I'm guessing that since Xcode doesn't implement Versions that the technology is not well suited for such an app.

To follow up on my earlier post a bit, Xcode *does* support Versions, as you’ll see if you play with it a bit. Make a change to a source file, don’t save, let it sit for a few seconds, and then examine the source file with the ‘more’ program in the Terminal, and you’ll see that your change has indeed been autosaved. Also, if you open a source file or a .xib file in TextEdit, you’ll be able to browse all the versions that have been created by Xcode. The only thing missing in Xcode is an *interface* for Versions. Now, one could argue that since Xcode has built-in support for git and svn, Versions support isn’t necessary, and you’d probably be right. For a similar type of application that doesn’t have built-in source control, though, it might be a handy thing, and if it turns out there’s an API somewhere to get at the data of a version, then you’d be able to do whatever you want. Unfortunately, I haven’t been able to find any such API, but it’s possible I’ve missed something, since searching for “Versions” is something that’s inherently going to turn up a ton of false positives.

Charles_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Versions and project editor app
      • From: Charles Srstka <email@hidden>
References: 
 >Versions and project editor app (From: Martin Hewitson <email@hidden>)

  • Prev by Date: C struct and __unsafe_unretained
  • Next by Date: Re: C struct and __unsafe_unretained
  • Previous by thread: Re: Versions and project editor app
  • Next by thread: Re: Versions and project editor app
  • Index(es):
    • Date
    • Thread