Do I need to use Bindings?

Hi All
I wonder if you can help
I have a class (driver.m) that takes an input from a USB device (the callback function is embedded into the class and passes data back to the instance of the class).
There are a number of instance variables that change depending on the incoming data.
say
int analog1;
How do I monitor the data coming into that class in a cocoa window.
For instance analog1 has constantly changing data as a int value 0-255 which I wish to view in a NSLevelindicator.
Should I be using bindings for this type of thing as most of the bindings demos seem to be on cocoa elements changing cocoa elements.
If you could point me in the right direction I would appreciate it
Cheers
Steve

So if you take the following:
@interface Driver : NSObject
    int driverValue;
@property (readwrite, assign) int driverValue;
@end
@implementation Driver
@synthesize driverValue;
@end
Then elseware
    Driver *instance1 = [[Driver alloc] init];
    Driver *instance2 = [[Driver alloc] init];
I should be able to set up a slider for the driverValue of instance1 and a separate slider for driverValue of instance2?
Beacuse in interface builder when I create an object (blue qube) I can set the class to Driver and I can set the bind to driverValue. But I can't see were I tell IB which instance this is belonging to. So even if I do a second object (blue qube) I can only duplicate what I have already done I can't see were I assign one (blue qube) to instance1 and the other to instance2.

