• 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: IB3 - Trouble recognizing objects in custom frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB3 - Trouble recognizing objects in custom frameworks


  • Subject: Re: IB3 - Trouble recognizing objects in custom frameworks
  • From: Kevin Cathey <email@hidden>
  • Date: Tue, 26 May 2009 16:31:26 -0700

And a simpler solution would actually just be to drag the header files for your classes into IB, forgot about that.

Kevin

On 26 May 2009, at 16:17, Kevin Cathey wrote:

Seth,

You are correct. With IB 3, we do not automatically search frameworks you link against. (This is a known issue, so there is no need to file an additional bug).

If you have your own custom frameworks, then if the nibs you are editing are part of the same Xcode project, then IB would be able to parse the outlets and actions correctly (for example if you were building a GUI and a CLI and wanted a common framework so you had all three products in the same project). But in your case it sounds like you have two frameworks that are not in the same Xcode project as the applications you are working on. In this case, as you pointed out, the best option is to build an IB plugin that has class descriptions for your custom subclasses.

Kevin

On 26 May 2009, at 14:03, Seth Willits wrote:

Howdy,


I have two custom frameworks with a bunch of objects defined in them, that I want IB3 to recognize. For instance, I have an NSWindowController subclass defined in the framework, a subclass of that class in my app, and instance of it in a xib in my app. I simply want IB3 to recognize "this obj is an NSWindowController subclass" and offer me the outlets and actions defined in NSWindowController, and my two subclasses. I don't need any custom inspectors or anything - I just need it to show me the outlets and actions.


IB3 doesn't seem to search the headers of frameworks linked in my app, and sadly, there doesn't seem to be a way to tell IB3 to watch a particular framework. I thought I could at least manually tell IB3 to read each individual header file from within the framework, but even that didn't work.

It seems the *only* way I can get IB3 to automatically show me the outlets and actions is if I add an instance of the object to a library defined in an IB plugin. Is this really true?


-- Seth Willits


_______________________________________________ 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

_______________________________________________ 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
References: 
 >IB3 - Trouble recognizing objects in custom frameworks (From: Seth Willits <email@hidden>)
 >Re: IB3 - Trouble recognizing objects in custom frameworks (From: Kevin Cathey <email@hidden>)

  • Prev by Date: Re: IB3 - Trouble recognizing objects in custom frameworks
  • Next by Date: Re: IB3 - Trouble recognizing objects in custom frameworks
  • Previous by thread: Re: IB3 - Trouble recognizing objects in custom frameworks
  • Next by thread: Re: IB3 - Trouble recognizing objects in custom frameworks
  • Index(es):
    • Date
    • Thread