TSInstruction.h 791 B

12345678910111213141516171819202122232425262728
  1. /**
  2. * Name: TechSupport
  3. * Type: iOS framework
  4. * Desc: iOS framework to assist in providing support for and receiving issue
  5. * reports and feedback from users.
  6. *
  7. * Author: Lance Fetters (aka. ashikase)
  8. * License: LGPL v3 (See LICENSE file for details)
  9. */
  10. #import <UIKit/UIKit.h>
  11. @class TSPackage;
  12. @interface TSInstruction : NSObject
  13. @property(nonatomic, copy) NSString *title;
  14. @property(nonatomic, readonly) NSArray *tokens;
  15. + (instancetype)instructionWithString:(NSString *)string;
  16. + (NSArray *)instructionsWithString:(NSString *)string;
  17. + (void)flushInstructions;
  18. - (instancetype)initWithTokens:(NSArray *)tokens;
  19. - (NSComparisonResult)compare:(TSInstruction *)other;
  20. @end
  21. NSString *stripQuotes(NSString *string);
  22. /* vim: set ft=objc ff=unix sw=4 ts=4 tw=80 expandtab: */