objective c - Changing collectionview button's image in Cocoa -
tools: xcode, objective-c, mac, cocoa
purpose: creating collection view many buttons. each button opens file in folder , each of them has background picture of file (for example: jpeg file) looks see in folder.
question: how make each button have different image? also, difficult beginner?
p.s. : if did without collectionview option, drag button on xib , change background images, need window collapsable , scrollable, hence using collection view.
i appreciate comments/help/answers. thanks!
this should not difficult. collectionview holds collection of collectionviewitems. inside item can create views need. 1 of them nsimageview set @ runtime image like. suggest play around collectionview , f samples apple provides on it.
Comments
Post a Comment