TyphoonPathResource

Objective-C

@interface TyphoonPathResource : NSObject<TyphoonResource>

+ (id <TyphoonResource>)withPath:(NSString *)filePath;

- (instancetype)initWithContentsOfFile:(NSString *)filePath;

@end

Swift

class TyphoonPathResource : NSObject, TyphoonResource

Undocumented

  • Undocumented

    Declaration

    Objective-C

    + (id <TyphoonResource>)withPath:(NSString *)filePath;

    Swift

    class func withPath(_ filePath: String!) -> (any TyphoonResource)!
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithContentsOfFile:(NSString *)filePath;

    Swift

    init!(contentsOfFile filePath: String!)