mirror of
https://github.com/bzotto/ClassicMacTypography.git
synced 2025-02-19 19:30:47 +00:00
20 lines
532 B
Objective-C
20 lines
532 B
Objective-C
//
|
|
// MacRomanString.h
|
|
// Copyright © 2018 Ben Zotto. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface MacRomanString : NSObject
|
|
@property (readonly) NSUInteger length;
|
|
- (id)initWithCString:(const char *)cstring;
|
|
- (id)initWithCChars:(const char *)cchars length:(NSUInteger)length;
|
|
- (unsigned char)characterAtIndex:(NSUInteger)index;
|
|
- (MacRomanString *)substringWithRange:(NSRange)range;
|
|
@end
|
|
|
|
// Handy category for NSString
|
|
@interface NSString (MacRomanString)
|
|
- (MacRomanString *)macRomanString;
|
|
@end
|