Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I delete class at Classes pane?



Hi All,

I made Subclass NSbutton, 'myButton' class.

But now, I want to delete 'myButton' class, but when I tried to delete, Alert panel is poped up.
Alert panel says, "Class myButton is in use. Cannot delete.".


I confirmed all other Classes or Instances's Outlets and Actions, but there was not reference to myButton.

How can I find link to myButton class?
What can I do for deleting myButton class?


»õ·Î¿î ±âºÎ¹®È ÀÇ ¾¾¾Ñ, ÇØÇǺó

The button you had subclassed probably still has the custom 'myButton' class set in the Custom Class pane of the object inspector of Interface Builder. Just select the button in your nib's window or wherever it is, open the inspector to the Custom Class pane (Command-5), and choose NSButton instead of 'myButton'. Then you should be able to delete myButton in the nib window's Classes tab.


Ron_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.