• 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
NSProgressIndicator not responding to calls outside of AppController class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSProgressIndicator not responding to calls outside of AppController class


  • Subject: NSProgressIndicator not responding to calls outside of AppController class
  • From: Martin Stoufer <email@hidden>
  • Date: Thu, 28 Aug 2008 09:37:42 -0700
  • Organization: LBNL

I am developing an app that is utilizing some legacy C code that I have massaged into Objective-C classes. In one of them, I am trying to drive an NSProgressIndicator view as defined by the NIB for the project. There is a core processing loop that originally spit out multiple '.' to stdout as it ran. Now I want to capture a count of these and update the indicator.

The class has the proper IBOutlet defined in its header file and IB correctly sees this class (via a new Object I created in IB) and the IBOutlet I defined for it. I hooked it up properly and now when the code in the C class runs, the calls to

[myProgressIndicator setDoubleValue:progress] aren't being displayed in the App.

Is there something fundamentally wrong I'm doing here? Can there be only one Controller class in a Cocoa app?

The app is rather evolved however all the IBOutlets/IBActions to this point have been restricted to the AppController class. I have a sneaking suspicion that the Object I created in IB should actually be
an Object Controller instead and bind values directly to the UI components I want to drive.




--
* Martin C. Stoufer              *
* ISS/IT                         *
* Lawrence Berkeley National Lab *
* 510-486-5306                   *
* MS 937-700                     *

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSProgressIndicator not responding to calls outside of AppController class
      • From: Randall Meadows <email@hidden>
  • Prev by Date: Re: CFBundleIconFile: heiß or hot?
  • Next by Date: Re: Quitting all active applications
  • Previous by thread: Re: ODBCKit problems with MySQL DB
  • Next by thread: Re: NSProgressIndicator not responding to calls outside of AppController class
  • Index(es):
    • Date
    • Thread