Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func checkBtn () {
- // btnDone.isEnabled = self.contactSelectViewList.count > 0 ? true : false
- if self.contactSelectViewList.count > 0 {
- btnDone.isEnabled = true
- }
- else {
- if arrEmployeeCount?.count > 0 {
- btnDone.isEnabled = true
- }
- else {
- btnDone.isEnabled = false
- }
- }
- }
Add Comment
Please, Sign In to add comment