Skip to content

Commit

Permalink
Enums CaseIterable
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Khokhlov authored and Alexey Khokhlov committed Sep 25, 2018
1 parent 35807cd commit c15b956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/GeneratedMessage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public protocol GeneratedMessageProtocol: ProtocolBuffersMessage {
}


public protocol GeneratedEnum:RawRepresentable, CustomDebugStringConvertible, CustomStringConvertible, Hashable {
public protocol GeneratedEnum:RawRepresentable, CustomDebugStringConvertible, CustomStringConvertible, Hashable, CaseIterable {
func toString() -> String
static func fromString(_ str:String) throws -> Self
}
Expand Down

0 comments on commit c15b956

Please sign in to comment.