PopoverViewCompatibility.h 650 B

1234567891011121314151617181920212223
  1. //
  2. // PopoverViewCompatibility.h
  3. // popover
  4. //
  5. // Created by alanduncan on 7/22/13.
  6. // Copyright (c) 2013 Oliver Rickard. All rights reserved.
  7. //
  8. #ifndef popover_PopoverViewCompatibility_h
  9. #define popover_PopoverViewCompatibility_h
  10. #ifdef __IPHONE_6_0
  11. #define UITextAlignmentCenter NSTextAlignmentCenter
  12. #define UITextAlignmentLeft NSTextAlignmentLeft
  13. #define UITextAlignmentRight NSTextAlignmentRight
  14. #define UILineBreakModeTailTruncation NSLineBreakByTruncatingTail
  15. #define UILineBreakModeMiddleTruncation NSLineBreakByTruncatingMiddle
  16. #define UILineBreakModeWordWrap NSLineBreakByWordWrapping
  17. #endif
  18. #endif