Bez popisu

TAAbstractDotView.m 823B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // TAAbstractDotView.m
  3. // TAPageControl
  4. //
  5. // Created by Tanguy Aladenise on 2015-01-22.
  6. // Copyright (c) 2015 Tanguy Aladenise. All rights reserved.
  7. //
  8. #import "TAAbstractDotView.h"
  9. @implementation TAAbstractDotView
  10. - (id)init
  11. {
  12. @throw [NSException exceptionWithName:NSInternalInconsistencyException
  13. reason:[NSString stringWithFormat:@"You must override %@ in %@", NSStringFromSelector(_cmd), self.class]
  14. userInfo:nil];
  15. }
  16. - (void)changeActivityState:(BOOL)active
  17. {
  18. @throw [NSException exceptionWithName:NSInternalInconsistencyException
  19. reason:[NSString stringWithFormat:@"You must override %@ in %@", NSStringFromSelector(_cmd), self.class]
  20. userInfo:nil];
  21. }
  22. @end