I have a struct here, which generates errors when Xcode tries to compile it
public struct GATToIPPermissions : OptionSet {
public init(rawValue: UInt)
public static var read: GATToIPPermissions { get {}}
public static var write: GATToIPPermissions { get {}}
public static var event: GATToIPPermissions { get {}}
public static var all: GATToIPPermissions { get {}}
}
The error I get is Type GATToIPPermissions does not conform to protocol RawRepresentable
. However, I dont get any indication as to why it doesn't conform.
Can any of you spot the problem?