caseiterable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
482d3854a1
commit
214a7e0a67
@ -21,7 +21,7 @@ public enum VDSFontWeight: String, Codable {
|
||||
}
|
||||
}
|
||||
|
||||
public enum VDSTextPosition: String, Codable {
|
||||
public enum VDSTextPosition: String, Codable, CaseIterable {
|
||||
case left, right, center
|
||||
|
||||
var textAlignment: NSTextAlignment {
|
||||
@ -36,7 +36,7 @@ public enum VDSTextPosition: String, Codable {
|
||||
}
|
||||
}
|
||||
|
||||
public enum VDSFontCategory: String, Codable {
|
||||
public enum VDSFontCategory: String, Codable, CaseIterable {
|
||||
case feature
|
||||
case title
|
||||
case body
|
||||
@ -52,7 +52,7 @@ public enum VDSFontCategory: String, Codable {
|
||||
}
|
||||
}
|
||||
|
||||
public enum VDSFontSize: String, Codable {
|
||||
public enum VDSFontSize: String, Codable, CaseIterable {
|
||||
case xxlarge
|
||||
case xlarge
|
||||
case large
|
||||
@ -72,7 +72,7 @@ public enum VDSFontSize: String, Codable {
|
||||
}
|
||||
}
|
||||
|
||||
public enum VDSFontStyle: String, Codable {
|
||||
public enum VDSFontStyle: String, Codable, CaseIterable {
|
||||
public enum Error: Swift.Error {
|
||||
case fontNotFound
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user