• 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: Using outlets from NSView subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using outlets from NSView subclass


  • Subject: Re: Using outlets from NSView subclass
  • From: Glenn Andreas <email@hidden>
  • Date: Wed, 6 Oct 2004 18:43:47 -0500

Yeah, I instantiated my subclass, created an outlet for a progress indicator, added a progress indicator to the same window that has the view in it, and linked the outlet to the indicator. I then added the indicator to my .h file with "IBOutlet NSProgressIndicator *progressBar;".

Do you have a routine named "setProgressBar:" which your program may use to set the current value of the progress bar? If so, this is the problem - read up on KVC and see why this routine is used when loading the nib to try to set the instance variable to the actual progress bar (and your routine would try to set the value instead)

--
Glenn Andreas email@hidden <http://www.gandreas.com/> oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Using outlets from NSView subclass (From: Dennis Falling <email@hidden>)
 >Re: Using outlets from NSView subclass (From: Nick Zitzmann <email@hidden>)
 >Re: Using outlets from NSView subclass (From: Dennis Falling <email@hidden>)
 >Re: Using outlets from NSView subclass (From: j o a r <email@hidden>)
 >Re: Using outlets from NSView subclass (From: Dennis Falling <email@hidden>)
 >Re: Using outlets from NSView subclass (From: James Spencer <email@hidden>)
 >Re: Using outlets from NSView subclass (From: Dennis Falling <email@hidden>)

  • Prev by Date: Performance of NSWorkspace fullPathForApplication:
  • Next by Date: NSURLConnection and resumes
  • Previous by thread: Re: Using outlets from NSView subclass
  • Next by thread: Re: Using outlets from NSView subclass
  • Index(es):
    • Date
    • Thread