Re: [IB] - how to delete action or outlet?
On 18/07/2009, at 4:32 PM, Alexander Bokovikov wrote: Nice! And how to remove that action or at least how to rename it? For example I've done it by mistake, for testing or similar purposes. Now I can't remove such action or outlet, though I've closed IB, removed the action from the source file, then opened IB again. The action (or outlet) still exists in the object properties list. I think the only way to remove it is to edit XIB file manually - not a simple way, isn't it? Delete the actions/outlets from the source file, save, and in IB they'll show up with a yellow colour and a 'x' in the list views (right-click on the target object to show the HUD view of the connections). Then clicking the yellow x deletes the phantom connection. --Graham ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [IB] - how to delete action or outlet?
On 19.07.2009, at 18:05, Graham Cox wrote: Delete the actions/outlets from the source file, save, and in IB they'll show up with a yellow colour and a 'x' in the list views (right-click on the target object to show the HUD view of the connections). Then clicking the yellow x deletes the phantom connection. Thanks to all, who replied, but nothing helps :( I tried to reload (synchronize) IB with sources, but without luck. All what I have now is illustrated at screenshots: http://home.bokovikov.com/etc/mac/xcode/Picture1.png http://home.bokovikov.com/etc/mac/xcode/Picture2.png As you can see, bindings panel has four outlets, two of which are connected and other two are free. At the same time Outlets panel at Info page shows only two outlets. AppController's popup menu also shows four outlets. And I don't see any way to delete two free outlets. Moreover, I don't understand, how it could happen, that IB allows existence of more than one object's outlet with the same name. I don't like the idea to clear the XIB and create it all again, but definitely I will be more careful next time I'll have a deal with it! Thanks. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [IB] - how to delete action or outlet?
On 19/07/2009, at 10:46 PM, Alexander Bokovikov wrote: On 19.07.2009, at 18:05, Graham Cox wrote: Delete the actions/outlets from the source file, save, and in IB they'll show up with a yellow colour and a 'x' in the list views (right-click on the target object to show the HUD view of the connections). Then clicking the yellow x deletes the phantom connection. Thanks to all, who replied, but nothing helps :( I tried to reload (synchronize) IB with sources, but without luck. All what I have now is illustrated at screenshots attached. As you can see, bindings panel has four outlets, two of which are connected and other two are free. At the same time Outlets panel at Info page shows only two outlets. AppController's popup menu also shows four outlets. And I don't see any way to delete two free outlets. Moreover, I don't understand, how it could happen, that IB allows existence of more than one object's outlet with the same name. I don't like the idea to clear the XIB and create it all again, but definitely I will be more careful next time I'll have a deal with it! So, have you tried what I suggested? Right-click on the target object that you've changed *in the main view*. In the HUD window that pops up, look for yellow text with a 'x' button. Click it to delete. This should update what you are seeing in the bindings panel. It may not be possible to do the same thing directly in the bindings panel's list, but I do know the above does work, I use it frequently. --Graham ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [IB] - how to delete action or outlet?
On 19.07.2009, at 19:11, Graham Cox wrote: So, have you tried what I suggested? Right-click on the target object that you've changed *in the main view*. In the HUD window that pops up, look for yellow text with a 'x' button. Click it to delete. This should update what you are seeing in the bindings panel. It may not be possible to do the same thing directly in the bindings panel's list, but I do know the above does work, I use it frequently. I'm sorry, I don't know what is HUD window, but it is what is shown in this screenshot: http://home.bokovikov.com/etc/mac/xcode/Picture3.png If so, I don't see any yellow text here. Could you please provide a similar screenshot? You could email it to me directly, but not to the public list. Thanks. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [IB] - how to delete action or outlet?
On 18.07.2009, at 11:51, Chase Meadors wrote: IB should sync with it's relative Xcode project if they are both open. Are you actually saving changes to the AppController source files after you edit them? As I wrote, when I opened IB for the first time, Actions panel already had AppController.h title and contained my previously declared action. Therefore I thought IB was synchronized with the source file. Am I incorrect? On a second note, the - button is gray because you can only remove actions in IB that you've added in IB. Nice! And how to remove that action or at least how to rename it? For example I've done it by mistake, for testing or similar purposes. Now I can't remove such action or outlet, though I've closed IB, removed the action from the source file, then opened IB again. The action (or outlet) still exists in the object properties list. I think the only way to remove it is to edit XIB file manually - not a simple way, isn't it? Thanks. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [IB] - how to delete action or outlet?
Nice! And how to remove that action or at least how to rename it? For example I've done it by mistake, for testing or similar purposes. Now I can't remove such action or outlet, though I've closed IB, removed the action from the source file, then opened IB again. The action (or outlet) still exists in the object properties list. I think the only way to remove it is to edit XIB file manually - not a simple way, isn't it? Once you have removed from source files and saved, then in the inspector panel, on the connections tab, you can click to remove... -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [IB] - how to delete action or outlet?
On Sun, Jul 19, 2009 at 11:40 AM, Scott Ribe scott_r...@killerbytes.comwrote: Once you have removed from source files and saved, then in the inspector panel, on the connections tab, you can click to remove... I'm pretty sure once you remove the IBAction/IBOutlet from the header file and save, IB will synchronize ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [IB] - how to delete action or outlet?
On Jul 18, 2009, at 8:05 PM, KK wrote: On Sun, Jul 19, 2009 at 11:40 AM, Scott Ribe scott_r...@killerbytes.com wrote: Once you have removed from source files and saved, then in the inspector panel, on the connections tab, you can click to remove... I'm pretty sure once you remove the IBAction/IBOutlet from the header file and save, IB will synchronize If the outlet was connected to a view the outlet will still be in the ctl-click pop up but colored red Nope, I checked. It's colored yellow with a mini warning icon replacing the connection circle. The inspector window shows the outlet grayed out. /\/\arc ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [IB] - how to delete action or outlet?
On Sat, Jul 18, 2009 at 11:05 PM, KK kthem...@gmail.com wrote: On Sun, Jul 19, 2009 at 11:40 AM, Scott Ribe scott_r...@killerbytes.com wrote: Once you have removed from source files and saved, then in the inspector panel, on the connections tab, you can click to remove... I'm pretty sure once you remove the IBAction/IBOutlet from the header file and save, IB will synchronize You might have to hit File Reload All Class Files in IB if it doesn't notice right away. -- Ben ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com