Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Memory Management

Memory Management
Thread Tools
Fresh-Faced Recruit
Join Date: Feb 2006
Status: Offline
Reply With Quote
Feb 13, 2006, 01:43 PM
 
I have a class with one simple method that accesses an IBOutlet (an NSPanel to simply either order it to the back or to the front). However, the method does not work, since when the application loads the IBOutlets are released and then if, at a later time, I wish to access this method again, it does nothing since, I assume, the IBOutlet which it is accessing has dealloced. Therefore, the only time which I can access these IBOutlets is during awakeFromNib. How do I prevent this?
     
Senior User
Join Date: Nov 2001
Location: State of Denial
Status: Offline
Reply With Quote
Feb 14, 2006, 07:08 AM
 
[...] since when the application loads the IBOutlets are released [...]
Can you explain that a bit more clearly? Are you releasing the panel that's connected as an IBOutlet yourself (you shouldn't need to)?
[Wevah setPostCount:[Wevah postCount] + 1];
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:29 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2