• 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: double-vision?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: double-vision?


  • Subject: Re: double-vision?
  • From: Ricky Sharp <email@hidden>
  • Date: Fri, 21 Dec 2007 15:12:44 -0600


On Dec 21, 2007, at 12:27 PM, James Maxwell wrote:

I'm having a hell of a time getting a new tool palette-type window to load. Looking at the File's Owner in IB, I notice that it has two entries for the same method:

<Picture 1.png>


If I try to remove one connection, both get removed, so it's obviously a duplicate of some kind...
I don't know how that's possible, and I can't see any explanation in the code. I put an NSLog in the WindowDidLoad for the palette, to report the number of cells, and it comes up with zero. So my window's supposed to be loaded, but it's invisible, and contains no cells! (cool.) My guess is that it's somehow reporting the cells in a different instance, or something like that. But actually, I'm just very confused.


I've seen double-entries in my own IBPlug-Ins. But, that pointed out a bug (copy-paste error) in my .classdescription files. Two of those files contained the exact same meta-data for one of my classes. This included the list of outlets.

However, even after fixing that issue and doing clean builds, the problem still shows up. It may be the case where IB is caching some of my info?
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com


_______________________________________________

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: 
 >double-vision? (From: James Maxwell <email@hidden>)

  • Prev by Date: Re: Opacity of Menus
  • Next by Date: Re: Opacity of Menus
  • Previous by thread: Re: double-vision?
  • Next by thread: RE: Using Interface Categories vs Interface Builder
  • Index(es):
    • Date
    • Thread