lundi 26 septembre 2016

Swift OSX programmatically create checkbox buttons

I would like to programmatically add buttons to a NSScrollView "folderScrollView". In the full application it will have anywhere from 3-8 folders. I looked up the documentation for swift 3 but it says that "init(checkboxWithTitle: String, target: Any?, action: Selector?)" is only available with 10.12, I need to use it on 10.10 computers.

enter image description here




Aucun commentaire:

Enregistrer un commentaire