• 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: IB instantiating objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB instantiating objects


  • Subject: Re: IB instantiating objects
  • From: Gmail <email@hidden>
  • Date: Tue, 24 Mar 2009 07:36:08 +0700

NO, it supports subclassing. Do you know what method I could override (and return my instance) before the NIB is loaded so I can control it's isntance variables? I think maybe a low-level protocol like init could perhaps work. Thanks.

On Mar 24, 2009, at 12:15 AM, Bill Bumgarner wrote:

On Mar 22, 2009, at 6:26 PM, Gmail wrote:
Is there anyone who is aware how this was accomplished by the other bridges or if I can force IB to not instantiate the classes, or maybe replace the instance with my own? It seems like I need a way to access the instances of those classes inside the nib but I don't think that can be done. Any ideas are greatly appreciated. Thank you.

RubyCocoa and PyObjC work by creating the class before the NIB is loaded. From your description, it sounds like your bridge doesn't support subclassing. If so, that'll make your bridge considerably more difficult to integrate with Cocoa.


b.bum


Regards, Josef

_______________________________________________

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: IB instantiating objects
      • From: Jonathan Hess <email@hidden>
References: 
 >IB instantiating objects (From: Gmail <email@hidden>)
 >Re: IB instantiating objects (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: Remove action on NSArrayController bound to table causes index beyond bounds
  • Next by Date: -hexValue for NSString?
  • Previous by thread: Re: IB instantiating objects
  • Next by thread: Re: IB instantiating objects
  • Index(es):
    • Date
    • Thread