Skip to content

Commit

Permalink
made properties public
Browse files Browse the repository at this point in the history
  • Loading branch information
Honza Dvorsky committed Jul 2, 2015
1 parent d100015 commit 4b07471
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions XcodeServerSDK/Server Entities/DeviceSpecification.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import Foundation

public class DevicePlatform : XcodeServerEntity {

let displayName: String
let version: String
public let displayName: String
public let version: String

public enum PlatformType: String {
case Unknown = "unknown"
Expand All @@ -25,8 +25,8 @@ public class DevicePlatform : XcodeServerEntity {
case Watch = "com.apple.platform.watchsimulator"
}

let type: PlatformType
let simulatorType: SimulatorType?
public let type: PlatformType
public let simulatorType: SimulatorType?

public required init(json: NSDictionary) {

Expand Down Expand Up @@ -80,7 +80,7 @@ public class DevicePlatform : XcodeServerEntity {

public class DeviceFilter : XcodeServerEntity {

var platform: DevicePlatform
public var platform: DevicePlatform

public enum FilterType: Int {
case AllAvailableDevicesAndSimulators = 0
Expand All @@ -89,15 +89,15 @@ public class DeviceFilter : XcodeServerEntity {
case SelectedDevicesAndSimulators = 3
}

let filterType: FilterType
public let filterType: FilterType

public enum ArchitectureType: Int {
case Unknown = -1
case iOS_Like = 0 //also watchOS
case OSX_Like = 1
}

let architectureType: ArchitectureType //TODO: ditto, find out more.
public let architectureType: ArchitectureType //TODO: ditto, find out more.

public required init(json: NSDictionary) {

Expand Down

0 comments on commit 4b07471

Please sign in to comment.