• 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
Image bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Image bindings


  • Subject: Image bindings
  • From: Jasper Van Proeyen <email@hidden>
  • Date: Mon, 22 Nov 2010 16:11:49 +0100

Hi there,

I'm currently reading Shane Stanley's book (which has been great so far btw) to port my ASS applications to ASObjC.

One of the ASS apps I'm trying to convert is a lottery app where the user has to click a button and a random number between given ranges (from a table) is displayed via 6 separate images.
e.g. "3", "1", "7", "5", "2", "9" are 6 images loaded in 6 separate image views.

I was wondering if I can accomplish this image-loading-task with bindings:
- I can't seem to find an example of binding images. Can anyone lead me in the right direction if possible?
- Now I have one number, e.g. 317529. Can I get every "character" of that number separately into a "Model Key Path", or, can I accomplish this via "Display Pattern"?

Sorry if my terminology is not right - I'm still struggling with that.

TIA,
Jasper.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Image bindings
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: NSControl - Mass disabling of all text objects on a window.
  • Next by Date: Re: Image bindings
  • Previous by thread: Re: NSControl - Mass disabling of all text objects on a window.
  • Next by thread: Re: Image bindings
  • Index(es):
    • Date
    • Thread