• 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: Quicktime Movie View error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quicktime Movie View error


  • Subject: Re: Quicktime Movie View error
  • From: Jonathan Hess <email@hidden>
  • Date: Fri, 6 Feb 2009 13:01:47 -0800


On Feb 6, 2009, at 8:21 AM, elliott cable wrote:

On Thu, Feb 5, 2009 at 11:02 PM, Kyle Sluder <email@hidden> wrote:
On Fri, Feb 6, 2009 at 1:05 AM, elliott cable <email@hidden> wrote:
today, and I'm running into the same problem. Does anybody know how I
can fix it *without* switching away from XIBs? (I'm versioning my
stuff in git, I have to use XIBs to get merging functionality).

How is Git able to merge changes to XIBs? The structure of an XIB
isn't linear; there's no guarantee that you can just swap out portions
of an XIB and wind up with a usable XIB. Unless Git has an
understanding of XIBs near Apple's, I don't see how merging could be
guaranteed to work.


--Kyle Sluder

It's actually a complex process. It requires that you manually manage your XIB changes to some extent, in a painful way (I'm in the middle of writing a tool to do all of that for me), and even then, there are circumstances where such a process would fail.

The important point is that two people working on completely separate
parts of the XIB, for instance concurrent commits that both add a new
item to the interface instead of changing any existing items, can be
merged. You're still up <expletive deleted> creek when it comes to
concurrent commits that modify the exact same piece of the interface
in different ways.

Like Kyle Said, an XIB file is not linearly structured. It's an object graph with cycles and cross references. Trying to merge changes without a complete understanding of the archive would be extremely difficult. Since much of the content is defined by plug-ins, that can change at will, externally nailing down an understanding of the XIB's contents would be extremely difficult.


The XIB file format is meant to be readable, and diffable, but merge- ability is not something it's suited to.

Jon Hess


I blogged extensively about the topic:
<http://blog.elliottcable.name/posts/git_versioning_interface_builder_s_xib_files.xhtml >
_______________________________________________


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

_______________________________________________

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


References: 
 >Re: Quicktime Movie View error (From: elliott cable <email@hidden>)
 >Re: Quicktime Movie View error (From: Kyle Sluder <email@hidden>)
 >Re: Quicktime Movie View error (From: elliott cable <email@hidden>)

  • Prev by Date: NSArrayController won't "add", and "delete" removes both the record & selectable item
  • Next by Date: Memory Question on returning a View
  • Previous by thread: Re: Quicktime Movie View error
  • Next by thread: Re: Quicktime Movie View error
  • Index(es):
    • Date
    • Thread