• 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: IBPlugin cannot load
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IBPlugin cannot load


  • Subject: Re: IBPlugin cannot load
  • From: Anders Lassen <email@hidden>
  • Date: Wed, 16 Jul 2008 23:41:45 +0200

Hi Ricky,

Thanks for the link to the sample code.

My classdescription file is named correct. My custom class is MyControlsView.

After having downloaded and compiled the sample project, I experience the same problems when using my own plugin - "sigh".

The problem is that I cannot figure out, how to use the plugin from a client.

I have tried to add the framework to my client. But when I start the Interface Builder the custom controls does not appear in the IB- library. According to the documentation this is to be expected:

"How you deploy your Interface Builder plug-in to clients depends heavily on how you deploy your custom controls to those same clients. Apple recommends that you deploy custom controls using a custom framework. A custom framework makes plug-in integration almost trivial for yourself and for the clients of your framework. If you are unable to use a custom framework, however, users can load your plug-in manually into the Interface Builder environment."

If I try to load the plugin manually from IB's Preference Plug-In dialog I get an error dialog.


According to the documentation all this should be trivial, but ...



On Jul 16, 2008, at 10:10 PM, Ricky Sharp wrote:


On Jul 16, 2008, at 2:44 PM, Anders Lassen wrote:

The answers to your questions are:

1) Principals Class name is: "MyControls". That is also the name of the IBPlugin class.

2) I only have one class description file, that is "MyControlsView.classdescription". Note that I have only one custom object, so I guess this is ok.

3) Product Name is "MyControls".

Your .classdescription files need to be named according to your actual controls. So for your MyButton control, you'd need to have a MyButton.classdescription


For another example plug-in that may be helpful during your development:

<http://www.instantinteractive.com/private/samplecode/MyIBPlugin.zip>

___________________________________________________________
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: 
 >Re: IBPlugin cannot load (From: Anders Lassen <email@hidden>)
 >Re: IBPlugin cannot load (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: NSButton alternate image problem - not redrawing
  • Next by Date: Re: Handling key equivalents in a controller class?
  • Previous by thread: Re: IBPlugin cannot load
  • Next by thread: Re: IBPlugin cannot load
  • Index(es):
    • Date
    • Thread