• 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
best way to implement a clickable grid?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

best way to implement a clickable grid?


  • Subject: best way to implement a clickable grid?
  • From: "Patrick J. Collins" <email@hidden>
  • Date: Mon, 14 Sep 2015 17:17:40 -0700 (PDT)

Hi everyone,

I am looking to implement something that would look somewhat like a
graphic equalizer.  Meaning, a grid of blocks...  Clicking on a single
grid block would change the appearance of all cells directly under it..
So in other words, clicking on 1,1 would turn on 1,1. but clicking 1,5
woudl turn on 1,5, 1,4, 1,3, 1,2, 1,1...

I am curious if anyone here has a suggestion of what the best design
approach would be for something like this?  Should I just
programatically generate a bunch of NSViews?  Should I overal an
invisible button over each view?  Or is there a better way to handle
click events on a simple NSView?

Any push in the right direction would be greatly appreciated.  Thanks!


Patrick J. Collins
http://collinatorstudios.com

_______________________________________________

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: best way to implement a clickable grid?
      • From: Jonathan Mitchell <email@hidden>
    • Re: best way to implement a clickable grid?
      • From: Uli Kusterer <email@hidden>
    • Re: best way to implement a clickable grid?
      • From: Doug Hill <email@hidden>
    • Re: best way to implement a clickable grid?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Adding Constraints in Code
  • Next by Date: Re: best way to implement a clickable grid?
  • Previous by thread: Re: Adding Constraints in Code
  • Next by thread: Re: best way to implement a clickable grid?
  • Index(es):
    • Date
    • Thread