Created
February 5, 2018 16:25
-
-
Save yyjim/963333e69cf985366a2dc4caf54fef6f to your computer and use it in GitHub Desktop.
NS_STRING_ENUM example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Media types | |
// Reference: AVMediaType | |
typedef NSString * CBMediaType NS_STRING_ENUM; | |
FOUNDATION_EXPORT CBMediaType const CBMediaTypeImage; | |
FOUNDATION_EXPORT CBMediaType const CBMediaTypeVideo; | |
FOUNDATION_EXPORT CBMediaType const CBMediaTypeGif; | |
FOUNDATION_EXPORT CBMediaType const CBMediaTypeAnimatedOutput; | |
CBMediaType const CBMediaTypeImage = @"image"; | |
CBMediaType const CBMediaTypeVideo = @"video"; | |
CBMediaType const CBMediaTypeGif = @"gif"; | |
CBMediaType const CBMediaTypeAnimatedOutput = @"animated_output"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment