best way to implement a clickable grid?
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