Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
NSString(SDLEnum)

NSString(SDLEnum) Category Reference

Section Contents

Overview

Extensions to NSString specifically for SDL string enums

-isEqualToEnum:

Returns whether or not two enums are equal.

Objective-C

- (BOOL)isEqualToEnum:(nonnull SDLEnum)enumObj;

Swift

func isEqual(toEnum enumObj: SDLEnum) -> Bool

Parameters

enumObj

A SDLEnum object

Return Value

YES if the two enums are equal. NO if not.

View on GitHub.com
Previous Section Next Section