• 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: Interface Builder changes IDs in XIB files on open/save
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interface Builder changes IDs in XIB files on open/save


  • Subject: Re: Interface Builder changes IDs in XIB files on open/save
  • From: Andy Lee <email@hidden>
  • Date: Sat, 21 Jun 2008 09:24:44 -0400

On Jun 21, 2008, at 9:13 AM, lbland wrote:

On Jun 21, 2008, at 8:56 AM, Sebastian Nowicki wrote:

Seems to help when you just open and immediately close. If you open, save and close, it still changes all the reference IDs. I don't see why Interface Builder would ever have to change the reference ID unless the object itself changed, and even then it probably shouldn't change it. I guess I'll fill out the "enhancement" (though I really think it's a bug :P).

hi-

I haven't checked into the internals, but I would think that the reference IDs are part of the store and not part of the runtime image of the object graph. So that they are not preserved after opening and need to be rebuilt upon save.

I suspect the IDs are memory addresses. This would be easiest for implementing the object serialization code -- think how you'd check for multiple references to the same object while you're serializing. Objects don't have any other natural unique id.


--Andy


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Interface Builder changes IDs in XIB files on open/save
      • From: Sebastian Nowicki <email@hidden>
References: 
 >Interface Builder changes IDs in XIB files on open/save (From: Sebastian Nowicki <email@hidden>)
 >Re: Interface Builder changes IDs in XIB files on open/save (From: lbland <email@hidden>)
 >Re: Interface Builder changes IDs in XIB files on open/save (From: Sebastian Nowicki <email@hidden>)
 >Re: Interface Builder changes IDs in XIB files on open/save (From: lbland <email@hidden>)

  • Prev by Date: Re: Interface Builder changes IDs in XIB files on open/save
  • Next by Date: Re: Create dmg during release build phase
  • Previous by thread: Re: Interface Builder changes IDs in XIB files on open/save
  • Next by thread: Re: Interface Builder changes IDs in XIB files on open/save
  • Index(es):
    • Date
    • Thread