• 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: how to properly rename classes in a custom Cocoa view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to properly rename classes in a custom Cocoa view


  • Subject: Re: how to properly rename classes in a custom Cocoa view
  • From: Michael Hopkins <email@hidden>
  • Date: Thu, 28 Sep 2006 10:16:55 -0700

Artemly,

You need to rename the view class in the nib file too. Otherwise the nib file will still be referencing the old name.

Hope this helps!

-michael

On Sep 28, 2006, at 9:58 AM, Artemiy Pavlov wrote:

Dear all,

my GUI is almost done but I cannot manage to rename the UI classes from the default CocoaView and CocoaViewFactory. What is the proper way to do this?

Is the only thing I need to do is rename them to MyGreatPluginCocoaView and MyGreatPluginCocoaViewFactory? I did this in every file I found them: CocoaView.h/m and CocoaViewFactory.h/m files as well as where the plugin specifies it has a view (main .cpp file) and the .plist files. But it won't work, neither app can see the GUI. With all back to CocoaView and CocoaViewFactory it works.

Do I also need to rename something else? Like the view .nib file, and/or the view .bundle?


Thanks a lot,

Artemiy.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: how to properly rename classes in a custom Cocoa view
      • From: Artemiy Pavlov <email@hidden>
References: 
 >how to properly rename classes in a custom Cocoa view (From: Artemiy Pavlov <email@hidden>)

  • Prev by Date: how to properly rename classes in a custom Cocoa view
  • Next by Date: Re: how to properly rename classes in a custom Cocoa view
  • Previous by thread: how to properly rename classes in a custom Cocoa view
  • Next by thread: Re: how to properly rename classes in a custom Cocoa view
  • Index(es):
    • Date
    • Thread