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

    extern 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* _Nonnull AWSDDMakeColor(CGFloat r, CGFloat g, CGFloat b) {return [AWSDDColor colorWithRed:(r/(CGFloat)255.0) green:(g/(CGFloat)255.0) blue:(b/(CGFloat)255.0) alpha:1.0];}

    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()