Last active
October 5, 2017 06:15
-
-
Save pgpt10/575aaf402224b9ba8d8cb03afbaed973 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BaseCell: UITableViewCell | |
{ | |
func isBlank() -> Bool | |
{ | |
return false | |
} | |
func isValid() -> Bool | |
{ | |
return false | |
} | |
} | |
class SampleCell: BaseCell | |
{ | |
override func isValid() -> Bool | |
{ | |
return true | |
} | |
override func isBlank() -> Bool | |
{ | |
return true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment