SignpostDetailsObject

Objective-C


@interface SignpostDetailsObject : NSObject

Swift

class SignpostDetailsObject : NSObject

This class encapsulates signpost information.

  • Initializes and returns a newly allocated object using the model data.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithModelData:(nonnull void *)data;
  • Returns the model data.

    Declaration

    Objective-C

    - (nonnull void *)getModelData;
  • Check the text color for the signpost.

    Declaration

    Objective-C

    - (BOOL)hasTextColor;

    Swift

    func hasTextColor() -> Bool
  • Get the text color for the signpost.

    Declaration

    Objective-C

    - (nonnull UIColor *)getTextColor;

    Swift

    func getTextColor() -> UIColor
  • Check the background color for the signpost.

    Declaration

    Objective-C

    - (BOOL)hasBackgroundColor;

    Swift

    func hasBackgroundColor() -> Bool
  • Returns the background color for the signpost.

    Declaration

    Objective-C

    - (nonnull UIColor *)getBackgroundColor;

    Swift

    func getBackgroundColor() -> UIColor
  • Returns the signpost image.

    Declaration

    Objective-C

    - (nullable UIImage *)getImage:(CGSize)size;

    Swift

    func getImage(_ size: CGSize) -> UIImage?

    Parameters

    size

    The size of the image.