How do i create a NSView filled with SLTColoredButtons from a click off the matrix Calendar?
clanmill you know the calendar you and me created. well the next part is how can i create a custom view filled with SLTColoredButtons. but the view contents are saved deepened on the day that it was clicked.
maybe NSCollectionView is something im going to have t work with but i have no idea how to get that to work with Snow Leo.
so if you click on monday it will show up buttons that have been used on that day of the color that they are in.
i quess wat im asking is how can i generate a view from a matrix cell and save the contents for that cell?
--------------------------------------------------------------------------------------------------------------------------------------------------------
here is the SLTColoredButton Class... it was originaly CCDColoredButton but i modifed it by make the button change color on every click.
Attachment: colorButton.zip (2426.0KB)
Apologies. I don't know what you're asking me.
I've never worked with NSCollectionView. There's a discussion here about it:
http://www.cocoadev.com/index.pl?NSCollectionView
And Apple have some same code in "SourceView" which looks some kind of merge of Safari and Finder.