Skip to content

Instantly share code, notes, and snippets.

@pgpt10
Last active October 5, 2017 06:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pgpt10/575aaf402224b9ba8d8cb03afbaed973 to your computer and use it in GitHub Desktop.
Save pgpt10/575aaf402224b9ba8d8cb03afbaed973 to your computer and use it in GitHub Desktop.
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