Similar Messages

  • I have a new mac book pro which i use in england but I need to use German charachters frequently, is there a way of having both visable on the keyboard?

    I have a new mac book pro which i use in england but I need to use German charachters frequently, is there a way of having both visable on the keyboard?
    For example so that I can just press shift or another key to get the German character.

    Some may already exist, but you will have to learn them.  On my old system these can be found through keyviewer.app  For example, if I press option+s I get ß   Umlaut is a bit cumbersome as option+u then the actual letter.  It may be possible to bind a key to do this function, possibly through System Preferences > Keyboard > Shortcuts
    I have old, old references for utilities that let you rebind keys to other functions, and you would have to see if they have modern equivalents.
    Ukelele Mac OS X Keyboard Layout Editor - http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=ukelele - mostly useful for character, not function mapping.
    Check Butler, ikeys, quickeys or Spark

  • HT3275 I need to use a Western Digital external drive on both my Mac and a PC.  To do this I need to format the drive in FAT 32.  However, Time Machine won't recognize this format.  Is there a work-around?

    I need to use my external drive on my Mac and a PC, so I formatted it in FAT 32.  I found that Time Machine doesn't recognize this format and cannot back up to it.  So, if I want to use Time Machine I need to go back to a Mac format.  Is there any way to get Time Machine to save onto a FAT 32 formatted drive?

    It's usually not a good idea to use a Time Machine drive for anything else. It's too easy to make mistakes, or not do regular backups, or run out of space.  See Time Machine - Frequently Asked Questions #1 and 3.
    But you can create a second partition on the drive, for use with Windoze.
    See #5 in the FAQ for formatting instructions.  You'll need to select 2 partitions.  It's usually best to put the Time Machine partition first, and it should have the Mac OS Extended (Journaled) Format.  Make the second one MS-DOS (FAT), although you might prefer ExFAT.
    Be sure to specify the GUID Partition table.

  • I phone 5 need to use antivirus? If i need to use antivirus which is best app for i phone 5

    I phone 5 need to use any antivirus ? If i want to use which is the best app for i phone 5

    It is certainly not a virus. There are none.
    Try the basic troubleshooting steps.
    Start here: http://www.apple.com/support/iphone/assistant/phone/#section_1
    Sometimes all that is required is to restart the iPhone.
    The final step is to restore it. Always back up your iPhone first.

  • IPhone 5s with hearing aids via Bluetooth. Need to use the phone for voice, what's the best distance that the mic will pick up your voice

    I wear hearing aids that are made for Apple, the audio will go into the hearing aids via Bluetooth. I'll need to use my phone for voice only.. I drive for work and have a wok oh one too and both are synced to a bluetooh headset (LG). I'm trying to figure out how to talk on both phones ( use speakerphone on work phone?) without using a bluretooh headset.  I don't know the range of the microphone on the IPHON, thinking about hanging it around my neck or put the phone into a stand/holder on the dash and use the speakerphone feature.  Looking for ideas to make this simple

    You can't do anything with that problem.
    Take your iPhone to the closest Apple Store and they will give you new one for 200€/$ or if you bought your iPhone in less than 12 months you will get it for free.

  • How do I go back to Firefox 5.0? I need to use Selenium IDE, which is not yet compatible with 6.0.

    How do I go back to Firefox 5.0? I need to use Selenium IDE, which is not yet compatible with 6.0.

    The link is to the latest update to 4.o which was 4.0.1
    The 4.0.1 and 5.0 are two separate versions as installing 4.0.1 over 5.0 will just give you the old 4.0.1 as the end result.
    The 5.0 is partially as a security update in place of 4.0.2.
    The Skype extension was only for to make it so you can dial phone numbers on a web page in the separate Skype program right so if you were not using it then no need for the Skype extension for the separate Skype application to work.

  • How to connect an apple tv to an enterprise network with a username and a password?   I need to use it over my university's wifi. theres no option to enter username and password. how to connect the apple tv to such enterprise network?

    How to connect an apple tv to an enterprise network with a username and a password?
    I need to use it over my university's wifi. theres no option to enter username and password. how to connect the apple tv to such enterprise network?

    Contact the University's IT dept, they may be able to set something up on the network to allow the ATV to connect without the need for a user name/password.

  • My IPAD2 has now a little box around everything I tap.  I have tried to reset it .It is not working the same thing occurs.  I have it plugged inTo my MAC OSX and trying to back up but i am told i need to use passcode. Well I cannot get into my IPAD now.

    My IPAD has a little box around everything I tap.  I have tried to reset the IPAD 2 but to no avail.  Now I am locked out and cannot put my passcode into the Ipad2 so I cannot back up the IPAD 2 when plugged in.  It is charged ..I was reading a Foot Smart email when this occured. Help

    Sounds like you have VoiceOver (one of the accessibility features) 'on'. Try triple-clicking the home button and see if that turns it off, and if it does you can then change what a triple-click does via Settings > General > Accessibility > Accessibility Shortcut (or Triple-Click Home depending upon the iOS version).
    If that doesn't turn it off then you can either turn it off directly on the iPad (you need to use a tap-to-select and then double-tap to activate/type process and 3 fingered scrolling) to go into Settings > General > Accessibility and turn VoiceOver 'off', or you can do it by connecting to your computer's iTunes (after typing in your passcode via the tap/double-tap process) : http://support.apple.com/kb/HT4064

  • HT1386 I recently updated and restored my Iphone on a Mac. My music was erased, therefore, I am trying to sync all of the music from my computer into the iPhone, but it says that I need to use the original computer/itunes in order to sync, but it is the s

    I recently updated and restored my Iphone on a Mac. My music was erased, therefore, I am trying to sync all of the music from my computer into the iPhone, but it says that I need to use the original computer/itunes in order to sync, but it is the same computer and iTunes account. The error reads: The iPhone, "Name" is synced with another iTunes library. Do you want to erase this iPhone and a sync with this iTunes library? If I click "Erase and Sync," will it delete my contacts, apps, etc?

    The following may help: iOS: Device not recognized in iTunes for Windows

  • How can I get the 23 July update to load onto my iPad. I haven't been able to access my documents or work for weeks and need to use it. Has anyone else had similar problems?

    How can I get the 23 July update to load onto my iPad. I haven't been able to access my documents or work for weeks and need to use it. Has anyone else had similar problems?

    Hello Arthur,
    Thank you for the reply.
    You were correct that deleting the app and reinstalling it was the only thing to make it work but unfortunately I lost all the documents I made, even though they were backed up to iCloud before i deleted the app. At the same time as deleting pages I had to delete keynote and numbers too, so I've lost all the documents in them too.
    The mb of data which was assigned to each programme in iCloud has reduced, so. I guess they are gone for good. Is there any other way to reaccess them?
    Not your fault but I am a bit fed up the the iPad. I have lost work that I've done and have no other copy apart from what was in iCloud, as I don't have a printer and couldn't email them too myself as I couldn't get into the programme and  i've also got episodes of tv series I purchased that I can't download and albums that are half downloaded with songs missing, so I feel a bit swindled out of time and money and am going back to DVD ,  pen and paper and CDs .
    Instead of using iCloud I guess the only way to make sure I don't loose any more documents it to email them to myself each time I save them on the iPad. Is there anything else you could suggest please?
    I don't have any other apple products apart from iPods, so I can't access the iCloud on anything else can I?
    Thanks
    Amanda

  • Print a file to printer wirelessly and without need to use CD drive to install driver?

    I have a HP-P1006 printer in my conference room and sometimes my guest want to send print to my printer and I have to connect their laptop with USB cable to my printer and install printer driver thought CD Drive. I want to know if there is a way to print a file to printer wirelessly and without need to use CD drive to install driver? (I don't have a wireless network in my conference room) 

    Is it possible to automate Adobe Reader to load files, then set the staple property and location, then print them out? I've seen in .NET 3.0 that there is a Enumeration for Stapling in the System.Printing Namespace. I need to figure out how to automate the printing in adobe but right before it prints, have .NET assign the printer and whether it should be stapled or not.

  • HT204074 So a family needs to use the same apple id accross all devices?

    If I am understanding this correctly, a family used computer with different log ids will have to use the same apple id.  Is this correct?

    Welcome to the Apple community.
    Only one of your libraries needs to use your iTunes Store Apple ID for home sharing. Your other computers can use their own ID for iTunes, so long as they use the same ID as all of the devices on the network for home sharing.

  • Do you need to use an email as an apple ID?    We have a family email which is currently the apple ID so I can keep track of purchases but i have 2 iPhones and 2 itouches. Can all 4 devices have different apple ID under the same email address. Also for th

    Do you need to use an email as an apple ID?    We have a family email which is currently the apple ID so I can keep track of purchases but i have 2 iPhones and 2 itouches. Can all 4 devices have different apple ID under the same email address. Also I wanted to know because for the game center we wanted to keep track of each individual not just o e account.  DID I MAKE SENSE

    Figured it out. Thanks.

  • HT201303 I have 2 ID's, use one, old one locked, need to use that email address

    I have 2 Apple ID's, first one was created years ago when i didn't have an iphone but wanted to use iTunes. I no longer use this and it is now locked for security reasons
    The second ID i created when i got my iphone, not realising i could use the first, and i have used this ever since.
    The problem is, the email address used for the 1st account, i need to use that for my current account as my main address/log in, as the email i use now is my old work address.
    How can i use the email from the old account, in my current ac

    It's disappointing that Apple still hasn't made it possible to cancel/delete old ID's, if that was possible, i wouldnt have this problem. I can't change the email address associated on the old ID as that ID is locked.
    No.5 email address, here i come! I only use one as it is!

  • Do I need to use all the hard drive for time machine or can I partition it

    Do I need to use all the hard drive for time machine or can I partition it

    You cannot partition a TC disk.
    See pondini about mixing data and backups.. but remember this.. the TC has no way to back itself up and TM cannot backup files on the TC. Anything not backed up on the TC will be lost at some future point.
    http://pondini.org/TM/TCQ3.html

Maybe you are looking for

  • Using DBMS_APPLICATION_INFO.SET_MODULE to get the number of updated rows.

    hi. i have 2 tables to sync so i use the following code. however i included DBMS_APPLICATION_INFO.SET_MODULE to track the number of rows to be updated, but its not showing in v$sessions view. can anyone tell me what am i missing over here ? DECLARE l

  • PL/SQL Automatic Constraint Handler(Code)

    For those interested... I created the following database code that automatically does the constraint check/return error message for you. You could even take this a step further and create your own message repository... This guy even grabs/checks for

  • My iphone 6 camera quit working

    My Iphone camera does not work with the app open. when I touch the screen circle to take a pic, the home screen returns

  • Switch usage reports to reflect public site on iTunes U?

    Our school started with a private iTunes U channel, then we converted it and went public (Thunderbird School of Global Management). All my usage reports are coming to me with 0 views. I think it is still giving me stats from the private site, which i

  • Not able to see photos edited with photoshop

    Is there an issue with editing a photo with photoshop that has been imported into iphoto and then being able to see the "saved as" version in iPhoto? I have done just this: right-click the thumbnail in iphoto/select "show file"/open with/Photoshop, e