Functions

The following functions are available globally.

  • Undocumented

    Declaration

    Objective-C

    void awsgzip_loadGZIP(void)

    Swift

    func awsgzip_loadGZIP()
  • Extracts just the file name, no path or extension

    Declaration

    Objective-C

    NSString *_Nullable AWSDDExtractFileNameWithoutExtension(
        const char *_Nonnull filePath, BOOL copy)

    Swift

    func AWSDDExtractFileNameWithoutExtension(_ filePath: UnsafePointer<CChar>, _ copy: Bool) -> String?

    Parameters

    filePath

    input file path

    copy

    YES if we want the result to be copied

    Return Value

    the file name

  • Undocumented

    Declaration

    Objective-C

    static inline AWSDDColor* AWSDDMakeColor(CGFloat r, CGFloat g, CGFloat b) {return [AWSDDColor colorWithRed:(r/255.0f) green:(g/255.0f) blue:(b/255.0f) alpha:1.0f];}

    Swift

    func AWSDDMakeColor(_ r: CGFloat, _ g: CGFloat, _ b: CGFloat) -> UIColor!
  • Undocumented

    Declaration

    Objective-C

    void awsmtl_loadMTLNSCoding(void)

    Swift

    func awsmtl_loadMTLNSCoding()
  • Undocumented

    Declaration

    Objective-C

    BOOL AWSMTLEqualObjects(id obj1, id obj2)

    Swift

    func AWSMTLEqualObjects(_ obj1: Any!, _ obj2: Any!) -> Bool
  • Undocumented

    Declaration

    Objective-C

    void awsmtl_loadMTLPredefinedTransformerAdditions(void)

    Swift

    func awsmtl_loadMTLPredefinedTransformerAdditions()