GPKGDgiwgFile

Objective-C

@interface GPKGDgiwgFile : NSObject

Swift

class GPKGDgiwgFile : NSObject

DGIWG (Defence Geospatial Information Working Group) GeoPackage File

  • GeoPackage File

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *file;

    Swift

    var file: String! { get set }
  • DGIWG File Name

    Declaration

    Objective-C

    @property (nonatomic, strong) GPKGDgiwgFileName *fileName;

    Swift

    var fileName: GPKGDgiwgFileName! { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithFile:(NSString *)file;

    Swift

    init!(file: String!)

    Parameters

    file

    GeoPackage file name or path

    Return Value

    new file

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithFile:(NSString *)file
                     andFileName:(GPKGDgiwgFileName *)fileName;

    Swift

    init!(file: String!, andFileName fileName: GPKGDgiwgFileName!)

    Parameters

    file

    GeoPackage file name or path

    fileName

    DGIWG file name

    Return Value

    new file

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithFile:(NSString *)file andName:(NSString *)fileName;

    Swift

    init!(file: String!, andName fileName: String!)

    Parameters

    file

    GeoPackage file name or path

    fileName

    file name

    Return Value

    new file

  • Get the file name

    Declaration

    Objective-C

    - (NSString *)name;

    Swift

    func name() -> String!

    Return Value

    file name

  • Set the DGIWG file name

    Declaration

    Objective-C

    - (void)setFileNameFromFile:(NSString *)file;

    Swift

    func setFileNameFrom(_ file: String!)

    Parameters

    file

    GeoPackage file