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
Post a Comment