uibutton - How to have custom UIControlState in Swift 2.2 using bit masks? -


i have custom uibutton unique states want have like:

enum positioncontrolstate : int {     case available = 0, pending, waiting, approved, declined } 

i've done bit of googling , found stuff bitmasks, , uicontrolstate.application in objective-c. feel have pieces of puzzle, not quite sure how put in swift 2.2.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -