First functioning version

This commit is contained in:
Andrew Naylor 2015-08-02 21:38:38 +01:00
parent 7e0e18d833
commit dcef2608ab
199 changed files with 7229 additions and 7 deletions

33
Box/Box.swift Normal file
View file

@ -0,0 +1,33 @@
// Copyright (c) 2014 Rob Rix. All rights reserved.
/// Wraps a type `T` in a reference type.
///
/// Typically this is used to work around limitations of value types (for example, the lack of codegen for recursive value types and type-parameterized enums with >1 case). It is also useful for sharing a single (presumably large) value without copying it.
public final class Box<T>: BoxType, CustomStringConvertible {
/// Initializes a `Box` with the given value.
public init(_ value: T) {
self.value = value
}
/// Constructs a `Box` with the given `value`.
public class func unit(value: T) -> Box<T> {
return Box(value)
}
/// The (immutable) value wrapped by the receiver.
public let value: T
/// Constructs a new Box by transforming `value` by `f`.
public func map<U>(@noescape f: T -> U) -> Box<U> {
return Box<U>(f(value))
}
// MARK: Printable
public var description: String {
return String(value)
}
}

46
Box/BoxType.swift Normal file
View file

@ -0,0 +1,46 @@
// Copyright (c) 2014 Rob Rix. All rights reserved.
// MARK: BoxType
/// The type conformed to by all boxes.
public protocol BoxType {
/// The type of the wrapped value.
typealias Value
/// Initializes an intance of the type with a value.
init(_ value: Value)
/// The wrapped value.
var value: Value { get }
}
/// The type conformed to by mutable boxes.
public protocol MutableBoxType: BoxType {
/// The (mutable) wrapped value.
var value: Value { get set }
}
// MARK: Equality
/// Equality of `BoxType`s of `Equatable` types.
///
/// We cannot declare that e.g. `Box<T: Equatable>` conforms to `Equatable`, so this is a relatively ad hoc definition.
public func == <B: BoxType where B.Value: Equatable> (lhs: B, rhs: B) -> Bool {
return lhs.value == rhs.value
}
/// Inequality of `BoxType`s of `Equatable` types.
///
/// We cannot declare that e.g. `Box<T: Equatable>` conforms to `Equatable`, so this is a relatively ad hoc definition.
public func != <B: BoxType where B.Value: Equatable> (lhs: B, rhs: B) -> Bool {
return lhs.value != rhs.value
}
// MARK: Map
/// Maps the value of a box into a new box.
public func map<B: BoxType, C: BoxType>(v: B, @noescape f: B.Value -> C.Value) -> C {
return C(f(v.value))
}

27
Box/MutableBox.swift Normal file
View file

@ -0,0 +1,27 @@
// Copyright (c) 2014 Rob Rix. All rights reserved.
/// Wraps a type `T` in a mutable reference type.
///
/// While this, like `Box<T>` could be used to work around limitations of value types, it is much more useful for sharing a single mutable value such that mutations are shared.
///
/// As with all mutable state, this should be used carefully, for example as an optimization, rather than a default design choice. Most of the time, `Box<T>` will suffice where any `BoxType` is needed.
public final class MutableBox<T>: MutableBoxType, CustomStringConvertible {
/// Initializes a `MutableBox` with the given value.
public init(_ value: T) {
self.value = value
}
/// The (mutable) value wrapped by the receiver.
public var value: T
/// Constructs a new MutableBox by transforming `value` by `f`.
public func map<U>(@noescape f: T -> U) -> MutableBox<U> {
return MutableBox<U>(f(value))
}
// MARK: Printable
public var description: String {
return String(value)
}
}

View file

@ -0,0 +1,189 @@
//
// ArgumentParser.swift
// Commandant
//
// Created by Justin Spahr-Summers on 2014-11-21.
// Copyright (c) 2014 Carthage. All rights reserved.
//
import Foundation
/// Represents an argument passed on the command line.
private enum RawArgument: Equatable {
/// A key corresponding to an option (e.g., `verbose` for `--verbose`).
case Key(String)
/// A value, either associated with an option or passed as a positional
/// argument.
case Value(String)
/// One or more flag arguments (e.g 'r' and 'f' for `-rf`)
case Flag(Set<Character>)
}
private func ==(lhs: RawArgument, rhs: RawArgument) -> Bool {
switch (lhs, rhs) {
case let (.Key(left), .Key(right)):
return left == right
case let (.Value(left), .Value(right)):
return left == right
case let (.Flag(left), .Flag(right)):
return left == right
default:
return false
}
}
extension RawArgument: CustomStringConvertible {
private var description: String {
switch self {
case let .Key(key):
return "--\(key)"
case let .Value(value):
return "\"\(value)\""
case let .Flag(flags):
return "-\(String(flags))"
}
}
}
/// Destructively parses a list of command-line arguments.
public final class ArgumentParser {
/// The remaining arguments to be extracted, in their raw form.
private var rawArguments: [RawArgument] = []
/// Initializes the generator from a simple list of command-line arguments.
public init(_ arguments: [String]) {
// The first instance of `--` terminates the option list.
let params = split(arguments, maxSplit: 1, allowEmptySlices: true) { $0 == "--" }
// Parse out the keyed and flag options.
let options = params.first!
rawArguments.extend(options.map { arg in
if arg.hasPrefix("-") {
// Do we have `--{key}` or `-{flags}`.
let opt = dropFirst(arg.characters)
return String(opt).hasPrefix("-") ? .Key(String(dropFirst(opt))) : .Flag(Set(opt))
} else {
return .Value(arg)
}
})
// Remaining arguments are all positional parameters.
if params.count == 2 {
let positional = params.last!
rawArguments.extend(Array(positional.map { .Value($0) }))
}
}
/// Returns whether the given key was enabled or disabled, or nil if it
/// was not given at all.
///
/// If the key is found, it is then removed from the list of arguments
/// remaining to be parsed.
internal func consumeBooleanKey(key: String) -> Bool? {
let oldArguments = rawArguments
rawArguments.removeAll()
var result: Bool?
for arg in oldArguments {
if arg == .Key(key) {
result = true
} else if arg == .Key("no-\(key)") {
result = false
} else {
rawArguments.append(arg)
}
}
return result
}
/// Returns the value associated with the given flag, or nil if the flag was
/// not specified. If the key is presented, but no value was given, an error
/// is returned.
///
/// If a value is found, the key and the value are both removed from the
/// list of arguments remaining to be parsed.
internal func consumeValueForKey(key: String) -> Result<String?, CommandantError<NoError>> {
let oldArguments = rawArguments
rawArguments.removeAll()
var foundValue: String?
argumentLoop: for var index = 0; index < oldArguments.count; index++ {
let arg = oldArguments[index]
if arg == .Key(key) {
if ++index < oldArguments.count {
switch oldArguments[index] {
case let .Value(value):
foundValue = value
continue argumentLoop
default:
break
}
}
return .Failure(missingArgumentError("--\(key)"))
} else {
rawArguments.append(arg)
}
}
return .Success(foundValue)
}
/// Returns the next positional argument that hasn't yet been returned, or
/// nil if there are no more positional arguments.
internal func consumePositionalArgument() -> String? {
for var index = 0; index < rawArguments.count; index++ {
switch rawArguments[index] {
case let .Value(value):
rawArguments.removeAtIndex(index)
return value
default:
break
}
}
return nil
}
/// Returns whether the given key was specified and removes it from the
/// list of arguments remaining.
internal func consumeKey(key: String) -> Bool {
let oldArguments = rawArguments
rawArguments = oldArguments.filter { $0 != .Key(key) }
return rawArguments.count < oldArguments.count
}
/// Returns whether the given flag was specified and removes it from the
/// list of arguments remaining.
internal func consumeBooleanFlag(flag: Character) -> Bool {
for (index, arg) in rawArguments.enumerate() {
switch arg {
case var .Flag(flags) where flags.contains(flag):
flags.remove(flag)
if flags.isEmpty {
rawArguments.removeAtIndex(index)
} else {
rawArguments[index] = .Flag(flags)
}
return true
default:
break
}
}
return false
}
}

137
Commandant/Command.swift Normal file
View file

@ -0,0 +1,137 @@
//
// Command.swift
// Commandant
//
// Created by Justin Spahr-Summers on 2014-10-10.
// Copyright (c) 2014 Carthage. All rights reserved.
//
import Foundation
/// Represents a subcommand that can be executed with its own set of arguments.
public protocol CommandType {
typealias ClientError
/// The action that users should specify to use this subcommand (e.g.,
/// `help`).
var verb: String { get }
/// A human-readable, high-level description of what this command is used
/// for.
var function: String { get }
/// Runs this subcommand in the given mode.
func run(mode: CommandMode) -> Result<(), CommandantError<ClientError>>
}
/// A type-erased CommandType.
public struct CommandOf<ClientError>: CommandType {
public let verb: String
public let function: String
private let runClosure: CommandMode -> Result<(), CommandantError<ClientError>>
/// Creates a command that wraps another.
public init<C: CommandType where C.ClientError == ClientError>(_ command: C) {
verb = command.verb
function = command.function
runClosure = { mode in command.run(mode) }
}
public func run(mode: CommandMode) -> Result<(), CommandantError<ClientError>> {
return runClosure(mode)
}
}
/// Describes the "mode" in which a command should run.
public enum CommandMode {
/// Options should be parsed from the given command-line arguments.
case Arguments(ArgumentParser)
/// Each option should record its usage information in an error, for
/// presentation to the user.
case Usage
}
/// Maintains the list of commands available to run.
public final class CommandRegistry<ClientError> {
private var commandsByVerb: [String: CommandOf<ClientError>] = [:]
/// All available commands.
public var commands: [CommandOf<ClientError>] {
return commandsByVerb.values.sort { return $0.verb < $1.verb }
}
public init() {}
/// Registers the given command, making it available to run.
///
/// If another command was already registered with the same `verb`, it will
/// be overwritten.
public func register<C: CommandType where C.ClientError == ClientError>(command: C) {
commandsByVerb[command.verb] = CommandOf(command)
}
/// Runs the command corresponding to the given verb, passing it the given
/// arguments.
///
/// Returns the results of the execution, or nil if no such command exists.
public func runCommand(verb: String, arguments: [String]) -> Result<(), CommandantError<ClientError>>? {
return self[verb]?.run(.Arguments(ArgumentParser(arguments)))
}
/// Returns the command matching the given verb, or nil if no such command
/// is registered.
public subscript(verb: String) -> CommandOf<ClientError>? {
return commandsByVerb[verb]
}
}
extension CommandRegistry {
/// Hands off execution to the CommandRegistry, by parsing Process.arguments
/// and then running whichever command has been identified in the argument
/// list.
///
/// If the chosen command executes successfully, the process will exit with
/// a successful exit code.
///
/// If the chosen command fails, the provided error handler will be invoked,
/// then the process will exit with a failure exit code.
///
/// If a matching command could not be found or a usage error occurred,
/// a helpful error message will be written to `stderr`, then the process
/// will exit with a failure error code.
@noreturn public func main(defaultVerb defaultVerb: String, errorHandler: ClientError -> ()) {
var arguments = Process.arguments
assert(arguments.count >= 1)
// Extract the executable name.
let executableName = arguments.first!
arguments.removeAtIndex(0)
let verb = arguments.first ?? defaultVerb
if arguments.count > 0 {
// Remove the command name.
arguments.removeAtIndex(0)
}
switch runCommand(verb, arguments: arguments) {
case .Some(.Success):
exit(EXIT_SUCCESS)
case let .Some(.Failure(error)):
switch error {
case let .UsageError(description):
fputs(description + "\n", stderr)
case let .CommandError(error):
errorHandler(error)
}
exit(EXIT_FAILURE)
case .None:
fputs("Unrecognized command: '\(verb)'. See `\(executableName) help`.\n", stderr)
exit(EXIT_FAILURE)
}
}
}

17
Commandant/Commandant.h Normal file
View file

@ -0,0 +1,17 @@
//
// Commandant.h
// Commandant
//
// Created by Justin Spahr-Summers on 2014-11-21.
// Copyright (c) 2014 Carthage. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for Commandant.
FOUNDATION_EXPORT double CommandantVersionNumber;
//! Project version string for Commandant.
FOUNDATION_EXPORT const unsigned char CommandantVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <Commandant/PublicHeader.h>

114
Commandant/Errors.swift Normal file
View file

@ -0,0 +1,114 @@
//
// Errors.swift
// Commandant
//
// Created by Justin Spahr-Summers on 2014-10-24.
// Copyright (c) 2014 Carthage. All rights reserved.
//
import Foundation
/// Possible errors that can originate from Commandant.
///
/// `ClientError` should be the type of error (if any) that can occur when
/// running commands.
public enum CommandantError<ClientError>: ErrorType {
/// An option was used incorrectly.
case UsageError(description: String)
/// An error occurred while running a command.
case CommandError(ClientError)
}
extension CommandantError: CustomStringConvertible {
public var description: String {
switch self {
case let .UsageError(description):
return description
case let .CommandError(error):
return String(error)
}
}
}
/// Used to represent that a ClientError will never occur.
internal enum NoError {}
/// Constructs an `InvalidArgument` error that indicates a missing value for
/// the argument by the given name.
internal func missingArgumentError<ClientError>(argumentName: String) -> CommandantError<ClientError> {
let description = "Missing argument for \(argumentName)"
return .UsageError(description: description)
}
/// Constructs an error by combining the example of key (and value, if applicable)
/// with the usage description.
internal func informativeUsageError<ClientError>(keyValueExample: String, usage: String) -> CommandantError<ClientError> {
let lines = usage.componentsSeparatedByCharactersInSet(NSCharacterSet.newlineCharacterSet())
return .UsageError(description: lines.reduce(keyValueExample) { previous, value in
return previous + "\n\t" + value
})
}
/// Constructs an error that describes how to use the option, with the given
/// example of key (and value, if applicable) usage.
internal func informativeUsageError<T, ClientError>(keyValueExample: String, option: Option<T>) -> CommandantError<ClientError> {
if option.defaultValue != nil {
return informativeUsageError("[\(keyValueExample)]", usage: option.usage)
} else {
return informativeUsageError(keyValueExample, usage: option.usage)
}
}
/// Constructs an error that describes how to use the option.
internal func informativeUsageError<T: ArgumentType, ClientError>(option: Option<T>) -> CommandantError<ClientError> {
var example = ""
if let key = option.key {
example += "--\(key) "
}
var valueExample = ""
if let defaultValue = option.defaultValue {
valueExample = "\(defaultValue)"
}
if valueExample.isEmpty {
example += "(\(T.name))"
} else {
example += valueExample
}
return informativeUsageError(example, option: option)
}
/// Constructs an error that describes how to use the given boolean option.
internal func informativeUsageError<ClientError>(option: Option<Bool>) -> CommandantError<ClientError> {
precondition(option.key != nil)
let key = option.key!
if let defaultValue = option.defaultValue {
return informativeUsageError((defaultValue ? "--no-\(key)" : "--\(key)"), option: option)
} else {
return informativeUsageError("--(no-)\(key)", option: option)
}
}
/// Combines the text of the two errors, if they're both `UsageError`s.
/// Otherwise, uses whichever one is not (biased toward the left).
internal func combineUsageErrors<ClientError>(lhs: CommandantError<ClientError>, rhs: CommandantError<ClientError>) -> CommandantError<ClientError> {
switch (lhs, rhs) {
case let (.UsageError(left), .UsageError(right)):
let combinedDescription = "\(left)\n\n\(right)"
return .UsageError(description: combinedDescription)
case (.UsageError, _):
return rhs
case (_, .UsageError), (_, _):
return lhs
}
}

View file

@ -0,0 +1,77 @@
//
// HelpCommand.swift
// Commandant
//
// Created by Justin Spahr-Summers on 2014-10-10.
// Copyright (c) 2014 Carthage. All rights reserved.
//
import Foundation
/// A basic implementation of a `help` command, using information available in a
/// `CommandRegistry`.
///
/// If you want to use this command, initialize it with the registry, then add
/// it to that same registry:
///
/// let commands: CommandRegistry<MyErrorType> =
/// let helpCommand = HelpCommand(registry: commands)
/// commands.register(helpCommand)
public struct HelpCommand<ClientError>: CommandType {
public let verb = "help"
public let function = "Display general or command-specific help"
private let registry: CommandRegistry<ClientError>
/// Initializes the command to provide help from the given registry of
/// commands.
public init(registry: CommandRegistry<ClientError>) {
self.registry = registry
}
public func run(mode: CommandMode) -> Result<(), CommandantError<ClientError>> {
return HelpOptions<ClientError>.evaluate(mode)
.flatMap { options in
if let verb = options.verb {
if let command = self.registry[verb] {
print(command.function + "\n")
return command.run(.Usage)
} else {
fputs("Unrecognized command: '\(verb)'\n", stderr)
}
}
print("Available commands:\n")
let maxVerbLength = self.registry.commands.map { $0.verb.characters.count }.maxElement() ?? 0
for command in self.registry.commands {
let padding = Repeat<Character>(count: maxVerbLength - command.verb.characters.count, repeatedValue: " ")
var formattedVerb = command.verb
formattedVerb.extend(padding)
print(" \(formattedVerb) \(command.function)")
}
return .Success(())
}
}
}
private struct HelpOptions<ClientError>: OptionsType {
let verb: String?
init(verb: String?) {
self.verb = verb
}
static func create(verb: String) -> HelpOptions {
return self.init(verb: (verb == "" ? nil : verb))
}
static func evaluate(m: CommandMode) -> Result<HelpOptions, CommandantError<ClientError>> {
return create
<*> m <| Option(defaultValue: "", usage: "the command to display help for")
}
}

28
Commandant/Info.plist Normal file
View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2014 Carthage. All rights reserved.</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>

254
Commandant/Option.swift Normal file
View file

@ -0,0 +1,254 @@
//
// Option.swift
// Commandant
//
// Created by Justin Spahr-Summers on 2014-11-21.
// Copyright (c) 2014 Carthage. All rights reserved.
//
import Foundation
/// Represents a record of options for a command, which can be parsed from
/// a list of command-line arguments.
///
/// This is most helpful when used in conjunction with the `Option` and `Switch`
/// types, and `<*>` and `<|` combinators.
///
/// Example:
///
/// struct LogOptions: OptionsType {
/// let verbosity: Int
/// let outputFilename: String
/// let logName: String
///
/// static func create(verbosity: Int)(outputFilename: String)(logName: String) -> LogOptions {
/// return LogOptions(verbosity: verbosity, outputFilename: outputFilename, logName: logName)
/// }
///
/// static func evaluate(m: CommandMode) -> Result<LogOptions> {
/// return create
/// <*> m <| Option(key: "verbose", defaultValue: 0, usage: "the verbosity level with which to read the logs")
/// <*> m <| Option(key: "outputFilename", defaultValue: "", usage: "a file to print output to, instead of stdout")
/// <*> m <| Switch(flag: "d", key: "delete", defaultValue: false, usage: "delete the logs when finished")
/// <*> m <| Option(usage: "the log to read")
/// }
/// }
public protocol OptionsType {
typealias ClientError
/// Evaluates this set of options in the given mode.
///
/// Returns the parsed options or a `UsageError`.
static func evaluate(m: CommandMode) -> Result<Self, CommandantError<ClientError>>
}
/// Describes an option that can be provided on the command line.
public struct Option<T> {
/// The key that controls this option. For example, a key of `verbose` would
/// be used for a `--verbose` option.
///
/// If this is nil, this option will not have a corresponding flag, and must
/// be specified as a plain value at the end of the argument list.
///
/// This must be non-nil for a boolean option.
public let key: String?
/// The default value for this option. This is the value that will be used
/// if the option is never explicitly specified on the command line.
///
/// If this is nil, this option is always required.
public let defaultValue: T?
/// A human-readable string describing the purpose of this option. This will
/// be shown in help messages.
///
/// For boolean operations, this should describe the effect of _not_ using
/// the default value (i.e., what will happen if you disable/enable the flag
/// differently from the default).
public let usage: String
public init(key: String? = nil, defaultValue: T? = nil, usage: String) {
self.key = key
self.defaultValue = defaultValue
self.usage = usage
}
/// Constructs an `InvalidArgument` error that describes how the option was
/// used incorrectly. `value` should be the invalid value given by the user.
private func invalidUsageError<ClientError>(value: String) -> CommandantError<ClientError> {
let description = "Invalid value for '\(self)': \(value)"
return .UsageError(description: description)
}
}
extension Option: CustomStringConvertible {
public var description: String {
if let key = key {
return "--\(key)"
} else {
return usage
}
}
}
/// Represents a value that can be converted from a command-line argument.
public protocol ArgumentType {
/// A human-readable name for this type.
static var name: String { get }
/// Attempts to parse a value from the given command-line argument.
static func fromString(string: String) -> Self?
}
extension Int: ArgumentType {
public static let name = "integer"
public static func fromString(string: String) -> Int? {
return Int(string)
}
}
extension UInt64: ArgumentType {
public static let name = "integer"
public static func fromString(string: String) -> UInt64? {
return UInt64(string, radix: 10)
}
}
extension String: ArgumentType {
public static let name = "string"
public static func fromString(string: String) -> String? {
return string
}
}
// Inspired by the Argo library:
// https://github.com/thoughtbot/Argo
/*
Copyright (c) 2014 thoughtbot, inc.
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
infix operator <*> {
associativity left
}
infix operator <| {
associativity left
precedence 150
}
/// Applies `f` to the value in the given result.
///
/// In the context of command-line option parsing, this is used to chain
/// together the parsing of multiple arguments. See OptionsType for an example.
public func <*> <T, U, ClientError>(f: T -> U, value: Result<T, CommandantError<ClientError>>) -> Result<U, CommandantError<ClientError>> {
return value.map(f)
}
/// Applies the function in `f` to the value in the given result.
///
/// In the context of command-line option parsing, this is used to chain
/// together the parsing of multiple arguments. See OptionsType for an example.
public func <*> <T, U, ClientError>(f: Result<(T -> U), CommandantError<ClientError>>, value: Result<T, CommandantError<ClientError>>) -> Result<U, CommandantError<ClientError>> {
switch (f, value) {
case let (.Failure(left), .Failure(right)):
return .Failure(combineUsageErrors(left, rhs: right))
case let (.Failure(left), .Success):
return .Failure(left)
case let (.Success, .Failure(right)):
return .Failure(right)
case let (.Success(f), .Success(value)):
let newValue = f(value)
return .Success(newValue)
}
}
/// Evaluates the given option in the given mode.
///
/// If parsing command line arguments, and no value was specified on the command
/// line, the option's `defaultValue` is used.
public func <| <T: ArgumentType, ClientError>(mode: CommandMode, option: Option<T>) -> Result<T, CommandantError<ClientError>> {
switch mode {
case let .Arguments(arguments):
var stringValue: String?
if let key = option.key {
switch arguments.consumeValueForKey(key) {
case let .Success(value):
stringValue = value
case let .Failure(error):
switch error {
case let .UsageError(description):
return .Failure(.UsageError(description: description))
case .CommandError:
fatalError("CommandError should be impossible when parameterized over NoError")
}
}
} else {
stringValue = arguments.consumePositionalArgument()
}
if let stringValue = stringValue {
if let value = T.fromString(stringValue) {
return .Success(value)
}
return .Failure(option.invalidUsageError(stringValue))
} else if let defaultValue = option.defaultValue {
return .Success(defaultValue)
} else {
return .Failure(missingArgumentError(option.description))
}
case .Usage:
return .Failure(informativeUsageError(option))
}
}
/// Evaluates the given boolean option in the given mode.
///
/// If parsing command line arguments, and no value was specified on the command
/// line, the option's `defaultValue` is used.
public func <| <ClientError>(mode: CommandMode, option: Option<Bool>) -> Result<Bool, CommandantError<ClientError>> {
precondition(option.key != nil)
switch mode {
case let .Arguments(arguments):
if let value = arguments.consumeBooleanKey(option.key!) {
return .Success(value)
} else if let defaultValue = option.defaultValue {
return .Success(defaultValue)
} else {
return .Failure(missingArgumentError(option.description))
}
case .Usage:
return .Failure(informativeUsageError(option))
}
}

62
Commandant/Switch.swift Normal file
View file

@ -0,0 +1,62 @@
//
// Switch.swift
// Commandant
//
// Created by Neil Pankey on 3/31/15.
// Copyright (c) 2015 Carthage. All rights reserved.
//
/// Describes a parameterless command line flag that defaults to false and can only
/// be switched on. Canonical examples include `--force` and `--recurse`.
///
/// For a boolean toggle that can be enabled and disabled use `Option<Bool>`.
public struct Switch {
/// The key that enables this switch. For example, a key of `verbose` would be
/// used for a `--verbose` option.
public let key: String
/// Optional single letter flag that enables this switch. For example, `-v` would
/// be used as a shorthand for `--verbose`.
///
/// Multiple flags can be grouped together as a single argument and will split
/// when parsing (e.g. `rm -rf` treats 'r' and 'f' as inidividual flags).
public let flag: Character?
/// A human-readable string describing the purpose of this option. This will
/// be shown in help messages.
public let usage: String
public init(flag: Character? = nil, key: String, usage: String) {
self.flag = flag
self.key = key
self.usage = usage
}
}
extension Switch: CustomStringConvertible {
public var description: String {
var options = "--\(key)"
if let flag = self.flag {
options += "|-\(flag)"
}
return options
}
}
/// Evaluates the given boolean switch in the given mode.
///
/// If parsing command line arguments, and no value was specified on the command
/// line, the option's `defaultValue` is used.
public func <| <ClientError> (mode: CommandMode, option: Switch) -> Result<Bool, CommandantError<ClientError>> {
switch mode {
case let .Arguments(arguments):
var enabled = arguments.consumeKey(option.key)
if let flag = option.flag {
enabled = arguments.consumeBooleanFlag(flag)
}
return .Success(enabled)
case .Usage:
return .Failure(informativeUsageError(option.description, usage: option.usage))
}
}

7
Result/Result.h Normal file
View file

@ -0,0 +1,7 @@
// Copyright (c) 2015 Rob Rix. All rights reserved.
/// Project version number for Result.
extern double ResultVersionNumber;
/// Project version string for Result.
extern const unsigned char ResultVersionString[];

238
Result/Result.swift Normal file
View file

@ -0,0 +1,238 @@
// Copyright (c) 2015 Rob Rix. All rights reserved.
/// An enum representing either a failure with an explanatory error, or a success with a result value.
public enum Result<T, Error: ErrorType>: ResultType, CustomStringConvertible, CustomDebugStringConvertible {
case Success(T)
case Failure(Error)
// MARK: Constructors
/// Constructs a success wrapping a `value`.
public init(value: T) {
self = .Success(value)
}
/// Constructs a failure wrapping an `error`.
public init(error: Error) {
self = .Failure(error)
}
/// Constructs a result from an Optional, failing with `Error` if `nil`
public init(_ value: T?, @autoclosure failWith: () -> Error) {
self = value.map(Result.Success) ?? .Failure(failWith())
}
/// Constructs a result from a function that uses `throw`, failing with `Error` if throws
public init(@autoclosure _ f: () throws -> T) {
do {
self = .Success(try f())
} catch {
self = .Failure(error as! Error)
}
}
// MARK: Deconstruction
/// Returns the value from `Success` Results or `throw`s the error
public func dematerialize() throws -> T {
switch self {
case let .Success(value):
return value
case let .Failure(error):
throw error
}
}
/// Case analysis for Result.
///
/// Returns the value produced by applying `ifFailure` to `Failure` Results, or `ifSuccess` to `Success` Results.
public func analysis<Result>(@noescape ifSuccess ifSuccess: T -> Result, @noescape ifFailure: Error -> Result) -> Result {
switch self {
case let .Success(value):
return ifSuccess(value)
case let .Failure(value):
return ifFailure(value)
}
}
// MARK: Higher-order functions
/// Returns a new Result by mapping `Success`es values using `transform`, or re-wrapping `Failure`s errors.
public func map<U>(@noescape transform: T -> U) -> Result<U, Error> {
return flatMap { .Success(transform($0)) }
}
/// Returns the result of applying `transform` to `Success`es values, or re-wrapping `Failure`s errors.
public func flatMap<U>(@noescape transform: T -> Result<U, Error>) -> Result<U, Error> {
return analysis(
ifSuccess: transform,
ifFailure: Result<U, Error>.Failure)
}
/// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
public func recover(@autoclosure value: () -> T) -> T {
return self.value ?? value()
}
/// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
public func recoverWith(@autoclosure result: () -> Result<T,Error>) -> Result<T,Error> {
return analysis(
ifSuccess: { _ in self },
ifFailure: { _ in result() })
}
/// Transform a function from one that uses `throw` to one that returns a `Result`
// public static func materialize<T, U>(f: T throws -> U) -> T -> Result<U, ErrorType> {
// return { x in
// do {
// return .Success(try f(x))
// } catch {
// return .Failure(error)
// }
// }
// }
// MARK: Errors
/// The domain for errors constructed by Result.
public static var errorDomain: String { return "com.antitypical.Result" }
/// The userInfo key for source functions in errors constructed by Result.
public static var functionKey: String { return "\(errorDomain).function" }
/// The userInfo key for source file paths in errors constructed by Result.
public static var fileKey: String { return "\(errorDomain).file" }
/// The userInfo key for source file line numbers in errors constructed by Result.
public static var lineKey: String { return "\(errorDomain).line" }
/// Constructs an error.
public static func error(message: String? = nil, function: String = __FUNCTION__, file: String = __FILE__, line: Int = __LINE__) -> NSError {
var userInfo: [String: AnyObject] = [
functionKey: function,
fileKey: file,
lineKey: line,
]
if let message = message {
userInfo[NSLocalizedDescriptionKey] = message
}
return NSError(domain: errorDomain, code: 0, userInfo: userInfo)
}
// MARK: CustomStringConvertible
public var description: String {
return analysis(
ifSuccess: { ".Success(\($0))" },
ifFailure: { ".Failure(\($0))" })
}
// MARK: CustomDebugStringConvertible
public var debugDescription: String {
return description
}
}
/// Returns `true` if `left` and `right` are both `Success`es and their values are equal, or if `left` and `right` are both `Failure`s and their errors are equal.
public func == <T: Equatable, Error: Equatable> (left: Result<T, Error>, right: Result<T, Error>) -> Bool {
if let left = left.value, right = right.value {
return left == right
} else if let left = left.error, right = right.error {
return left == right
}
return false
}
/// Returns `true` if `left` and `right` represent different cases, or if they represent the same case but different values.
public func != <T: Equatable, Error: Equatable> (left: Result<T, Error>, right: Result<T, Error>) -> Bool {
return !(left == right)
}
/// Returns the value of `left` if it is a `Success`, or `right` otherwise. Short-circuits.
public func ?? <T, Error> (left: Result<T, Error>, @autoclosure right: () -> T) -> T {
return left.recover(right())
}
/// Returns `left` if it is a `Success`es, or `right` otherwise. Short-circuits.
public func ?? <T, Error> (left: Result<T, Error>, @autoclosure right: () -> Result<T, Error>) -> Result<T, Error> {
return left.recoverWith(right())
}
// MARK: - Derive result from failable closure
// Disable until http://www.openradar.me/21341337 is fixed.
//public func materialize<T>(f: () throws -> T) -> Result<T, ErrorType> {
// do {
// return .Success(try f())
// } catch {
// return .Failure(error)
// }
//}
// MARK: - Cocoa API conveniences
/// Constructs a Result with the result of calling `try` with an error pointer.
///
/// This is convenient for wrapping Cocoa API which returns an object or `nil` + an error, by reference. e.g.:
///
/// Result.try { NSData(contentsOfURL: URL, options: .DataReadingMapped, error: $0) }
public func `try`<T>(function: String = __FUNCTION__, file: String = __FILE__, line: Int = __LINE__, `try`: NSErrorPointer -> T?) -> Result<T, NSError> {
var error: NSError?
return `try`(&error).map(Result.Success) ?? .Failure(error ?? Result<T, NSError>.error(function: function, file: file, line: line))
}
/// Constructs a Result with the result of calling `try` with an error pointer.
///
/// This is convenient for wrapping Cocoa API which returns a `Bool` + an error, by reference. e.g.:
///
/// Result.try { NSFileManager.defaultManager().removeItemAtURL(URL, error: $0) }
public func `try`(function: String = __FUNCTION__, file: String = __FILE__, line: Int = __LINE__, `try`: NSErrorPointer -> Bool) -> Result<(), NSError> {
var error: NSError?
return `try`(&error) ?
.Success(())
: .Failure(error ?? Result<(), NSError>.error(function: function, file: file, line: line))
}
// MARK: - Operators
infix operator >>- {
// Left-associativity so that chaining works like youd expect, and for consistency with Haskell, Runes, swiftz, etc.
associativity left
// Higher precedence than function application, but lower than function composition.
precedence 100
}
infix operator &&& {
/// Same associativity as &&.
associativity left
/// Same precedence as &&.
precedence 120
}
/// Returns the result of applying `transform` to `Success`es values, or re-wrapping `Failure`s errors.
///
/// This is a synonym for `flatMap`.
public func >>- <T, U, Error> (result: Result<T, Error>, @noescape transform: T -> Result<U, Error>) -> Result<U, Error> {
return result.flatMap(transform)
}
/// Returns a Result with a tuple of `left` and `right` values if both are `Success`es, or re-wrapping the error of the earlier `Failure`.
public func &&& <T, U, Error> (left: Result<T, Error>, @autoclosure right: () -> Result<U, Error>) -> Result<(T, U), Error> {
return left.flatMap { left in right().map { right in (left, right) } }
}
import Foundation

31
Result/ResultType.swift Normal file
View file

@ -0,0 +1,31 @@
// Copyright (c) 2015 Rob Rix. All rights reserved.
/// A type that can represent either failure with an error or success with a result value.
public protocol ResultType {
typealias Value
typealias Error: ErrorType
/// Constructs a successful result wrapping a `value`.
init(value: Value)
/// Constructs a failed result wrapping an `error`.
init(error: Error)
/// Case analysis for ResultType.
///
/// Returns the value produced by appliying `ifFailure` to the error if self represents a failure, or `ifSuccess` to the result value if self represents a success.
func analysis<U>(@noescape ifSuccess ifSuccess: Value -> U, @noescape ifFailure: Error -> U) -> U
}
public extension ResultType {
/// Returns the value if self represents a success, `nil` otherwise.
var value: Value? {
return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
}
/// Returns the error if self represents a failure, `nil` otherwise.
var error: Error? {
return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
}
}

View file

@ -8,6 +8,19 @@
/* Begin PBXBuildFile section */
ED031A7C1B5127C00097692E /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED031A7B1B5127C00097692E /* main.swift */; };
ED128ECA1B6C2A0B00C4050A /* ArgumentParser.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED128EC11B6C2A0B00C4050A /* ArgumentParser.swift */; };
ED128ECB1B6C2A0B00C4050A /* Command.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED128EC21B6C2A0B00C4050A /* Command.swift */; };
ED128ECC1B6C2A0B00C4050A /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED128EC41B6C2A0B00C4050A /* Errors.swift */; };
ED128ECD1B6C2A0B00C4050A /* HelpCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED128EC51B6C2A0B00C4050A /* HelpCommand.swift */; };
ED128ECE1B6C2A0B00C4050A /* Option.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED128EC71B6C2A0B00C4050A /* Option.swift */; };
ED128ECF1B6C2A0B00C4050A /* Switch.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED128EC81B6C2A0B00C4050A /* Switch.swift */; };
ED128ED31B6C2AA200C4050A /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED128ED21B6C2AA200C4050A /* Result.swift */; };
ED128ED51B6C2AB700C4050A /* ResultType.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED128ED41B6C2AB700C4050A /* ResultType.swift */; };
ED128EDC1B6C2B4400C4050A /* Box.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED128ED91B6C2B4400C4050A /* Box.swift */; };
ED128EDD1B6C2B4400C4050A /* BoxType.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED128EDA1B6C2B4400C4050A /* BoxType.swift */; };
ED128EDE1B6C2B4400C4050A /* MutableBox.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED128EDB1B6C2B4400C4050A /* MutableBox.swift */; };
EDEAA0C01B51CE6200F2FC3F /* StoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EDEAA0BF1B51CE6200F2FC3F /* StoreFoundation.framework */; };
EDEAA17D1B5C579100F2FC3F /* CommerceKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EDEAA17C1B5C579100F2FC3F /* CommerceKit.framework */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
@ -25,6 +38,206 @@
/* Begin PBXFileReference section */
ED031A781B5127C00097692E /* mas-cli */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "mas-cli"; sourceTree = BUILT_PRODUCTS_DIR; };
ED031A7B1B5127C00097692E /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
ED128EC11B6C2A0B00C4050A /* ArgumentParser.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ArgumentParser.swift; sourceTree = "<group>"; };
ED128EC21B6C2A0B00C4050A /* Command.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Command.swift; sourceTree = "<group>"; };
ED128EC31B6C2A0B00C4050A /* Commandant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Commandant.h; sourceTree = "<group>"; };
ED128EC41B6C2A0B00C4050A /* Errors.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Errors.swift; sourceTree = "<group>"; };
ED128EC51B6C2A0B00C4050A /* HelpCommand.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HelpCommand.swift; sourceTree = "<group>"; };
ED128EC61B6C2A0B00C4050A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
ED128EC71B6C2A0B00C4050A /* Option.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Option.swift; sourceTree = "<group>"; };
ED128EC81B6C2A0B00C4050A /* Switch.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Switch.swift; sourceTree = "<group>"; };
ED128ED11B6C2A8B00C4050A /* Result.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Result.h; sourceTree = "<group>"; };
ED128ED21B6C2AA200C4050A /* Result.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result.swift; sourceTree = "<group>"; };
ED128ED41B6C2AB700C4050A /* ResultType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResultType.swift; sourceTree = "<group>"; };
ED128ED81B6C2B4400C4050A /* Box.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Box.h; sourceTree = "<group>"; };
ED128ED91B6C2B4400C4050A /* Box.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Box.swift; sourceTree = "<group>"; };
ED128EDA1B6C2B4400C4050A /* BoxType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BoxType.swift; sourceTree = "<group>"; };
ED128EDB1B6C2B4400C4050A /* MutableBox.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutableBox.swift; sourceTree = "<group>"; };
EDEAA0BF1B51CE6200F2FC3F /* StoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreFoundation.framework; path = /System/Library/PrivateFrameworks/StoreFoundation.framework; sourceTree = "<absolute>"; };
EDEAA0C31B51CEE400F2FC3F /* CDStructures.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CDStructures.h; sourceTree = "<group>"; };
EDEAA0C41B51CEE400F2FC3F /* CKBook.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CKBook.h; sourceTree = "<group>"; };
EDEAA0C51B51CEE400F2FC3F /* CKBookFetchCoverImageOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CKBookFetchCoverImageOperation.h; sourceTree = "<group>"; };
EDEAA0C61B51CEE400F2FC3F /* CKDAAPPurchasedItem.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CKDAAPPurchasedItem.h; sourceTree = "<group>"; };
EDEAA0C71B51CEE400F2FC3F /* CKDockMessaging.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CKDockMessaging.h; sourceTree = "<group>"; };
EDEAA0C81B51CEE400F2FC3F /* CKLocalization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CKLocalization.h; sourceTree = "<group>"; };
EDEAA0C91B51CEE400F2FC3F /* CKRootHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CKRootHelper.h; sourceTree = "<group>"; };
EDEAA0CA1B51CEE400F2FC3F /* CKSoftwareProduct.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CKSoftwareProduct.h; sourceTree = "<group>"; };
EDEAA0CB1B51CEE400F2FC3F /* CKUpdate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CKUpdate.h; sourceTree = "<group>"; };
EDEAA0CC1B51CEE400F2FC3F /* ISAccountService-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISAccountService-Protocol.h"; sourceTree = "<group>"; };
EDEAA0CD1B51CEE400F2FC3F /* ISAccountStoreObserver-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISAccountStoreObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA0CE1B51CEE400F2FC3F /* ISAppleIDLookupOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISAppleIDLookupOperation.h; sourceTree = "<group>"; };
EDEAA0CF1B51CEE400F2FC3F /* ISAssetService-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISAssetService-Protocol.h"; sourceTree = "<group>"; };
EDEAA0D01B51CEE400F2FC3F /* ISAuthenticationChallenge.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISAuthenticationChallenge.h; sourceTree = "<group>"; };
EDEAA0D11B51CEE400F2FC3F /* ISAuthenticationContext.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISAuthenticationContext.h; sourceTree = "<group>"; };
EDEAA0D21B51CEE400F2FC3F /* ISAuthenticationResponse.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISAuthenticationResponse.h; sourceTree = "<group>"; };
EDEAA0D31B51CEE400F2FC3F /* ISAvailableUpdatesObserver-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISAvailableUpdatesObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA0D41B51CEE400F2FC3F /* ISBookLibraryObserver-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISBookLibraryObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA0D51B51CEE400F2FC3F /* ISCertificate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISCertificate.h; sourceTree = "<group>"; };
EDEAA0D61B51CEE400F2FC3F /* ISCodeSignatureOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISCodeSignatureOperation.h; sourceTree = "<group>"; };
EDEAA0D71B51CEE400F2FC3F /* ISDataProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISDataProvider.h; sourceTree = "<group>"; };
EDEAA0D81B51CEE400F2FC3F /* ISDelayedInvocationRecorder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISDelayedInvocationRecorder.h; sourceTree = "<group>"; };
EDEAA0D91B51CEE400F2FC3F /* ISDevice.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISDevice.h; sourceTree = "<group>"; };
EDEAA0DA1B51CEE400F2FC3F /* ISDialog.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISDialog.h; sourceTree = "<group>"; };
EDEAA0DB1B51CEE400F2FC3F /* ISDialogButton.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISDialogButton.h; sourceTree = "<group>"; };
EDEAA0DC1B51CEE400F2FC3F /* ISDialogDelegate-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISDialogDelegate-Protocol.h"; sourceTree = "<group>"; };
EDEAA0DD1B51CEE400F2FC3F /* ISDialogDelegateProxy.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISDialogDelegateProxy.h; sourceTree = "<group>"; };
EDEAA0DE1B51CEE400F2FC3F /* ISDialogOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISDialogOperation.h; sourceTree = "<group>"; };
EDEAA0DF1B51CEE400F2FC3F /* ISDialogTextField.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISDialogTextField.h; sourceTree = "<group>"; };
EDEAA0E01B51CEE400F2FC3F /* ISDownloadQueueObserver-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISDownloadQueueObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA0E11B51CEE400F2FC3F /* ISDownloadService-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISDownloadService-Protocol.h"; sourceTree = "<group>"; };
EDEAA0E21B51CEE400F2FC3F /* ISFetchIconOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISFetchIconOperation.h; sourceTree = "<group>"; };
EDEAA0E31B51CEE400F2FC3F /* ISInAppService-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISInAppService-Protocol.h"; sourceTree = "<group>"; };
EDEAA0E41B51CEE400F2FC3F /* ISInvocationRecorder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISInvocationRecorder.h; sourceTree = "<group>"; };
EDEAA0E51B51CEE400F2FC3F /* ISJSONProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISJSONProvider.h; sourceTree = "<group>"; };
EDEAA0E61B51CEE400F2FC3F /* ISMainThreadInvocationRecorder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISMainThreadInvocationRecorder.h; sourceTree = "<group>"; };
EDEAA0E71B51CEE400F2FC3F /* ISManagedRestrictions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISManagedRestrictions.h; sourceTree = "<group>"; };
EDEAA0E81B51CEE400F2FC3F /* ISOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISOperation.h; sourceTree = "<group>"; };
EDEAA0E91B51CEE400F2FC3F /* ISOperationDelegate-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISOperationDelegate-Protocol.h"; sourceTree = "<group>"; };
EDEAA0EA1B51CEE400F2FC3F /* ISOperationQueue.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISOperationQueue.h; sourceTree = "<group>"; };
EDEAA0EB1B51CEE400F2FC3F /* ISOSUpdateProgressObserver-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISOSUpdateProgressObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA0EC1B51CEE400F2FC3F /* ISOSUpdateScanObserver-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISOSUpdateScanObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA0ED1B51CEE400F2FC3F /* ISPropertyListProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISPropertyListProvider.h; sourceTree = "<group>"; };
EDEAA0EE1B51CEE400F2FC3F /* ISServerAuthenticationOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISServerAuthenticationOperation.h; sourceTree = "<group>"; };
EDEAA0EF1B51CEE400F2FC3F /* ISServiceClientInterface.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISServiceClientInterface.h; sourceTree = "<group>"; };
EDEAA0F01B51CEE400F2FC3F /* ISServiceDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISServiceDelegate.h; sourceTree = "<group>"; };
EDEAA0F11B51CEE400F2FC3F /* ISServiceProxy.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISServiceProxy.h; sourceTree = "<group>"; };
EDEAA0F21B51CEE400F2FC3F /* ISServiceRemoteObject-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISServiceRemoteObject-Protocol.h"; sourceTree = "<group>"; };
EDEAA0F31B51CEE400F2FC3F /* ISSignInPrompt.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISSignInPrompt.h; sourceTree = "<group>"; };
EDEAA0F41B51CEE400F2FC3F /* ISSignInPromptResponse.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISSignInPromptResponse.h; sourceTree = "<group>"; };
EDEAA0F51B51CEE400F2FC3F /* ISSignInPromptSettings.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISSignInPromptSettings.h; sourceTree = "<group>"; };
EDEAA0F61B51CEE400F2FC3F /* ISSingleton-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISSingleton-Protocol.h"; sourceTree = "<group>"; };
EDEAA0F71B51CEE400F2FC3F /* ISStoreAccount.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISStoreAccount.h; sourceTree = "<group>"; };
EDEAA0F81B51CEE400F2FC3F /* ISStoreAuthenticationChallenge.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISStoreAuthenticationChallenge.h; sourceTree = "<group>"; };
EDEAA0F91B51CEE400F2FC3F /* ISStoreClient.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISStoreClient.h; sourceTree = "<group>"; };
EDEAA0FA1B51CEE400F2FC3F /* ISStoreURLOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISStoreURLOperation.h; sourceTree = "<group>"; };
EDEAA0FB1B51CEE400F2FC3F /* ISStoreVersion.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISStoreVersion.h; sourceTree = "<group>"; };
EDEAA0FC1B51CEE400F2FC3F /* ISTransactionService-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISTransactionService-Protocol.h"; sourceTree = "<group>"; };
EDEAA0FD1B51CEE400F2FC3F /* ISUIHostProtocol-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISUIHostProtocol-Protocol.h"; sourceTree = "<group>"; };
EDEAA0FE1B51CEE400F2FC3F /* ISUIService-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISUIService-Protocol.h"; sourceTree = "<group>"; };
EDEAA0FF1B51CEE400F2FC3F /* ISUIServiceClientRemoteObject-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISUIServiceClientRemoteObject-Protocol.h"; sourceTree = "<group>"; };
EDEAA1001B51CEE400F2FC3F /* ISUniqueOperationContext.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISUniqueOperationContext.h; sourceTree = "<group>"; };
EDEAA1011B51CEE400F2FC3F /* ISUniqueOperationManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISUniqueOperationManager.h; sourceTree = "<group>"; };
EDEAA1021B51CEE400F2FC3F /* ISUpdateDelegate-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISUpdateDelegate-Protocol.h"; sourceTree = "<group>"; };
EDEAA1031B51CEE400F2FC3F /* ISURLAuthenticationChallenge.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISURLAuthenticationChallenge.h; sourceTree = "<group>"; };
EDEAA1041B51CEE400F2FC3F /* ISURLBagObserver-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISURLBagObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA1051B51CEE400F2FC3F /* ISURLOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISURLOperation.h; sourceTree = "<group>"; };
EDEAA1061B51CEE400F2FC3F /* ISURLOperationDelegate-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ISURLOperationDelegate-Protocol.h"; sourceTree = "<group>"; };
EDEAA1071B51CEE400F2FC3F /* ISURLRequest.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISURLRequest.h; sourceTree = "<group>"; };
EDEAA1081B51CEE400F2FC3F /* ISUserNotification.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISUserNotification.h; sourceTree = "<group>"; };
EDEAA1091B51CEE400F2FC3F /* NSBundle-CommerceKit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSBundle-CommerceKit.h"; sourceTree = "<group>"; };
EDEAA10A1B51CEE400F2FC3F /* NSCoding-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSCoding-Protocol.h"; sourceTree = "<group>"; };
EDEAA10B1B51CEE400F2FC3F /* NSCopying-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSCopying-Protocol.h"; sourceTree = "<group>"; };
EDEAA10C1B51CEE400F2FC3F /* NSData-AdoptionSerialNumber.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSData-AdoptionSerialNumber.h"; sourceTree = "<group>"; };
EDEAA10D1B51CEE400F2FC3F /* NSData-dataWithAuthorizationRef.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSData-dataWithAuthorizationRef.h"; sourceTree = "<group>"; };
EDEAA10E1B51CEE400F2FC3F /* NSData-SSDebug.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSData-SSDebug.h"; sourceTree = "<group>"; };
EDEAA10F1B51CEE400F2FC3F /* NSDictionary-ISPropertyListAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSDictionary-ISPropertyListAdditions.h"; sourceTree = "<group>"; };
EDEAA1101B51CEE400F2FC3F /* NSError-Authentication.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSError-Authentication.h"; sourceTree = "<group>"; };
EDEAA1111B51CEE400F2FC3F /* NSError-ISAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSError-ISAdditions.h"; sourceTree = "<group>"; };
EDEAA1121B51CEE400F2FC3F /* NSFileManager-ISAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSFileManager-ISAdditions.h"; sourceTree = "<group>"; };
EDEAA1131B51CEE400F2FC3F /* NSHTTPURLResponse-ISAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSHTTPURLResponse-ISAdditions.h"; sourceTree = "<group>"; };
EDEAA1141B51CEE400F2FC3F /* NSNumber-SSAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSNumber-SSAdditions.h"; sourceTree = "<group>"; };
EDEAA1151B51CEE400F2FC3F /* NSObject-ISInvocationAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSObject-ISInvocationAdditions.h"; sourceTree = "<group>"; };
EDEAA1161B51CEE400F2FC3F /* NSObject-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSObject-Protocol.h"; sourceTree = "<group>"; };
EDEAA1171B51CEE400F2FC3F /* NSSecureCoding-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSSecureCoding-Protocol.h"; sourceTree = "<group>"; };
EDEAA1181B51CEE400F2FC3F /* NSString-ISAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSString-ISAdditions.h"; sourceTree = "<group>"; };
EDEAA1191B51CEE400F2FC3F /* NSString-Sandbox.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSString-Sandbox.h"; sourceTree = "<group>"; };
EDEAA11A1B51CEE400F2FC3F /* NSString-SSAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSString-SSAdditions.h"; sourceTree = "<group>"; };
EDEAA11B1B51CEE400F2FC3F /* NSString-UniqueIdentifier.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSString-UniqueIdentifier.h"; sourceTree = "<group>"; };
EDEAA11C1B51CEE400F2FC3F /* NSURL-ISAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSURL-ISAdditions.h"; sourceTree = "<group>"; };
EDEAA11D1B51CEE400F2FC3F /* NSURLConnectionDelegate-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSURLConnectionDelegate-Protocol.h"; sourceTree = "<group>"; };
EDEAA11E1B51CEE400F2FC3F /* NSURLResponse-ISAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSURLResponse-ISAdditions.h"; sourceTree = "<group>"; };
EDEAA11F1B51CEE400F2FC3F /* NSXPCListenerDelegate-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSXPCListenerDelegate-Protocol.h"; sourceTree = "<group>"; };
EDEAA1201B51CEE400F2FC3F /* ReceiptInstallerProtocol-Protocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ReceiptInstallerProtocol-Protocol.h"; sourceTree = "<group>"; };
EDEAA1211B51CEE400F2FC3F /* SSDownload.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SSDownload.h; sourceTree = "<group>"; };
EDEAA1221B51CEE400F2FC3F /* SSDownloadAsset.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SSDownloadAsset.h; sourceTree = "<group>"; };
EDEAA1231B51CEE400F2FC3F /* SSDownloadManifestResponse.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SSDownloadManifestResponse.h; sourceTree = "<group>"; };
EDEAA1241B51CEE400F2FC3F /* SSDownloadMetadata.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SSDownloadMetadata.h; sourceTree = "<group>"; };
EDEAA1251B51CEE400F2FC3F /* SSDownloadPhase.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SSDownloadPhase.h; sourceTree = "<group>"; };
EDEAA1261B51CEE400F2FC3F /* SSDownloadStatus.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SSDownloadStatus.h; sourceTree = "<group>"; };
EDEAA1271B51CEE400F2FC3F /* SSLogManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SSLogManager.h; sourceTree = "<group>"; };
EDEAA1281B51CEE400F2FC3F /* SSOperationProgress.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SSOperationProgress.h; sourceTree = "<group>"; };
EDEAA1291B51CEE400F2FC3F /* SSPurchase.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SSPurchase.h; sourceTree = "<group>"; };
EDEAA12A1B51CEE400F2FC3F /* SSPurchaseResponse.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SSPurchaseResponse.h; sourceTree = "<group>"; };
EDEAA12B1B51CEE400F2FC3F /* SSRequest.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SSRequest.h; sourceTree = "<group>"; };
EDEAA12C1B51CF8000F2FC3F /* mas-cli-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "mas-cli-Bridging-Header.h"; sourceTree = "<group>"; };
EDEAA12F1B5C576D00F2FC3F /* CDStructures.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDStructures.h; sourceTree = "<group>"; };
EDEAA1301B5C576D00F2FC3F /* CKAccountAuthentication.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKAccountAuthentication.h; sourceTree = "<group>"; };
EDEAA1311B5C576D00F2FC3F /* CKAccountStore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKAccountStore.h; sourceTree = "<group>"; };
EDEAA1321B5C576D00F2FC3F /* CKAccountStoreClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKAccountStoreClient.h; sourceTree = "<group>"; };
EDEAA1331B5C576D00F2FC3F /* CKAppleIDAuthentication.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKAppleIDAuthentication.h; sourceTree = "<group>"; };
EDEAA1341B5C576D00F2FC3F /* CKAppleIDCookie.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKAppleIDCookie.h; sourceTree = "<group>"; };
EDEAA1351B5C576D00F2FC3F /* CKAppStoreLauncher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKAppStoreLauncher.h; sourceTree = "<group>"; };
EDEAA1361B5C576D00F2FC3F /* CKBag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKBag.h; sourceTree = "<group>"; };
EDEAA1371B5C576D00F2FC3F /* CKBagClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKBagClient.h; sourceTree = "<group>"; };
EDEAA1381B5C576D00F2FC3F /* CKBookCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKBookCache.h; sourceTree = "<group>"; };
EDEAA1391B5C576D00F2FC3F /* CKBookLibrary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKBookLibrary.h; sourceTree = "<group>"; };
EDEAA13A1B5C576D00F2FC3F /* CKBookLibraryClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKBookLibraryClient.h; sourceTree = "<group>"; };
EDEAA13B1B5C576D00F2FC3F /* CKClientDispatch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKClientDispatch.h; sourceTree = "<group>"; };
EDEAA13C1B5C576D00F2FC3F /* CKDAAPPurchaseHistory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKDAAPPurchaseHistory.h; sourceTree = "<group>"; };
EDEAA13D1B5C576D00F2FC3F /* CKDAAPPurchaseHistoryClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKDAAPPurchaseHistoryClient.h; sourceTree = "<group>"; };
EDEAA13E1B5C576D00F2FC3F /* CKDaemonPreferencesController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKDaemonPreferencesController.h; sourceTree = "<group>"; };
EDEAA13F1B5C576D00F2FC3F /* CKDialogController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKDialogController.h; sourceTree = "<group>"; };
EDEAA1401B5C576D00F2FC3F /* CKDownloadQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKDownloadQueue.h; sourceTree = "<group>"; };
EDEAA1411B5C576D00F2FC3F /* CKDownloadQueueClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKDownloadQueueClient.h; sourceTree = "<group>"; };
EDEAA1421B5C576D00F2FC3F /* CKExtensionSearchController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKExtensionSearchController.h; sourceTree = "<group>"; };
EDEAA1431B5C576D00F2FC3F /* CKFirmwareWarningSheet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKFirmwareWarningSheet.h; sourceTree = "<group>"; };
EDEAA1441B5C576D00F2FC3F /* CKItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKItem.h; sourceTree = "<group>"; };
EDEAA1451B5C576D00F2FC3F /* CKItemArtworkImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKItemArtworkImage.h; sourceTree = "<group>"; };
EDEAA1461B5C576D00F2FC3F /* CKItemLookupRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKItemLookupRequest.h; sourceTree = "<group>"; };
EDEAA1471B5C576D00F2FC3F /* CKItemLookupResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKItemLookupResponse.h; sourceTree = "<group>"; };
EDEAA1481B5C576D00F2FC3F /* CKItemTellAFriend.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKItemTellAFriend.h; sourceTree = "<group>"; };
EDEAA1491B5C576D00F2FC3F /* CKiTunesAppleIDAuthentication.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKiTunesAppleIDAuthentication.h; sourceTree = "<group>"; };
EDEAA14A1B5C576D00F2FC3F /* CKLaterAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKLaterAgent.h; sourceTree = "<group>"; };
EDEAA14B1B5C576D00F2FC3F /* CKLicenseAgreementSheet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKLicenseAgreementSheet.h; sourceTree = "<group>"; };
EDEAA14C1B5C576D00F2FC3F /* CKMachineAuthorization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKMachineAuthorization.h; sourceTree = "<group>"; };
EDEAA14D1B5C576D00F2FC3F /* CKPreflightURLRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKPreflightURLRequest.h; sourceTree = "<group>"; };
EDEAA14E1B5C576D00F2FC3F /* CKPurchaseController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKPurchaseController.h; sourceTree = "<group>"; };
EDEAA14F1B5C576D00F2FC3F /* CKPushNotificationManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKPushNotificationManager.h; sourceTree = "<group>"; };
EDEAA1501B5C576D00F2FC3F /* CKRestoreDownloadsRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKRestoreDownloadsRequest.h; sourceTree = "<group>"; };
EDEAA1511B5C576D00F2FC3F /* CKServiceInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKServiceInterface.h; sourceTree = "<group>"; };
EDEAA1521B5C576D00F2FC3F /* CKSoftwareMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKSoftwareMap.h; sourceTree = "<group>"; };
EDEAA1531B5C576D00F2FC3F /* CKSoftwareMapObserver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKSoftwareMapObserver.h; sourceTree = "<group>"; };
EDEAA1541B5C576D00F2FC3F /* CKStoreClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKStoreClient.h; sourceTree = "<group>"; };
EDEAA1551B5C576D00F2FC3F /* CKUpdateController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKUpdateController.h; sourceTree = "<group>"; };
EDEAA1561B5C576D00F2FC3F /* CKUpdateControllerClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKUpdateControllerClient.h; sourceTree = "<group>"; };
EDEAA1571B5C576D00F2FC3F /* CKUpToDate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CKUpToDate.h; sourceTree = "<group>"; };
EDEAA1581B5C576D00F2FC3F /* ISAccountStoreObserver-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISAccountStoreObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA1591B5C576D00F2FC3F /* ISAppleIDCookie.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISAppleIDCookie.h; sourceTree = "<group>"; };
EDEAA15A1B5C576D00F2FC3F /* ISAutomaticDownloadQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISAutomaticDownloadQueue.h; sourceTree = "<group>"; };
EDEAA15B1B5C576D00F2FC3F /* ISAvailableUpdatesObserver-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISAvailableUpdatesObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA15C1B5C576D00F2FC3F /* ISBookLibraryObserver-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISBookLibraryObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA15D1B5C576D00F2FC3F /* ISDevice-AppleConfigurator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISDevice-AppleConfigurator.h"; sourceTree = "<group>"; };
EDEAA15E1B5C576D00F2FC3F /* ISDownloadQueueObserver-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISDownloadQueueObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA15F1B5C576D00F2FC3F /* ISLoadURLBagOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISLoadURLBagOperation.h; sourceTree = "<group>"; };
EDEAA1601B5C576D00F2FC3F /* ISOperationDelegate-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISOperationDelegate-Protocol.h"; sourceTree = "<group>"; };
EDEAA1611B5C576D00F2FC3F /* ISOSUpdateProgressObserver-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISOSUpdateProgressObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA1621B5C576D00F2FC3F /* ISOSUpdateScanObserver-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISOSUpdateScanObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA1631B5C576D00F2FC3F /* ISProcessPropertyListOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISProcessPropertyListOperation.h; sourceTree = "<group>"; };
EDEAA1641B5C576D00F2FC3F /* ISSingleton-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISSingleton-Protocol.h"; sourceTree = "<group>"; };
EDEAA1651B5C576D00F2FC3F /* ISStoreURLOperation-CommerceKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISStoreURLOperation-CommerceKit.h"; sourceTree = "<group>"; };
EDEAA1661B5C576D00F2FC3F /* ISStoreURLOperationDelegate-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISStoreURLOperationDelegate-Protocol.h"; sourceTree = "<group>"; };
EDEAA1671B5C576D00F2FC3F /* ISURLBag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISURLBag.h; sourceTree = "<group>"; };
EDEAA1681B5C576D00F2FC3F /* ISURLBagContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISURLBagContext.h; sourceTree = "<group>"; };
EDEAA1691B5C576D00F2FC3F /* ISURLBagObserver-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISURLBagObserver-Protocol.h"; sourceTree = "<group>"; };
EDEAA16A1B5C576D00F2FC3F /* ISURLCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISURLCache.h; sourceTree = "<group>"; };
EDEAA16B1B5C576D00F2FC3F /* ISURLCacheGroup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ISURLCacheGroup.h; sourceTree = "<group>"; };
EDEAA16C1B5C576D00F2FC3F /* ISURLOperationDelegate-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ISURLOperationDelegate-Protocol.h"; sourceTree = "<group>"; };
EDEAA16D1B5C576D00F2FC3F /* MBSetupAssistantDelegateConfiguration-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MBSetupAssistantDelegateConfiguration-Protocol.h"; sourceTree = "<group>"; };
EDEAA16E1B5C576D00F2FC3F /* NSArray-CKPushNotification.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSArray-CKPushNotification.h"; sourceTree = "<group>"; };
EDEAA16F1B5C576D00F2FC3F /* NSBundle-ISAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSBundle-ISAdditions.h"; sourceTree = "<group>"; };
EDEAA1701B5C576D00F2FC3F /* NSCoding-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSCoding-Protocol.h"; sourceTree = "<group>"; };
EDEAA1711B5C576D00F2FC3F /* NSCopying-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSCopying-Protocol.h"; sourceTree = "<group>"; };
EDEAA1721B5C576D00F2FC3F /* NSMutableCopying-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSMutableCopying-Protocol.h"; sourceTree = "<group>"; };
EDEAA1731B5C576D00F2FC3F /* NSObject-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject-Protocol.h"; sourceTree = "<group>"; };
EDEAA1741B5C576D00F2FC3F /* NSProcessInfo-SuddenTerminaton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSProcessInfo-SuddenTerminaton.h"; sourceTree = "<group>"; };
EDEAA1751B5C576D00F2FC3F /* NSURLConnectionDelegate-Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSURLConnectionDelegate-Protocol.h"; sourceTree = "<group>"; };
EDEAA1761B5C576D00F2FC3F /* NSWorkspace-InstalledApp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSWorkspace-InstalledApp.h"; sourceTree = "<group>"; };
EDEAA1771B5C576D00F2FC3F /* SetupAssistantPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SetupAssistantPlugin.h; sourceTree = "<group>"; };
EDEAA1781B5C576D00F2FC3F /* SSMutableURLRequestProperties.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSMutableURLRequestProperties.h; sourceTree = "<group>"; };
EDEAA1791B5C576D00F2FC3F /* SSRemoteNotification.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSRemoteNotification.h; sourceTree = "<group>"; };
EDEAA17A1B5C576D00F2FC3F /* SSRestoreContentItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSRestoreContentItem.h; sourceTree = "<group>"; };
EDEAA17B1B5C576D00F2FC3F /* SSURLRequestProperties.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSURLRequestProperties.h; sourceTree = "<group>"; };
EDEAA17C1B5C579100F2FC3F /* CommerceKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CommerceKit.framework; path = /System/Library/PrivateFrameworks/CommerceKit.framework; sourceTree = "<absolute>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@ -32,6 +245,8 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
EDEAA17D1B5C579100F2FC3F /* CommerceKit.framework in Frameworks */,
EDEAA0C01B51CE6200F2FC3F /* StoreFoundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -41,6 +256,11 @@
ED031A6F1B5127C00097692E = {
isa = PBXGroup;
children = (
ED128ED61B6C2AF200C4050A /* Box */,
ED128ED01B6C2A7300C4050A /* Result */,
ED128EC91B6C2A0B00C4050A /* Commandant */,
EDFC76381B642A2E00D0DBD7 /* Frameworks */,
EDEAA0C11B51CEBD00F2FC3F /* Headers */,
ED031A7A1B5127C00097692E /* mas-cli */,
ED031A791B5127C00097692E /* Products */,
);
@ -58,10 +278,264 @@
isa = PBXGroup;
children = (
ED031A7B1B5127C00097692E /* main.swift */,
EDEAA12C1B51CF8000F2FC3F /* mas-cli-Bridging-Header.h */,
);
path = "mas-cli";
sourceTree = "<group>";
};
ED128EC91B6C2A0B00C4050A /* Commandant */ = {
isa = PBXGroup;
children = (
ED128EC11B6C2A0B00C4050A /* ArgumentParser.swift */,
ED128EC21B6C2A0B00C4050A /* Command.swift */,
ED128EC31B6C2A0B00C4050A /* Commandant.h */,
ED128EC41B6C2A0B00C4050A /* Errors.swift */,
ED128EC51B6C2A0B00C4050A /* HelpCommand.swift */,
ED128EC61B6C2A0B00C4050A /* Info.plist */,
ED128EC71B6C2A0B00C4050A /* Option.swift */,
ED128EC81B6C2A0B00C4050A /* Switch.swift */,
);
path = Commandant;
sourceTree = "<group>";
};
ED128ED01B6C2A7300C4050A /* Result */ = {
isa = PBXGroup;
children = (
ED128ED11B6C2A8B00C4050A /* Result.h */,
ED128ED21B6C2AA200C4050A /* Result.swift */,
ED128ED41B6C2AB700C4050A /* ResultType.swift */,
);
path = Result;
sourceTree = "<group>";
};
ED128ED61B6C2AF200C4050A /* Box */ = {
isa = PBXGroup;
children = (
ED128ED81B6C2B4400C4050A /* Box.h */,
ED128ED91B6C2B4400C4050A /* Box.swift */,
ED128EDA1B6C2B4400C4050A /* BoxType.swift */,
ED128EDB1B6C2B4400C4050A /* MutableBox.swift */,
);
path = Box;
sourceTree = "<group>";
};
EDEAA0C11B51CEBD00F2FC3F /* Headers */ = {
isa = PBXGroup;
children = (
EDEAA12E1B5C576D00F2FC3F /* CommerceKit.framework */,
EDEAA0C21B51CEC900F2FC3F /* StoreFoundation.framework */,
);
name = Headers;
path = "mas-cli/Headers";
sourceTree = "<group>";
};
EDEAA0C21B51CEC900F2FC3F /* StoreFoundation.framework */ = {
isa = PBXGroup;
children = (
EDEAA0C31B51CEE400F2FC3F /* CDStructures.h */,
EDEAA0C41B51CEE400F2FC3F /* CKBook.h */,
EDEAA0C51B51CEE400F2FC3F /* CKBookFetchCoverImageOperation.h */,
EDEAA0C61B51CEE400F2FC3F /* CKDAAPPurchasedItem.h */,
EDEAA0C71B51CEE400F2FC3F /* CKDockMessaging.h */,
EDEAA0C81B51CEE400F2FC3F /* CKLocalization.h */,
EDEAA0C91B51CEE400F2FC3F /* CKRootHelper.h */,
EDEAA0CA1B51CEE400F2FC3F /* CKSoftwareProduct.h */,
EDEAA0CB1B51CEE400F2FC3F /* CKUpdate.h */,
EDEAA0CC1B51CEE400F2FC3F /* ISAccountService-Protocol.h */,
EDEAA0CD1B51CEE400F2FC3F /* ISAccountStoreObserver-Protocol.h */,
EDEAA0CE1B51CEE400F2FC3F /* ISAppleIDLookupOperation.h */,
EDEAA0CF1B51CEE400F2FC3F /* ISAssetService-Protocol.h */,
EDEAA0D01B51CEE400F2FC3F /* ISAuthenticationChallenge.h */,
EDEAA0D11B51CEE400F2FC3F /* ISAuthenticationContext.h */,
EDEAA0D21B51CEE400F2FC3F /* ISAuthenticationResponse.h */,
EDEAA0D31B51CEE400F2FC3F /* ISAvailableUpdatesObserver-Protocol.h */,
EDEAA0D41B51CEE400F2FC3F /* ISBookLibraryObserver-Protocol.h */,
EDEAA0D51B51CEE400F2FC3F /* ISCertificate.h */,
EDEAA0D61B51CEE400F2FC3F /* ISCodeSignatureOperation.h */,
EDEAA0D71B51CEE400F2FC3F /* ISDataProvider.h */,
EDEAA0D81B51CEE400F2FC3F /* ISDelayedInvocationRecorder.h */,
EDEAA0D91B51CEE400F2FC3F /* ISDevice.h */,
EDEAA0DA1B51CEE400F2FC3F /* ISDialog.h */,
EDEAA0DB1B51CEE400F2FC3F /* ISDialogButton.h */,
EDEAA0DC1B51CEE400F2FC3F /* ISDialogDelegate-Protocol.h */,
EDEAA0DD1B51CEE400F2FC3F /* ISDialogDelegateProxy.h */,
EDEAA0DE1B51CEE400F2FC3F /* ISDialogOperation.h */,
EDEAA0DF1B51CEE400F2FC3F /* ISDialogTextField.h */,
EDEAA0E01B51CEE400F2FC3F /* ISDownloadQueueObserver-Protocol.h */,
EDEAA0E11B51CEE400F2FC3F /* ISDownloadService-Protocol.h */,
EDEAA0E21B51CEE400F2FC3F /* ISFetchIconOperation.h */,
EDEAA0E31B51CEE400F2FC3F /* ISInAppService-Protocol.h */,
EDEAA0E41B51CEE400F2FC3F /* ISInvocationRecorder.h */,
EDEAA0E51B51CEE400F2FC3F /* ISJSONProvider.h */,
EDEAA0E61B51CEE400F2FC3F /* ISMainThreadInvocationRecorder.h */,
EDEAA0E71B51CEE400F2FC3F /* ISManagedRestrictions.h */,
EDEAA0E81B51CEE400F2FC3F /* ISOperation.h */,
EDEAA0E91B51CEE400F2FC3F /* ISOperationDelegate-Protocol.h */,
EDEAA0EA1B51CEE400F2FC3F /* ISOperationQueue.h */,
EDEAA0EB1B51CEE400F2FC3F /* ISOSUpdateProgressObserver-Protocol.h */,
EDEAA0EC1B51CEE400F2FC3F /* ISOSUpdateScanObserver-Protocol.h */,
EDEAA0ED1B51CEE400F2FC3F /* ISPropertyListProvider.h */,
EDEAA0EE1B51CEE400F2FC3F /* ISServerAuthenticationOperation.h */,
EDEAA0EF1B51CEE400F2FC3F /* ISServiceClientInterface.h */,
EDEAA0F01B51CEE400F2FC3F /* ISServiceDelegate.h */,
EDEAA0F11B51CEE400F2FC3F /* ISServiceProxy.h */,
EDEAA0F21B51CEE400F2FC3F /* ISServiceRemoteObject-Protocol.h */,
EDEAA0F31B51CEE400F2FC3F /* ISSignInPrompt.h */,
EDEAA0F41B51CEE400F2FC3F /* ISSignInPromptResponse.h */,
EDEAA0F51B51CEE400F2FC3F /* ISSignInPromptSettings.h */,
EDEAA0F61B51CEE400F2FC3F /* ISSingleton-Protocol.h */,
EDEAA0F71B51CEE400F2FC3F /* ISStoreAccount.h */,
EDEAA0F81B51CEE400F2FC3F /* ISStoreAuthenticationChallenge.h */,
EDEAA0F91B51CEE400F2FC3F /* ISStoreClient.h */,
EDEAA0FA1B51CEE400F2FC3F /* ISStoreURLOperation.h */,
EDEAA0FB1B51CEE400F2FC3F /* ISStoreVersion.h */,
EDEAA0FC1B51CEE400F2FC3F /* ISTransactionService-Protocol.h */,
EDEAA0FD1B51CEE400F2FC3F /* ISUIHostProtocol-Protocol.h */,
EDEAA0FE1B51CEE400F2FC3F /* ISUIService-Protocol.h */,
EDEAA0FF1B51CEE400F2FC3F /* ISUIServiceClientRemoteObject-Protocol.h */,
EDEAA1001B51CEE400F2FC3F /* ISUniqueOperationContext.h */,
EDEAA1011B51CEE400F2FC3F /* ISUniqueOperationManager.h */,
EDEAA1021B51CEE400F2FC3F /* ISUpdateDelegate-Protocol.h */,
EDEAA1031B51CEE400F2FC3F /* ISURLAuthenticationChallenge.h */,
EDEAA1041B51CEE400F2FC3F /* ISURLBagObserver-Protocol.h */,
EDEAA1051B51CEE400F2FC3F /* ISURLOperation.h */,
EDEAA1061B51CEE400F2FC3F /* ISURLOperationDelegate-Protocol.h */,
EDEAA1071B51CEE400F2FC3F /* ISURLRequest.h */,
EDEAA1081B51CEE400F2FC3F /* ISUserNotification.h */,
EDEAA1091B51CEE400F2FC3F /* NSBundle-CommerceKit.h */,
EDEAA10A1B51CEE400F2FC3F /* NSCoding-Protocol.h */,
EDEAA10B1B51CEE400F2FC3F /* NSCopying-Protocol.h */,
EDEAA10C1B51CEE400F2FC3F /* NSData-AdoptionSerialNumber.h */,
EDEAA10D1B51CEE400F2FC3F /* NSData-dataWithAuthorizationRef.h */,
EDEAA10E1B51CEE400F2FC3F /* NSData-SSDebug.h */,
EDEAA10F1B51CEE400F2FC3F /* NSDictionary-ISPropertyListAdditions.h */,
EDEAA1101B51CEE400F2FC3F /* NSError-Authentication.h */,
EDEAA1111B51CEE400F2FC3F /* NSError-ISAdditions.h */,
EDEAA1121B51CEE400F2FC3F /* NSFileManager-ISAdditions.h */,
EDEAA1131B51CEE400F2FC3F /* NSHTTPURLResponse-ISAdditions.h */,
EDEAA1141B51CEE400F2FC3F /* NSNumber-SSAdditions.h */,
EDEAA1151B51CEE400F2FC3F /* NSObject-ISInvocationAdditions.h */,
EDEAA1161B51CEE400F2FC3F /* NSObject-Protocol.h */,
EDEAA1171B51CEE400F2FC3F /* NSSecureCoding-Protocol.h */,
EDEAA1181B51CEE400F2FC3F /* NSString-ISAdditions.h */,
EDEAA1191B51CEE400F2FC3F /* NSString-Sandbox.h */,
EDEAA11A1B51CEE400F2FC3F /* NSString-SSAdditions.h */,
EDEAA11B1B51CEE400F2FC3F /* NSString-UniqueIdentifier.h */,
EDEAA11C1B51CEE400F2FC3F /* NSURL-ISAdditions.h */,
EDEAA11D1B51CEE400F2FC3F /* NSURLConnectionDelegate-Protocol.h */,
EDEAA11E1B51CEE400F2FC3F /* NSURLResponse-ISAdditions.h */,
EDEAA11F1B51CEE400F2FC3F /* NSXPCListenerDelegate-Protocol.h */,
EDEAA1201B51CEE400F2FC3F /* ReceiptInstallerProtocol-Protocol.h */,
EDEAA1211B51CEE400F2FC3F /* SSDownload.h */,
EDEAA1221B51CEE400F2FC3F /* SSDownloadAsset.h */,
EDEAA1231B51CEE400F2FC3F /* SSDownloadManifestResponse.h */,
EDEAA1241B51CEE400F2FC3F /* SSDownloadMetadata.h */,
EDEAA1251B51CEE400F2FC3F /* SSDownloadPhase.h */,
EDEAA1261B51CEE400F2FC3F /* SSDownloadStatus.h */,
EDEAA1271B51CEE400F2FC3F /* SSLogManager.h */,
EDEAA1281B51CEE400F2FC3F /* SSOperationProgress.h */,
EDEAA1291B51CEE400F2FC3F /* SSPurchase.h */,
EDEAA12A1B51CEE400F2FC3F /* SSPurchaseResponse.h */,
EDEAA12B1B51CEE400F2FC3F /* SSRequest.h */,
);
name = StoreFoundation.framework;
path = StoreFoundation;
sourceTree = "<group>";
};
EDEAA12E1B5C576D00F2FC3F /* CommerceKit.framework */ = {
isa = PBXGroup;
children = (
EDEAA12F1B5C576D00F2FC3F /* CDStructures.h */,
EDEAA1301B5C576D00F2FC3F /* CKAccountAuthentication.h */,
EDEAA1311B5C576D00F2FC3F /* CKAccountStore.h */,
EDEAA1321B5C576D00F2FC3F /* CKAccountStoreClient.h */,
EDEAA1331B5C576D00F2FC3F /* CKAppleIDAuthentication.h */,
EDEAA1341B5C576D00F2FC3F /* CKAppleIDCookie.h */,
EDEAA1351B5C576D00F2FC3F /* CKAppStoreLauncher.h */,
EDEAA1361B5C576D00F2FC3F /* CKBag.h */,
EDEAA1371B5C576D00F2FC3F /* CKBagClient.h */,
EDEAA1381B5C576D00F2FC3F /* CKBookCache.h */,
EDEAA1391B5C576D00F2FC3F /* CKBookLibrary.h */,
EDEAA13A1B5C576D00F2FC3F /* CKBookLibraryClient.h */,
EDEAA13B1B5C576D00F2FC3F /* CKClientDispatch.h */,
EDEAA13C1B5C576D00F2FC3F /* CKDAAPPurchaseHistory.h */,
EDEAA13D1B5C576D00F2FC3F /* CKDAAPPurchaseHistoryClient.h */,
EDEAA13E1B5C576D00F2FC3F /* CKDaemonPreferencesController.h */,
EDEAA13F1B5C576D00F2FC3F /* CKDialogController.h */,
EDEAA1401B5C576D00F2FC3F /* CKDownloadQueue.h */,
EDEAA1411B5C576D00F2FC3F /* CKDownloadQueueClient.h */,
EDEAA1421B5C576D00F2FC3F /* CKExtensionSearchController.h */,
EDEAA1431B5C576D00F2FC3F /* CKFirmwareWarningSheet.h */,
EDEAA1441B5C576D00F2FC3F /* CKItem.h */,
EDEAA1451B5C576D00F2FC3F /* CKItemArtworkImage.h */,
EDEAA1461B5C576D00F2FC3F /* CKItemLookupRequest.h */,
EDEAA1471B5C576D00F2FC3F /* CKItemLookupResponse.h */,
EDEAA1481B5C576D00F2FC3F /* CKItemTellAFriend.h */,
EDEAA1491B5C576D00F2FC3F /* CKiTunesAppleIDAuthentication.h */,
EDEAA14A1B5C576D00F2FC3F /* CKLaterAgent.h */,
EDEAA14B1B5C576D00F2FC3F /* CKLicenseAgreementSheet.h */,
EDEAA14C1B5C576D00F2FC3F /* CKMachineAuthorization.h */,
EDEAA14D1B5C576D00F2FC3F /* CKPreflightURLRequest.h */,
EDEAA14E1B5C576D00F2FC3F /* CKPurchaseController.h */,
EDEAA14F1B5C576D00F2FC3F /* CKPushNotificationManager.h */,
EDEAA1501B5C576D00F2FC3F /* CKRestoreDownloadsRequest.h */,
EDEAA1511B5C576D00F2FC3F /* CKServiceInterface.h */,
EDEAA1521B5C576D00F2FC3F /* CKSoftwareMap.h */,
EDEAA1531B5C576D00F2FC3F /* CKSoftwareMapObserver.h */,
EDEAA1541B5C576D00F2FC3F /* CKStoreClient.h */,
EDEAA1551B5C576D00F2FC3F /* CKUpdateController.h */,
EDEAA1561B5C576D00F2FC3F /* CKUpdateControllerClient.h */,
EDEAA1571B5C576D00F2FC3F /* CKUpToDate.h */,
EDEAA1581B5C576D00F2FC3F /* ISAccountStoreObserver-Protocol.h */,
EDEAA1591B5C576D00F2FC3F /* ISAppleIDCookie.h */,
EDEAA15A1B5C576D00F2FC3F /* ISAutomaticDownloadQueue.h */,
EDEAA15B1B5C576D00F2FC3F /* ISAvailableUpdatesObserver-Protocol.h */,
EDEAA15C1B5C576D00F2FC3F /* ISBookLibraryObserver-Protocol.h */,
EDEAA15D1B5C576D00F2FC3F /* ISDevice-AppleConfigurator.h */,
EDEAA15E1B5C576D00F2FC3F /* ISDownloadQueueObserver-Protocol.h */,
EDEAA15F1B5C576D00F2FC3F /* ISLoadURLBagOperation.h */,
EDEAA1601B5C576D00F2FC3F /* ISOperationDelegate-Protocol.h */,
EDEAA1611B5C576D00F2FC3F /* ISOSUpdateProgressObserver-Protocol.h */,
EDEAA1621B5C576D00F2FC3F /* ISOSUpdateScanObserver-Protocol.h */,
EDEAA1631B5C576D00F2FC3F /* ISProcessPropertyListOperation.h */,
EDEAA1641B5C576D00F2FC3F /* ISSingleton-Protocol.h */,
EDEAA1651B5C576D00F2FC3F /* ISStoreURLOperation-CommerceKit.h */,
EDEAA1661B5C576D00F2FC3F /* ISStoreURLOperationDelegate-Protocol.h */,
EDEAA1671B5C576D00F2FC3F /* ISURLBag.h */,
EDEAA1681B5C576D00F2FC3F /* ISURLBagContext.h */,
EDEAA1691B5C576D00F2FC3F /* ISURLBagObserver-Protocol.h */,
EDEAA16A1B5C576D00F2FC3F /* ISURLCache.h */,
EDEAA16B1B5C576D00F2FC3F /* ISURLCacheGroup.h */,
EDEAA16C1B5C576D00F2FC3F /* ISURLOperationDelegate-Protocol.h */,
EDEAA16D1B5C576D00F2FC3F /* MBSetupAssistantDelegateConfiguration-Protocol.h */,
EDEAA16E1B5C576D00F2FC3F /* NSArray-CKPushNotification.h */,
EDEAA16F1B5C576D00F2FC3F /* NSBundle-ISAdditions.h */,
EDEAA1701B5C576D00F2FC3F /* NSCoding-Protocol.h */,
EDEAA1711B5C576D00F2FC3F /* NSCopying-Protocol.h */,
EDEAA1721B5C576D00F2FC3F /* NSMutableCopying-Protocol.h */,
EDEAA1731B5C576D00F2FC3F /* NSObject-Protocol.h */,
EDEAA1741B5C576D00F2FC3F /* NSProcessInfo-SuddenTerminaton.h */,
EDEAA1751B5C576D00F2FC3F /* NSURLConnectionDelegate-Protocol.h */,
EDEAA1761B5C576D00F2FC3F /* NSWorkspace-InstalledApp.h */,
EDEAA1771B5C576D00F2FC3F /* SetupAssistantPlugin.h */,
EDEAA1781B5C576D00F2FC3F /* SSMutableURLRequestProperties.h */,
EDEAA1791B5C576D00F2FC3F /* SSRemoteNotification.h */,
EDEAA17A1B5C576D00F2FC3F /* SSRestoreContentItem.h */,
EDEAA17B1B5C576D00F2FC3F /* SSURLRequestProperties.h */,
);
name = CommerceKit.framework;
path = CommerceKit;
sourceTree = "<group>";
};
EDFC76381B642A2E00D0DBD7 /* Frameworks */ = {
isa = PBXGroup;
children = (
EDEAA17C1B5C579100F2FC3F /* CommerceKit.framework */,
EDEAA0BF1B51CE6200F2FC3F /* StoreFoundation.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@ -88,6 +562,7 @@
ED031A701B5127C00097692E /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 0700;
ORGANIZATIONNAME = "Andrew Naylor";
TargetAttributes = {
@ -118,7 +593,18 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
ED128ECC1B6C2A0B00C4050A /* Errors.swift in Sources */,
ED031A7C1B5127C00097692E /* main.swift in Sources */,
ED128EDE1B6C2B4400C4050A /* MutableBox.swift in Sources */,
ED128ECA1B6C2A0B00C4050A /* ArgumentParser.swift in Sources */,
ED128ECB1B6C2A0B00C4050A /* Command.swift in Sources */,
ED128ED51B6C2AB700C4050A /* ResultType.swift in Sources */,
ED128ECE1B6C2A0B00C4050A /* Option.swift in Sources */,
ED128ECD1B6C2A0B00C4050A /* HelpCommand.swift in Sources */,
ED128ED31B6C2AA200C4050A /* Result.swift in Sources */,
ED128ECF1B6C2A0B00C4050A /* Switch.swift in Sources */,
ED128EDD1B6C2B4400C4050A /* BoxType.swift in Sources */,
ED128EDC1B6C2B4400C4050A /* Box.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -142,7 +628,6 @@
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
@ -160,10 +645,9 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
@ -185,7 +669,6 @@
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
@ -197,23 +680,32 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
name = Release;
};
ED031A801B5127C00097692E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
);
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "mas-cli/mas-cli-Bridging-Header.h";
};
name = Debug;
};
ED031A811B5127C00097692E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
);
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "mas-cli/mas-cli-Bridging-Header.h";
};
name = Release;
};
@ -236,6 +728,7 @@
ED031A811B5127C00097692E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};

View file

@ -0,0 +1,10 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#pragma mark Blocks
typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown

View file

@ -0,0 +1,42 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "NSURLConnectionDelegate.h"
@class ISAuthenticationContext, ISStoreClient, NSDictionary, NSString;
@interface CKAccountAuthentication : NSObject <NSURLConnectionDelegate>
{
id <CKAccountAuthenticationDelegate> _delegate;
NSString *_accountName;
NSString *_password;
NSDictionary *_serverResponseDictionary;
ISAuthenticationContext *_context;
long long _attempt;
ISStoreClient *_storeClient;
}
@property(retain) ISStoreClient *storeClient; // @synthesize storeClient=_storeClient;
@property long long attempt; // @synthesize attempt=_attempt;
@property(retain) ISAuthenticationContext *context; // @synthesize context=_context;
@property(readonly) NSDictionary *serverResponseDictionary; // @synthesize serverResponseDictionary=_serverResponseDictionary;
@property(retain) NSString *password; // @synthesize password=_password;
@property(retain) NSString *accountName; // @synthesize accountName=_accountName;
@property id <CKAccountAuthenticationDelegate> delegate; // @synthesize delegate=_delegate;
- (void).cxx_destruct;
- (void)stop;
- (BOOL)start;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end

View file

@ -0,0 +1,37 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CKServiceInterface.h"
#import "ISStoreURLOperationDelegate-Protocol.h"
@class ISStoreAccount, NSArray, NSString;
@interface CKAccountStore : CKServiceInterface <ISStoreURLOperationDelegate>
{
}
+ (CKAccountStore *)sharedAccountStore;
- (void)removePrimaryAccountObserver:(id)arg1;
//- (id)addPrimaryAccountObserverWithBlock:(CDUnknownBlockType)arg1;
//- (void)updatePasswordSettings:(id)arg1 completionBlock:(CDUnknownBlockType)arg2;
//- (void)getPasswordSettingsWithCompletionBlock:(CDUnknownBlockType)arg1;
//- (void)getEligibilityForService:(long long)arg1 completionBlock:(CDUnknownBlockType)arg2;
- (id)eligibilityForService:(long long)arg1;
- (void)signOut;
- (void)viewAccount;
- (void)signIn;
//- (void)signInWithSuggestedAppleID:(id)arg1 allowChangeOfAppleID:(BOOL)arg2 completionHandler:(CDUnknownBlockType)arg3;
- (void)addAccount:(id)arg1;
- (id)accountWithAppleID:(id)arg1;
- (id)accountForDSID:(id)arg1;
@property(readonly) BOOL primaryAccountIsPresentAndSignedIn;
@property(readonly) ISStoreAccount *primaryAccount;
@property(readonly) NSArray *accounts;
- (id)init;
@end

View file

@ -0,0 +1,21 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "ISAccountStoreObserver.h"
@interface CKAccountStoreClient : NSObject <ISAccountStoreObserver>
{
CDUnknownBlockType _primaryAccountChangeObserver;
}
@property(copy) CDUnknownBlockType primaryAccountChangeObserver; // @synthesize primaryAccountChangeObserver=_primaryAccountChangeObserver;
- (void).cxx_destruct;
- (void)primaryAccountDidChange:(id)arg1;
@end

View file

@ -0,0 +1,24 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSMutableDictionary;
@interface CKAppStoreLauncher : NSObject
{
NSMutableDictionary *_validURLs;
}
+ (void)validateLaunchURL:(id)arg1 withResultBlock:(CDUnknownBlockType)arg2;
+ (id)sharedInstance;
- (void).cxx_destruct;
- (void)launchAppStoreWithURL:(id)arg1;
- (id)_validateLaunchURL:(id)arg1;
- (id)init;
@end

View file

@ -0,0 +1,34 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <CommerceKit/CKAccountAuthentication.h>
@class NSMutableData, NSTimer, NSURLConnection;
@interface CKAppleIDAuthentication : CKAccountAuthentication
{
NSTimer *_timeoutTimer;
NSMutableData *_receivedData;
NSURLConnection *_urlConnection;
}
- (void).cxx_destruct;
- (void)connection:(id)arg1 didFailWithError:(id)arg2;
- (void)connectionDidFinishLoading:(id)arg1;
- (void)connection:(id)arg1 didSendBodyData:(long long)arg2 totalBytesWritten:(long long)arg3 totalBytesExpectedToWrite:(long long)arg4;
- (void)connection:(id)arg1 didReceiveData:(id)arg2;
- (void)connection:(id)arg1 didReceiveResponse:(id)arg2;
- (void)stop;
- (BOOL)start;
- (id)_createRequest;
- (id)_convertDictionaryToXMLData:(id)arg1;
- (void)_addDict:(id)arg1 toData:(id)arg2 withIndent:(long long)arg3;
- (id)_convertXMLDataToDictionary:(id)arg1;
- (void)_dictionaryFromXMLNode:(id)arg1 dictionary:(id)arg2;
- (void)_cleanupURLConnection;
@end

View file

@ -0,0 +1,18 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@interface CKAppleIDCookie : NSObject
{
}
+ (id)sharedAppleIDCookie;
- (id)appleID;
- (void)setAppleID:(id)arg1;
@end

View file

@ -0,0 +1,35 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <CommerceKit/CKServiceInterface.h>
@interface CKBag : CKServiceInterface
{
}
+ (void)_invalidateAllBags;
+ (id)valueForKey:(id)arg1;
+ (id)urlForKey:(id)arg1;
+ (id)serialDispatchQueue;
+ (id)bagWithType:(unsigned long long)arg1;
+ (id)sandboxBox;
+ (id)productionBag;
- (void)startUpdate;
- (void)stopObservingBagWithObserver:(id)arg1;
- (id)loadBagAndObserveUpdatesWithHandler:(CDUnknownBlockType)arg1;
- (BOOL)_loadBagSynchronouslyReturningError:(id *)arg1;
- (id)storefrontURL;
- (id)dictionary;
- (BOOL)sendGUIDWithURL:(id)arg1;
- (BOOL)isValid;
- (BOOL)regexWithKey:(id)arg1 matchesString:(id)arg2;
- (BOOL)urlIsTrusted:(id)arg1;
- (id)urlForKey:(id)arg1;
- (id)valueForKey:(id)arg1;
- (id)initWithBagType:(unsigned long long)arg1;
@end

View file

@ -0,0 +1,25 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "ISURLBagObserver.h"
@class CKBag;
@interface CKBagClient : NSObject <ISURLBagObserver>
{
CKBag *_bag;
CDUnknownBlockType _observerBlock;
}
@property(copy) CDUnknownBlockType observerBlock; // @synthesize observerBlock=_observerBlock;
@property(retain) CKBag *bag; // @synthesize bag=_bag;
- (void).cxx_destruct;
- (void)urlBagDidUpdateWithSuccess:(BOOL)arg1 error:(id)arg2;
@end

View file

@ -0,0 +1,25 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSCache;
@interface CKBookCache : NSObject
{
NSCache *_cache;
}
+ (id)sharedCache;
@property(readonly) NSCache *cache; // @synthesize cache=_cache;
- (void).cxx_destruct;
- (void)purge;
- (void)cacheBook:(id)arg1;
- (id)cachedBookWithUniqueIdentifier:(id)arg1;
- (id)init;
@end

View file

@ -0,0 +1,44 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class ISServiceProxy, NSArray, NSPredicate;
@interface CKBookLibrary : NSObject
{
long long _libraryType;
NSArray *_sortDescriptors;
NSPredicate *_searchPredicate;
id <CKBookLibraryDelegate> _delegate;
ISServiceProxy *_serviceProxy;
}
+ (BOOL)hasSampleWithItemIdentifier:(id)arg1 returningMetadata:(id *)arg2;
+ (id)shelfSortDescriptors;
+ (id)categorySortDescriptors;
+ (id)authorSortDescriptors;
+ (id)titleSortDescriptors;
@property(readonly) ISServiceProxy *serviceProxy; // @synthesize serviceProxy=_serviceProxy;
@property(nonatomic) __weak id <CKBookLibraryDelegate> delegate; // @synthesize delegate=_delegate;
@property(copy) NSPredicate *searchPredicate; // @synthesize searchPredicate=_searchPredicate;
@property(copy) NSArray *sortDescriptors; // @synthesize sortDescriptors=_sortDescriptors;
@property(readonly) long long libraryType; // @synthesize libraryType=_libraryType;
- (void).cxx_destruct;
- (void)pollForPurchasedBooks;
- (void)removeObserver:(id)arg1;
- (id)addObserver:(id)arg1;
- (id)addObserverOfType:(long long)arg1 withBlock:(CDUnknownBlockType)arg2;
- (id)bookWithItemIdentifier:(unsigned long long)arg1;
- (id)objectInBooksAtIndex:(unsigned long long)arg1;
- (id)booksAtIndexes:(id)arg1;
- (id)_willReturnBooks:(id)arg1;
- (unsigned long long)countOfBooks;
- (id)_requestInfo;
- (id)initWithLibraryType:(long long)arg1;
@end

View file

@ -0,0 +1,23 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "ISBookLibraryObserver.h"
@interface CKBookLibraryClient : NSObject <ISBookLibraryObserver>
{
long long _libraryType;
CDUnknownBlockType _observerBlock;
}
@property(copy) CDUnknownBlockType observerBlock; // @synthesize observerBlock=_observerBlock;
@property long long libraryType; // @synthesize libraryType=_libraryType;
- (void).cxx_destruct;
- (void)bookLibraryHasAdded:(id)arg1 changed:(id)arg2 removed:(id)arg3;
@end

View file

@ -0,0 +1,35 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSLock, NSObject<OS_dispatch_queue>, NSObject<OS_xpc_object>;
@interface CKClientDispatch : NSObject
{
NSObject<OS_xpc_object> *serviceXPCConnection;
NSLock *serviceConnectionLock;
NSObject<OS_xpc_object> *agentXPCConnection;
NSLock *agentConnectionLock;
NSObject<OS_dispatch_queue> *mQueue;
}
+ (id)sharedInstance;
- (void).cxx_destruct;
- (void)cancelCallback:(id)arg1;
- (id)_syncInvokeSelector:(id)arg1 ofClass:(id)arg2 withObject:(id)arg3;
- (id)invokeSelector:(id)arg1 ofClass:(id)arg2 withObject:(id)arg3 callbackQueue:(id)arg4 callbackBlock:(CDUnknownBlockType)arg5;
- (void)invokeSelector:(id)arg1 ofClass:(id)arg2 withObject:(id)arg3 replyQueue:(id)arg4 replyBlock:(CDUnknownBlockType)arg5;
- (void)invokeSelector:(id)arg1 ofClass:(id)arg2 replyQueue:(id)arg3 replyBlock:(CDUnknownBlockType)arg4;
- (void)invokeSelector:(id)arg1 ofClass:(id)arg2 withObject:(id)arg3;
- (void)invokeSelector:(id)arg1 ofClass:(id)arg2;
- (void)dealloc;
- (id)init;
- (id)_sendMessage:(id)arg1 callbackQueue:(id)arg2 callbackBlock:(CDUnknownBlockType)arg3;
- (void)_sendMessage:(id)arg1 replyQueue:(id)arg2 replyBlock:(CDUnknownBlockType)arg3;
@end

View file

@ -0,0 +1,26 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class ISServiceProxy;
@interface CKDAAPPurchaseHistory : NSObject
{
ISServiceProxy *_serviceProxy;
}
@property(readonly) ISServiceProxy *serviceProxy; // @synthesize serviceProxy=_serviceProxy;
- (void).cxx_destruct;
- (void)pollForPurchasedItems:(BOOL)arg1;
- (void)removeObserver:(id)arg1;
- (id)addObserver:(id)arg1;
- (id)addObserverWithBlock:(CDUnknownBlockType)arg1;
- (id)purchasedItems;
- (id)initWithStoreClient:(id)arg1;
@end

View file

@ -0,0 +1,21 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "ISBookLibraryObserver.h"
@interface CKDAAPPurchaseHistoryClient : NSObject <ISBookLibraryObserver>
{
CDUnknownBlockType _observerBlock;
}
@property(copy) CDUnknownBlockType observerBlock; // @synthesize observerBlock=_observerBlock;
- (void).cxx_destruct;
- (void)bookLibraryHasAdded:(id)arg1 changed:(id)arg2 removed:(id)arg3;
@end

View file

@ -0,0 +1,20 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@interface CKDaemonPreferencesController : NSObject
{
}
+ (id)sharedInstance;
- (void)_preferencesChanged:(id)arg1;
- (void)postPreferencesChangedNotification;
- (void)stopObservingPreferenceChanges;
- (void)startObservingPreferenceChanges;
@end

View file

@ -0,0 +1,23 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <CommerceKit/CKServiceInterface.h>
@class NSLock;
@interface CKDialogController : CKServiceInterface
{
NSLock *_lock;
id <ISUIHostProtocol> _delegate;
}
+ (id)sharedDialogController;
- (void).cxx_destruct;
- (void)setDelegate:(id)arg1;
- (id)initWithStoreClient:(id)arg1;
@end

View file

@ -0,0 +1,41 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CKServiceInterface.h"
@class NSArray, NSLock, NSMutableDictionary, CKDownloadQueueClient;
@protocol CKDownloadQueueObserver;
@interface CKDownloadQueue : CKServiceInterface
{
NSMutableDictionary *_downloadsByItemID;
NSLock *_downloadsLock;
}
+ (CKDownloadQueue *)sharedDownloadQueue;
//- (void).cxx_destruct;
- (BOOL)cacheReceiptDataForDownload:(id)arg1;
- (void)checkStoreDownloadQueueForAccount:(id)arg1;
- (void)recoverAvailableDiskSpace;
- (void)lockedApplicationTriedToLaunchAtPath:(id)arg1;
- (void)unlockApplicationsWithBundleIdentifier:(id)arg1;
- (void)lockApplicationsForBundleID:(id)arg1;
//- (void)fetchIconForItemIdentifier:(unsigned long long)arg1 atURL:(id)arg2 replyBlock:(CDUnknownBlockType)arg3;
- (void)removeDownloadWithItemIdentifier:(unsigned long long)arg1;
- (void)cancelDownload:(id)arg1 promptToConfirm:(BOOL)arg2 askToDelete:(BOOL)arg3;
- (void)resumeDownloadWithItemIdentifier:(unsigned long long)arg1;
- (void)pauseDownloadWithItemIdentifier:(unsigned long long)arg1;
- (void)addDownload:(id)arg1;
- (id)downloadForItemIdentifier:(unsigned long long)arg1;
@property(readonly, nonatomic) NSArray *downloads; // @dynamic downloads;
- (void)removeObserver:(id)arg1;
- (id)addObserver:(id<CKDownloadQueueObserver>)arg1;
- (id)addObserver:(id)arg1 forDownloadTypes:(long long)arg2;
//- (id)addObserverForDownloadTypes:(long long)arg1 withBlock:(CDUnknownBlockType)arg2;
- (id)initWithStoreClient:(id)arg1;
@end

View file

@ -0,0 +1,24 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "ISDownloadQueueObserver-Protocol.h"
@interface CKDownloadQueueClient : NSObject <ISDownloadQueueObserver>
{
long long _downloadTypesMask;
// CDUnknownBlockType _observerBlock;
}
//@property(copy) CDUnknownBlockType observerBlock; // @synthesize observerBlock=_observerBlock;
@property long long downloadTypesMask; // @synthesize downloadTypesMask=_downloadTypesMask;
//- (void).cxx_destruct;
- (void)downloadQueueDidCheckServerDownloadQueueForAccount:(id)arg1 withDownloadCount:(long long)arg2 newDownloads:(id)arg3;
- (void)download:(id)arg1 didUpdateStatus:(id)arg2;
- (void)downloadQueueDidRemoveDownload:(id)arg1 queueIsIdle:(BOOL)arg2;
- (void)downloadQueueDidAddDownload:(id)arg1;
@end

View file

@ -0,0 +1,16 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@interface CKExtensionSearchController : NSObject
{
}
+ (void)urlToSearchForExtensionsWithIdentifier:(id)arg1 completion:(CDUnknownBlockType)arg2;
@end

View file

@ -0,0 +1,19 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <CommerceKit/CKLicenseAgreementSheet.h>
@interface CKFirmwareWarningSheet : CKLicenseAgreementSheet
{
}
- (BOOL)userConfirmedAllWarningsWithWindowForSheet:(id)arg1;
- (id)_titleValueKey;
- (id)_textValueKey;
- (id)_nibName;
@end

View file

@ -0,0 +1,41 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSArray, NSDictionary, NSNumber, NSString, NSURL;
@interface CKItem : NSObject
{
NSDictionary *_properties;
}
- (void).cxx_destruct;
- (id)_tellAFriendDictionary;
- (id)viewReviewsURL;
- (id)sendGiftURL;
- (id)releaseDate;
- (id)rawItemDictionary;
- (id)mediaKind;
- (id)collectionName;
- (id)bundleVersion;
- (id)bundleIdentifier;
- (id)initWithItemDictionary:(id)arg1;
- (id)description;
- (id)priceDisplay;
- (id)buyParameters;
@property(readonly, nonatomic) NSURL *viewItemURL;
- (id)valueForProperty:(id)arg1;
@property(readonly, nonatomic) NSArray *thumbnailImages;
@property(readonly, nonatomic) long long numberOfUserRatings;
@property(readonly, nonatomic) NSNumber *ITunesStoreIdentifier;
@property(readonly, nonatomic) NSString *itemTitle;
- (id)itemKind;
@property(readonly, nonatomic) float averageUserRating;
@property(readonly, nonatomic) NSString *developerName;
@end

View file

@ -0,0 +1,31 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSString, NSURL;
@interface CKItemArtworkImage : NSObject
{
long long _height;
NSString *_imageKind;
BOOL _prerendered;
NSURL *_url;
long long _width;
}
@property(readonly, nonatomic) long long width; // @synthesize width=_width;
@property(readonly, nonatomic) NSURL *URL; // @synthesize URL=_url;
@property(readonly, nonatomic) NSString *imageKind; // @synthesize imageKind=_imageKind;
@property(readonly, nonatomic) long long height; // @synthesize height=_height;
- (void).cxx_destruct;
- (id)initWithArtworkDictionary:(id)arg1;
- (BOOL)isEqual:(id)arg1;
- (unsigned long long)hash;
- (id)description;
@end

View file

@ -0,0 +1,28 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class NSArray, NSString;
@class CKItemLookupResponse;
@interface CKItemLookupRequest : NSObject
{
NSArray *_bundleIdentifiers;
NSArray *_adamIdentifiers;
BOOL _platformOverride;
NSString *_keyProfile;
NSString *_preferredLanguage;
// CDUnknownBlockType _lookupCallbackBlock;
}
@property(retain, nonatomic) NSString *preferredLanguage; // @synthesize preferredLanguage=_preferredLanguage;
@property BOOL platformOverride; // @synthesize platformOverride=_platformOverride;
//- (void).cxx_destruct;
- (id)parameters;
- (BOOL)start;
- (BOOL)startWithLookupBlock:(void(^)(CKItemLookupResponse *, NSError *))block;
- (id)initWithBundleIdentifiers:(NSArray*)arg1 adamIDs:(NSArray *)arg2 keyProfile:(NSString *)arg3;
@end

View file

@ -0,0 +1,20 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class NSDictionary;
@interface CKItemLookupResponse : NSObject
{
NSDictionary *_responseDictionary;
}
//- (void).cxx_destruct;
@property(readonly, nonatomic) NSDictionary *resultDictionary; // @dynamic resultDictionary;
@property(readonly, nonatomic) unsigned long long responseCount; // @dynamic responseCount;
- (id)initWithDictionary:(id)arg1;
@end

View file

@ -0,0 +1,43 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "ISStoreURLOperationDelegate.h"
@class ISStoreURLOperation, NSDictionary, NSHTTPURLResponse, NSString;
@interface CKItemTellAFriend : NSObject <ISStoreURLOperationDelegate>
{
NSDictionary *_properties;
ISStoreURLOperation *_tellAFriendOperation;
NSString *_tellAFriendSubject;
NSString *_tellAFriendBody;
NSString *_tellAFriendBodyMIMEType;
NSHTTPURLResponse *_tellAFriendResponse;
}
- (void).cxx_destruct;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
- (void)operation:(id)arg1 didReceiveResponse:(id)arg2;
- (void)operationFinished:(id)arg1;
- (void)operation:(id)arg1 failedWithError:(id)arg2;
@property(readonly, nonatomic) NSString *tellAFriendSubject;
@property(readonly, nonatomic) NSString *tellAFriendBodyMIMEType;
@property(readonly, nonatomic) NSString *tellAFriendBody;
- (BOOL)loadTellAFriendMessage:(id *)arg1;
- (id)initWithItemDictionary:(id)arg1;
- (id)_tellAFriendDictionary;
- (void)_finishTellAFriendLoadWithError:(id)arg1;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end

View file

@ -0,0 +1,22 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@interface CKLaterAgent : NSObject
{
}
+ (BOOL)isRestartCountdownShown;
+ (long long)showRestartCountdownNotification;
+ (BOOL)isArmedForInstallLater;
+ (void)disarmObserver;
+ (void)armObserverWithMode:(long long)arg1;
+ (void)_sendAgentMessage:(id)arg1 withReplyHandler:(CDUnknownBlockType)arg2;
+ (void)_sendAgentCommand:(long long)arg1 mode:(long long)arg2;
@end

View file

@ -0,0 +1,38 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSWindowController.h"
@class NSArray, NSButton, NSTextField, NSTextView, NSWindow;
@interface CKLicenseAgreementSheet : NSWindowController
{
NSButton *_agreeButton;
NSButton *_cancelButton;
NSTextView *_textView;
NSTextField *_titleField;
long long _sheetReturnCode;
NSArray *_productKeys;
NSWindow *_hostWindow;
}
@property __weak NSWindow *hostWindow; // @synthesize hostWindow=_hostWindow;
@property(copy) NSArray *productKeys; // @synthesize productKeys=_productKeys;
- (void).cxx_destruct;
- (void)agree:(id)arg1;
- (void)cancel:(id)arg1;
- (void)_dismissPanelWithCode:(long long)arg1;
- (void)didEndSheet:(id)arg1 returnCode:(long long)arg2 contextInfo:(void *)arg3;
- (void)displaySheetWithTitle:(id)arg1 content:(id)arg2 onWindow:(id)arg3 replyBlock:(CDUnknownBlockType)arg4;
- (BOOL)userAgreedToAllAgreementsWithWindowForSheet:(id)arg1;
- (id)_titleValueKey;
- (id)_textValueKey;
- (id)_nibName;
- (id)init;
- (id)initWithUpdateProductKeys:(id)arg1;
@end

View file

@ -0,0 +1,18 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <CommerceKit/CKServiceInterface.h>
@interface CKMachineAuthorization : CKServiceInterface
{
}
+ (id)sharedMachineAuthorization;
- (void)deauthorizeMachineWithCompletionHandler:(CDUnknownBlockType)arg1;
- (void)authorizeMachineWithAppleID:(id)arg1 completionHandler:(CDUnknownBlockType)arg2;
@end

View file

@ -0,0 +1,34 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "SSRequest.h"
#import "ISStoreURLOperationDelegate.h"
@class NSArray, NSDictionary, NSString;
@interface CKPreflightURLRequest : SSRequest <ISStoreURLOperationDelegate>
{
NSArray *_identifiers;
NSDictionary *_preflightURLs;
}
@property(readonly) NSDictionary *preflightURLs; // @synthesize preflightURLs=_preflightURLs;
- (void).cxx_destruct;
- (void)_sendErrorToDelegate:(id)arg1;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
- (void)operation:(id)arg1 failedWithError:(id)arg2;
- (BOOL)issueRequestForIdentifier:(id)arg1 error:(id *)arg2;
- (id)initWithBundleIdentifiers:(id)arg1;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end

View file

@ -0,0 +1,36 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CKServiceInterface.h"
#import "SSPurchase.h"
@interface CKPurchaseController : CKServiceInterface
{
NSMutableArray *_purchases;
NSMutableArray *_rejectedPurchases;
NSArray *_adoptionEligibleItems;
NSNumber *_adoptionServerStatus;
NSNumber *_adoptionErrorNumber;
// CDUnknownBlockType _dialogHandler;
}
+ (void)setNeedsSilentMachineAuthorization:(BOOL)arg1;
+ (CKPurchaseController *)sharedPurchaseController;
- (void)performPurchase:(SSPurchase *)purchase withOptions:(NSUInteger)options completionHandler:(void(^)(SSPurchase *, BOOL, NSError*, SSPurchaseResponse *))completionHandler;
//@property(copy) CDUnknownBlockType dialogHandler; // @synthesize dialogHandler=_dialogHandler;
//- (BOOL)adoptionCompletedForBundleID:(id)arg1;
//- (void)_performVPPReceiptRenewal;
//- (void)checkServerDownloadQueue;
//- (id)purchaseInProgressForProductID:(id)arg1;
//- (id)purchasesInProgress;
//- (void)cancelPurchaseWithProductID:(id)arg1;
//- (void)resumeDownloadForPurchasedProductID:(id)arg1;
//- (void)startPurchases:(NSArray<SSPurchase *> *)purchases shouldStartDownloads:(BOOL)downloads eventHandler:(CDUnknownBlockType)arg3;
//- (void)checkInstallRequirementsAtURL:(id)arg1 productID:(id)arg2 completionHandler:(CDUnknownBlockType)arg3;
@end

View file

@ -0,0 +1,41 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <CommerceKit/CKServiceInterface.h>
@interface CKPushNotificationManager : CKServiceInterface
{
id _delegate;
}
+ (id)sharedManager;
@property __weak id <CKPushNotificationManagerDelegate> delegate; // @synthesize delegate=_delegate;
- (void).cxx_destruct;
- (BOOL)isRegisteredForAccount:(id)arg1 andMask:(long long)arg2;
- (BOOL)isRegisteredForAccount:(id)arg1;
- (BOOL)stopAtSignOut;
- (void)disableAutoDownloadAtSignOutWithCompletionHandler:(CDUnknownBlockType)arg1;
- (BOOL)startAtSignIn;
- (void)enableAutoDownloadAtSignInWithCompletionHandler:(CDUnknownBlockType)arg1;
- (BOOL)stop;
- (void)disableAutoDownloadWithCompletionHandler:(CDUnknownBlockType)arg1;
- (BOOL)start;
- (void)enableAutoDownloadWithCompletionHandler:(CDUnknownBlockType)arg1;
- (BOOL)checkEnabledMediaTypes;
- (void)getEnabledMedaTypesWithCompletionHandler:(CDUnknownBlockType)arg1;
- (BOOL)registerPushToken;
- (void)registerDeviceTokenWithCompletionHandler:(CDUnknownBlockType)arg1;
- (void)_writeAutoDownloadEnabled:(long long)arg1 forAccount:(id)arg2;
- (BOOL)_isAutoDownloadEnabledForAccount:(id)arg1;
- (void)_updateRegisteredDSIDsPreferences:(id)arg1 forDSID:(id)arg2;
- (BOOL)_setRegisteredDSIDsPreferences:(id)arg1;
- (id)_registeredDSIDsPreferences;
- (void)_sendChangedToDelegate;
- (void)_sendSuccessToDelegate;
- (void)_sendErrorToDelegate:(id)arg1;
@end

View file

@ -0,0 +1,24 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "SSRequest.h"
@class ISServiceProxy, NSArray;
@interface CKRestoreDownloadsRequest : SSRequest
{
NSArray *_archivedFiles;
ISServiceProxy *_serviceProxy;
BOOL _userInitiated;
}
@property BOOL userInitiated; // @synthesize userInitiated=_userInitiated;
- (void).cxx_destruct;
- (BOOL)issueRequestForIdentifier:(id)identifier error:(NSError **)error;
- (id)initWithArchivedFiles:(id)arg1;
@end

View file

@ -0,0 +1,14 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "ISServiceProxy.h"
@interface CKServiceInterface : ISServiceProxy
{
}
@end

View file

@ -0,0 +1,35 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CKServiceInterface.h"
#import "CKSoftwareProduct.h"
@class NSLock, NSMutableArray;
@interface CKSoftwareMap : CKServiceInterface
{
NSMutableArray *_observers;
NSLock *_observersLock;
}
+ (CKSoftwareMap *)sharedSoftwareMap;
- (id)adaptableBundleIdentifiers;
- (BOOL)adoptionCompletedForBundleID:(id)arg1 adoptingDSID:(out id *)arg2 appleID:(out id *)arg3;
- (id)updateRequestBodyData:(char *)arg1 includeInstalledApps:(BOOL)arg2 includeBundledApps:(BOOL)arg3 conditionally:(BOOL)arg4 hadUnadoptedApps:(out char *)arg5;
- (id)iconForApplicationWithBundeID:(id)arg1;
- (id)bundleInfoFromBundleAtPath:(id)arg1;
- (BOOL)isTrialVersionOfBundleIdentifier:(id)arg1;
- (id)receiptFromBundleAtPath:(id)arg1;
- (id)productForPath:(id)arg1;
- (id)allProducts;
- (CKSoftwareProduct *)productForItemIdentifier:(unsigned long long)arg1;
- (CKSoftwareProduct *)productForBundleIdentifier:(NSString *)arg1;
- (void)removeProductsObserver:(id)arg1;
//- (id)addProductsObserver:(CDUnknownBlockType)arg1 queue:(id)arg2;
- (id)initWithStoreClient:(id)arg1;
@end

View file

@ -0,0 +1,22 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSObject<OS_dispatch_queue>;
@interface CKSoftwareMapObserver : NSObject
{
CDUnknownBlockType _block;
NSObject<OS_dispatch_queue> *_queue;
}
@property(retain) NSObject<OS_dispatch_queue> *queue; // @synthesize queue=_queue;
@property(copy) CDUnknownBlockType block; // @synthesize block=_block;
- (void).cxx_destruct;
@end

View file

@ -0,0 +1,36 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "ISSingleton.h"
@class ISStoreClient, NSString;
@interface CKStoreClient : NSObject <ISSingleton>
{
ISStoreClient *_storeClient;
}
+ (void)setStoreFrontID:(id)arg1;
+ (id)storeFrontID;
+ (BOOL)isBookStoreClient;
+ (BOOL)isAppStoreClient;
+ (void)configureClientAsType:(long long)arg1;
+ (id)_serviceProxy;
+ (id)sharedInstance;
@property(readonly) ISStoreClient *storeClient; // @synthesize storeClient=_storeClient;
- (void).cxx_destruct;
- (id)primaryAccount;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end

View file

@ -0,0 +1,25 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@interface CKUpToDate : NSObject
{
CDUnknownBlockType _callbackBlock;
}
+ (BOOL)isEligibleForItemID:(id)arg1;
+ (id)eligibleUpToDateAppsForServer;
+ (id)eligibleUpToDateApps;
+ (void)startCheckIgnoringTimestamps:(BOOL)arg1;
+ (id)sharedInstance;
+ (BOOL)usePorco;
@property(copy) CDUnknownBlockType callbackBlock; // @synthesize callbackBlock=_callbackBlock;
- (void).cxx_destruct;
- (void)claimItems:(id)arg1 withDownloadItems:(id)arg2 completionBlock:(CDUnknownBlockType)arg3;
@end

View file

@ -0,0 +1,56 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CKServiceInterface.h"
@interface CKUpdateController : CKServiceInterface
{
// CDUnknownBlockType _dialogHandler;
}
+ (CKUpdateController *)sharedUpdateController;
//@property(copy) CDUnknownBlockType dialogHandler; // @synthesize dialogHandler=_dialogHandler;
//- (void).cxx_destruct;
- (void)promptUserToOptInForAutoUpdateWithShowNotification:(BOOL)arg1;
- (BOOL)shouldPromptForAutoUpdateOptIn;
- (BOOL)isAutoUpdatedEnabled;
- (id)installedUpdatesJournal;
- (BOOL)softwareUpdateCatalogIsSeedCatalog;
- (long long)softwareUpdateCatalogTrustLevel;
- (int)catalogTrustLevel;
- (id)catalogHostName;
- (void)stopObservingOSUpdateProgressWithCallback:(id)arg1;
//- (id)observerOSUpdateProgressWithProgressHandler:(CDUnknownBlockType)arg1;
- (void)stopObservingOSUpdateScansWithCallback:(id)arg1;
//- (id)observerOSUpdateScansWithProgressHandler:(CDUnknownBlockType)arg1;
- (void)startOSUpdateScanWithForceFullScan:(BOOL)arg1 reportProgressImmediately:(BOOL)arg2 launchedFromNotification:(BOOL)arg3 userHasSeenAllUpdates:(BOOL)arg4 checkForOtherUpdates:(BOOL)arg5;
- (void)unhideAllOSUpdates;
- (void)hideOSUpdatesWithProductKeys:(id)arg1;
- (BOOL)hasHiddenOSUpdates;
- (BOOL)osUpdateScanInProgress;
- (id)_updateFailureDialogWithAuditInfo:(id)arg1;
- (BOOL)_otherUsersAreLoggedIn;
- (void)showUpdateFailureWithAuditToken:(id)arg1;
- (void)removeUpdateFromInstallLaterWithBundleID:(id)arg1;
- (id)appUpdatesToBeInstalledLater;
- (id)osUpdatesToBeInstalledLater;
- (id)osUpdatesToBeInstalledAfterLogout;
- (void)cancelUpdatesToBeInstalledLater;
- (void)installAvailableUpdatesLaterWithMode:(long long)arg1;
- (BOOL)shouldOfferDoItLater;
- (void)installAllAvailableUpdates;
//- (void)startAppUpdates:(id)arg1 andOSUpdates:(id)arg2 withDelegate:(id)arg3 completionHandler:(CDUnknownBlockType)arg4;
//- (void)checkForUpdatesWithUserHasSeenUpdates:(BOOL)arg1 completionHandler:(CDUnknownBlockType)arg2;
- (void)removeAvailableUpdatesObserver:(id)arg1;
//- (id)addAvailableUpdatesObserverWithBlock:(CDUnknownBlockType)arg1;
- (unsigned long long)availableUpdatesBadgeCount;
- (id)incompatibleUpdates;
- (id)availableUpdateWithItemIdentifier:(unsigned long long)arg1;
- (id)availableUpdates;
- (id)init;
@end

View file

@ -0,0 +1,30 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "ISAvailableUpdatesObserver.h"
#import "ISOSUpdateProgressObserver.h"
#import "ISOSUpdateScanObserver.h"
@interface CKUpdateControllerClient : NSObject <ISOSUpdateProgressObserver, ISAvailableUpdatesObserver, ISOSUpdateScanObserver>
{
CDUnknownBlockType _osUpdateProgressHandler;
CDUnknownBlockType _availableUpdatesObserverBlock;
CDUnknownBlockType _osUpdateScanObserverBlock;
}
@property(copy) CDUnknownBlockType osUpdateScanObserverBlock; // @synthesize osUpdateScanObserverBlock=_osUpdateScanObserverBlock;
@property(copy) CDUnknownBlockType availableUpdatesObserverBlock; // @synthesize availableUpdatesObserverBlock=_availableUpdatesObserverBlock;
@property(copy) CDUnknownBlockType osUpdateProgressHandler; // @synthesize osUpdateProgressHandler=_osUpdateProgressHandler;
- (void).cxx_destruct;
- (void)osUpdateScanDidProgressWithPercentComplete:(float)arg1 isFinished:(BOOL)arg2 error:(id)arg3;
- (void)availableUpdatesDidChangedWithUpdates:(id)arg1 osUpdates:(id)arg2 badgeCount:(unsigned long long)arg3;
- (void)osUpdates:(id)arg1 didFailWithError:(id)arg2;
- (void)osUpdates:(id)arg1 didProgressWithState:(long long)arg2 percentComplete:(double)arg3 statusInfo:(id)arg4 includesCriticalUpdates:(BOOL)arg5 canCancel:(BOOL)arg6;
@end

View file

@ -0,0 +1,37 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <CommerceKit/CKAccountAuthentication.h>
#import "ISStoreURLOperationDelegate.h"
@class ISStoreURLOperation, NSMutableData, NSString, NSURL;
@interface CKiTunesAppleIDAuthentication : CKAccountAuthentication <ISStoreURLOperationDelegate>
{
NSURL *_url;
NSMutableData *_receivedData;
ISStoreURLOperation *_loadOperation;
}
- (void).cxx_destruct;
- (void)stop;
- (BOOL)start;
- (void)operation:(id)arg1 willSendRequest:(id)arg2;
- (void)operation:(id)arg1 didReceiveResponse:(id)arg2;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
- (id)_encodeString:(id)arg1;
- (id)_requestBodyDataWithAdditionalQueryParameters:(id)arg1;
- (id)initWithURL:(id)arg1;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end

View file

@ -0,0 +1,12 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class ISStoreAccount;
@protocol ISAccountStoreObserver
- (void)primaryAccountDidChange:(ISStoreAccount *)arg1;
@end

View file

@ -0,0 +1,18 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@interface ISAppleIDCookie : NSObject
{
}
+ (id)sharedAppleIDCookie;
- (id)appleID;
- (void)setAppleID:(id)arg1;
@end

View file

@ -0,0 +1,14 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@interface ISAutomaticDownloadQueue : NSObject
{
}
@end

View file

@ -0,0 +1,12 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class NSArray;
@protocol ISAvailableUpdatesObserver
- (void)availableUpdatesDidChangedWithUpdates:(NSArray *)arg1 osUpdates:(NSArray *)arg2 badgeCount:(unsigned long long)arg3;
@end

View file

@ -0,0 +1,12 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class NSArray;
@protocol ISBookLibraryObserver
- (void)bookLibraryHasAdded:(NSArray *)arg1 changed:(NSArray *)arg2 removed:(NSArray *)arg3;
@end

View file

@ -0,0 +1,13 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "ISDevice.h"
@interface ISDevice (AppleConfigurator)
+ (id)sharedInstance;
- (id)guid;
@end

View file

@ -0,0 +1,15 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class ISStoreAccount, NSArray, SSDownload, SSDownloadStatus;
@protocol ISDownloadQueueObserver
- (void)downloadQueueDidCheckServerDownloadQueueForAccount:(ISStoreAccount *)arg1 withDownloadCount:(long long)arg2 newDownloads:(NSArray*)arg3;
- (void)download:(SSDownload *)arg1 didUpdateStatus:(SSDownloadStatus *)arg2;
- (void)downloadQueueDidRemoveDownload:(SSDownload *)arg1 queueIsIdle:(BOOL)arg2;
- (void)downloadQueueDidAddDownload:(SSDownload *)arg1;
@end

View file

@ -0,0 +1,32 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "ISOperation.h"
#import "ISStoreURLOperationDelegate.h"
@class ISURLBagContext, NSString;
@interface ISLoadURLBagOperation : ISOperation <ISStoreURLOperationDelegate>
{
ISURLBagContext *_context;
}
@property(readonly) ISURLBagContext *context; // @synthesize context=_context;
- (void).cxx_destruct;
- (void)run;
- (void)dealloc;
- (id)initWithBagContext:(id)arg1;
- (id)init;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end

View file

@ -0,0 +1,13 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class NSArray, NSDictionary, NSError;
@protocol ISOSUpdateProgressObserver
- (void)osUpdates:(NSArray *)arg1 didFailWithError:(NSError *)arg2;
- (void)osUpdates:(NSArray *)arg1 didProgressWithState:(long long)arg2 percentComplete:(double)arg3 statusInfo:(NSDictionary *)arg4 includesCriticalUpdates:(BOOL)arg5 canCancel:(BOOL)arg6;
@end

View file

@ -0,0 +1,12 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class NSError;
@protocol ISOSUpdateScanObserver
- (void)osUpdateScanDidProgressWithPercentComplete:(float)arg1 isFinished:(BOOL)arg2 error:(NSError *)arg3;
@end

View file

@ -0,0 +1,16 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class ISOperation, NSError, SSOperationProgress;
@protocol ISOperationDelegate <NSObject>
@optional
- (void)operationFinished:(ISOperation *)arg1;
- (void)operation:(ISOperation *)arg1 updatedProgress:(SSOperationProgress *)arg2;
- (void)operation:(ISOperation *)arg1 failedWithError:(NSError *)arg2;
@end

View file

@ -0,0 +1,37 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "ISOperation.h"
#import "ISURLOperationDelegate.h"
@class ISPropertyListProvider, NSDictionary, NSString, NSURL;
@interface ISProcessPropertyListOperation : ISOperation <ISURLOperationDelegate>
{
ISPropertyListProvider *_dataProvider;
NSDictionary *_propertyList;
NSURL *_propertyListURL;
CDUnknownBlockType _preParserBlock;
}
@property(retain) ISPropertyListProvider *dataProvider; // @synthesize dataProvider=_dataProvider;
- (void).cxx_destruct;
- (void)operation:(id)arg1 failedWithError:(id)arg2;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
- (void)run;
- (id)initWithPropertyListAtURL:(id)arg1 withPreParserBlock:(CDUnknownBlockType)arg2 storeClient:(id)arg3;
- (id)initWithPropertyList:(id)arg1 storeClient:(id)arg2;
- (id)initWithStoreClient:(id)arg1;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end

View file

@ -0,0 +1,12 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@protocol ISSingleton <NSObject>
+ (id)sharedInstance;
@end

View file

@ -0,0 +1,11 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "ISStoreURLOperation.h"
@interface ISStoreURLOperation (CommerceKit)
@end

View file

@ -0,0 +1,17 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "ISURLOperationDelegate-Protocol.h"
@class ISStoreURLOperation, NSNumber, NSString;
@protocol ISStoreURLOperationDelegate <ISURLOperationDelegate>
@optional
- (BOOL)operation:(ISStoreURLOperation *)arg1 shouldSetStoreFrontID:(NSString *)arg2;
- (void)operation:(ISStoreURLOperation *)arg1 didAuthenticateWithDSID:(NSNumber *)arg2;
@end

View file

@ -0,0 +1,16 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@interface ISURLBag : NSObject
{
}
+ (id)urlForKey:(id)arg1 inBagContext:(id)arg2;
@end

View file

@ -0,0 +1,19 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@interface ISURLBagContext : NSObject
{
unsigned long long _bagType;
}
+ (id)contextWithBagType:(unsigned long long)arg1;
@property unsigned long long bagType; // @synthesize bagType=_bagType;
- (id)copyWithZone:(struct _NSZone *)arg1;
@end

View file

@ -0,0 +1,12 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class NSError;
@protocol ISURLBagObserver
- (void)urlBagDidUpdateWithSuccess:(BOOL)arg1 error:(NSError *)arg2;
@end

View file

@ -0,0 +1,47 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSArray, NSSet, NSString, NSURLCache;
@interface ISURLCache : NSObject
{
NSURLCache *_cache;
NSArray *_clientIdentifiers;
NSSet *_fileExtensions;
NSString *_persistentIdentifier;
NSArray *_urlPatterns;
}
+ (id)persistentIdentifierFromPropertyList:(id)arg1;
+ (id)cacheDirectoryPath;
@property(readonly) NSString *persistentIdentifier; // @synthesize persistentIdentifier=_persistentIdentifier;
- (void).cxx_destruct;
- (BOOL)_urlStringMatchesURLPatterns:(id)arg1;
- (BOOL)_urlStringMatchesFileExtensions:(id)arg1;
- (BOOL)_parseURLPatternCriteriaFromPropertyList:(id)arg1;
- (BOOL)_parseFileExtensionCriteriaFromPropertyList:(id)arg1;
- (BOOL)_parseCriteriaFromPropertyList:(id)arg1;
- (BOOL)_parseClientCriteriaFromPropertyList:(id)arg1;
- (void)storeCachedResponse:(id)arg1 forRequest:(id)arg2;
- (void)saveMemoryCacheToDisk;
- (void)removeCachedResponseForRequest:(id)arg1;
- (void)removeAllCachedResponses;
- (void)purgeMemoryCache;
@property(readonly, nonatomic) unsigned long long memoryCapacity;
@property(readonly, nonatomic) unsigned long long diskCapacity;
@property(readonly, nonatomic) unsigned long long currentMemoryUsage;
@property(readonly, nonatomic) unsigned long long currentDiskUsage;
- (id)cachedResponseForRequest:(id)arg1;
- (BOOL)reloadWithPropertyList:(id)arg1;
- (BOOL)isUsableByClientWithIdentifier:(id)arg1;
- (BOOL)criteriaMatchesRequest:(id)arg1;
- (id)initWithPropertyList:(id)arg1;
- (id)init;
@end

View file

@ -0,0 +1,43 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSURLCache.h"
@class NSArray, NSLock, NSString;
@interface ISURLCacheGroup : NSURLCache
{
NSArray *_caches;
NSString *_clientIdentifier;
NSLock *_lock;
}
+ (id)sharedInstance;
+ (void)setSharedInstance:(id)arg1;
@property(readonly) NSString *clientIdentifier; // @synthesize clientIdentifier=_clientIdentifier;
- (void).cxx_destruct;
- (void)_reloadForNewCaches:(id)arg1;
- (id)_ntsCacheForRequest:(id)arg1;
- (id)_ntsCacheForPersistentIdentifier:(id)arg1;
- (void)storeCachedResponse:(id)arg1 forRequest:(id)arg2;
- (void)setMemoryCapacity:(unsigned long long)arg1;
- (void)setDiskCapacity:(unsigned long long)arg1;
- (void)removeCachedResponseForRequest:(id)arg1;
- (void)removeAllCachedResponses;
- (unsigned long long)memoryCapacity;
- (unsigned long long)diskCapacity;
- (unsigned long long)currentMemoryUsage;
- (unsigned long long)currentDiskUsage;
- (id)cachedResponseForRequest:(id)arg1;
- (void)setCachesFromPropertyList:(id)arg1;
- (void)saveMemoryCacheToDisk;
- (void)purgeMemoryCache;
- (id)initWithMemoryCapacity:(unsigned long long)arg1 diskCapacity:(unsigned long long)arg2 diskPath:(id)arg3;
- (id)initWithClientIdentifier:(id)arg1;
- (id)init;
@end

View file

@ -0,0 +1,18 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "ISOperationDelegate-Protocol.h"
@class ISURLOperation, NSMutableURLRequest, NSURLResponse;
@protocol ISURLOperationDelegate <ISOperationDelegate>
@optional
- (void)operation:(ISURLOperation *)arg1 willSendRequest:(NSMutableURLRequest *)arg2;
- (void)operation:(ISURLOperation *)arg1 didReceiveResponse:(NSURLResponse *)arg2;
- (void)operation:(ISURLOperation *)arg1 finishedWithOutput:(id)arg2;
@end

View file

@ -0,0 +1,19 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class NSDictionary, NSString;
@protocol MBSetupAssistantDelegateConfiguration
- (void)completeSetupWithResponse:(NSDictionary *)arg1 handler:(void (^)(BOOL, NSError *))arg2;
- (NSDictionary *)delegateSetupRequest;
- (NSString *)delegateIdentifier;
@optional
- (void)terminateSetupCompletion;
- (NSString *)delegateAccountInformation;
- (void)completeSetupWithResponse:(NSDictionary *)arg1 context:(long long)arg2 handler:(void (^)(BOOL, NSError *))arg3;
@end

View file

@ -0,0 +1,13 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSArray.h"
@interface NSArray (CKPushNotification)
+ (id)arrayWithMediaTypeMask:(long long)arg1;
- (long long)mediaTypeMask;
@end

View file

@ -0,0 +1,12 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSBundle.h"
@interface NSBundle (ISAdditions)
+ (id)pathForITunesStoreResource:(id)arg1 ofType:(id)arg2;
@end

View file

@ -0,0 +1,13 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class NSCoder;
@protocol NSCoding
- (id)initWithCoder:(NSCoder *)arg1;
- (void)encodeWithCoder:(NSCoder *)arg1;
@end

View file

@ -0,0 +1,10 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@protocol NSCopying
- (id)copyWithZone:(struct _NSZone *)arg1;
@end

View file

@ -0,0 +1,10 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@protocol NSMutableCopying
- (id)mutableCopyWithZone:(struct _NSZone *)arg1;
@end

View file

@ -0,0 +1,33 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class NSString, Protocol;
@protocol NSObject
@property(readonly, copy) NSString *description;
@property(readonly) Class superclass;
@property(readonly) unsigned long long hash;
- (struct _NSZone *)zone;
- (unsigned long long)retainCount;
- (id)autorelease;
- (oneway void)release;
- (id)retain;
- (BOOL)respondsToSelector:(SEL)arg1;
- (BOOL)conformsToProtocol:(Protocol *)arg1;
- (BOOL)isMemberOfClass:(Class)arg1;
- (BOOL)isKindOfClass:(Class)arg1;
- (BOOL)isProxy;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2 withObject:(id)arg3;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2;
- (id)performSelector:(SEL)arg1;
- (id)self;
- (Class)class;
- (BOOL)isEqual:(id)arg1;
@optional
@property(readonly, copy) NSString *debugDescription;
@end

View file

@ -0,0 +1,12 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSProcessInfo.h"
@interface NSProcessInfo (SuddenTerminaton)
+ (long long)suddenTerminationDisablingCount;
@end

View file

@ -0,0 +1,21 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSError, NSURLAuthenticationChallenge, NSURLConnection, NSURLProtectionSpace;
@protocol NSURLConnectionDelegate <NSObject>
@optional
- (void)connection:(NSURLConnection *)arg1 didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)arg2;
- (void)connection:(NSURLConnection *)arg1 didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)arg2;
- (BOOL)connection:(NSURLConnection *)arg1 canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)arg2;
- (void)connection:(NSURLConnection *)arg1 willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)arg2;
- (BOOL)connectionShouldUseCredentialStorage:(NSURLConnection *)arg1;
- (void)connection:(NSURLConnection *)arg1 didFailWithError:(NSError *)arg2;
@end

View file

@ -0,0 +1,12 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSWorkspace.h"
@interface NSWorkspace (InstalledApp)
- (id)installedAbsolutePathForAppBundleWithIdentifier:(id)arg1;
@end

View file

@ -0,0 +1,31 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <CommerceKit/SSURLRequestProperties.h>
@class NSData, NSDictionary, NSString, NSURL;
@interface SSMutableURLRequestProperties : SSURLRequestProperties
{
}
- (void)setValue:(id)arg1 forRequestParameter:(id)arg2;
- (void)setValue:(id)arg1 forHTTPHeaderField:(id)arg2;
@property(retain) NSURL *URL; // @dynamic URL;
@property(copy) NSString *URLBagKey; // @dynamic URLBagKey;
@property double timeoutInterval; // @dynamic timeoutInterval;
@property(copy) NSDictionary *requestParameters; // @dynamic requestParameters;
@property(getter=isITunesStoreRequest) BOOL ITunesStoreRequest; // @dynamic ITunesStoreRequest;
@property(copy) NSString *HTTPMethod; // @dynamic HTTPMethod;
@property(copy) NSDictionary *HTTPHeaders; // @dynamic HTTPHeaders;
@property(copy) NSData *HTTPBody; // @dynamic HTTPBody;
@property(copy) NSString *clientIdentifier; // @dynamic clientIdentifier;
@property unsigned long long cachePolicy; // @dynamic cachePolicy;
@property long long allowedRetryCount; // @dynamic allowedRetryCount;
- (id)copyWithZone:(struct _NSZone *)arg1;
@end

View file

@ -0,0 +1,31 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSDictionary, NSNumber, NSString;
@interface SSRemoteNotification : NSObject
{
NSDictionary *_userInfo;
}
- (void).cxx_destruct;
- (id)_valueForAlertKey:(id)arg1;
@property(readonly, nonatomic) NSDictionary *notificationUserInfo;
- (id)valueForKey:(id)arg1;
@property(readonly, nonatomic) NSString *soundFileName;
@property(readonly, nonatomic) id badgeValue;
@property(readonly, nonatomic) NSString *alertTitleString;
@property(readonly, nonatomic) NSString *alertOKString;
@property(readonly, nonatomic) NSString *alertCancelString;
@property(readonly, nonatomic) NSString *alertBodyString;
@property(readonly, nonatomic) NSNumber *targetDSID;
@property(readonly, nonatomic) long long actionType;
- (id)initWithNotificationUserInfo:(id)arg1;
@end

View file

@ -0,0 +1,48 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSMutableDictionary, NSNumber, NSString;
@interface SSRestoreContentItem : NSObject
{
NSNumber *_accountID;
NSString *_appleID;
NSString *_bundleID;
NSNumber *_cloudMatchStatus;
BOOL _isRestore;
NSMutableDictionary *_properties;
}
@property(copy, nonatomic) NSString *bundleID; // @synthesize bundleID=_bundleID;
- (void).cxx_destruct;
- (void)_setValue:(id)arg1 forProperty:(id)arg2;
- (id)_restoreKeyForDownloadProperty:(id)arg1;
- (id)_restoreKeyForAssetProperty:(id)arg1;
@property(copy, nonatomic) NSString *installPath;
@property(copy, nonatomic) NSString *videoDimensions;
@property(copy, nonatomic) NSString *storeSoftwareVersionID;
@property(retain, nonatomic) NSNumber *storeItemID;
@property(copy, nonatomic) NSString *storeFrontID;
@property(copy, nonatomic) NSString *storeFlavor;
@property(retain, nonatomic) NSNumber *storeAccountID;
@property(copy, nonatomic) NSString *storeAccountAppleID;
- (void)setValue:(id)arg1 forDownloadProperty:(id)arg2;
- (void)setValue:(id)arg1 forAssetProperty:(id)arg2;
@property(copy, nonatomic) NSString *podcastEpisodeGUID;
@property(nonatomic, getter=isDRMFree) BOOL DRMFree;
@property(copy, nonatomic) NSString *downloadKind;
@property(retain, nonatomic) NSNumber *cloudMatchStatus;
@property(retain, nonatomic) NSNumber *cloudItemID;
- (BOOL)isEligibleForRestore:(id *)arg1;
- (id)copyRestoreDictionary;
- (id)initWithRestoreDownload:(id)arg1;
- (id)init;
- (id)_initSSRestoreContentItem;
@end

View file

@ -0,0 +1,52 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "NSCoding.h"
#import "NSCopying.h"
#import "NSMutableCopying.h"
@class NSData, NSDictionary, NSString, NSURL;
@interface SSURLRequestProperties : NSObject <NSCoding, NSCopying, NSMutableCopying>
{
long long _allowedRetryCount;
unsigned long long _cachePolicy;
NSString *_clientIdentifier;
NSData *_httpBody;
NSDictionary *_httpHeaders;
NSString *_httpMethod;
BOOL _isITunesStoreRequest;
NSDictionary *_requestParameters;
double _timeoutInterval;
NSString *_urlBagKey;
NSURL *_url;
}
- (void).cxx_destruct;
@property(readonly) NSURL *URL;
@property(readonly, copy) NSString *URLBagKey;
@property(readonly) double timeoutInterval;
@property(readonly, copy) NSDictionary *requestParameters;
@property(readonly, getter=isITunesStoreRequest) BOOL ITunesStoreRequest;
@property(readonly, copy) NSString *HTTPMethod;
@property(readonly, copy) NSDictionary *HTTPHeaders;
@property(readonly, copy) NSData *HTTPBody;
- (id)copyURLRequest;
@property(readonly, copy) NSString *clientIdentifier;
@property(readonly) unsigned long long cachePolicy;
@property(readonly) long long allowedRetryCount;
- (id)mutableCopyWithZone:(struct _NSZone *)arg1;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (id)initWithCoder:(id)arg1;
- (void)encodeWithCoder:(id)arg1;
- (id)initWithURLRequest:(id)arg1;
- (id)init;
- (id)_initCommon;
@end

View file

@ -0,0 +1,33 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "MBSetupAssistantDelegateConfiguration.h"
@class ISStoreClient, NSString;
@interface SetupAssistantPlugin : NSObject <MBSetupAssistantDelegateConfiguration>
{
ISStoreClient *_storeClient;
NSString *_appName;
NSString *_appVersion;
NSString *_appPreferencesDomain;
NSString *_listenerName;
}
@property(readonly, retain) NSString *listenerName; // @synthesize listenerName=_listenerName;
- (void).cxx_destruct;
- (id)storeUserAgentString;
- (void)terminateSetupCompletion;
- (void)completeSetupWithResponse:(id)arg1 handler:(CDUnknownBlockType)arg2;
- (id)delegateAccountInformation;
- (id)delegateSetupRequest;
- (id)delegateIdentifier;
- (id)initWithStoreClient:(id)arg1;
@end

View file

@ -0,0 +1,27 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#pragma mark Blocks
typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown
#pragma mark Named Structures
struct CGPoint {
double x;
double y;
};
struct CGRect {
struct CGPoint origin;
struct CGSize size;
};
struct CGSize {
double width;
double height;
};

View file

@ -0,0 +1,80 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "NSCopying.h"
#import "NSSecureCoding.h"
@class NSDate, NSDictionary, NSMutableDictionary, NSNumber, NSString, NSURL, SSPurchase;
@interface CKBook : NSObject <NSCopying, NSSecureCoding>
{
BOOL _isLocal;
NSString *_path;
NSString *_title;
NSString *_author;
NSString *_category;
NSString *_sortName;
NSDate *_purchaseDate;
NSString *_uniqueIdentifier;
NSNumber *_itemIdentifier;
NSNumber *_publicationVersion;
NSString *_publicationDisplayVersion;
NSDictionary *_bookInfo;
NSDictionary *_iTunesMetaData;
NSString *_redownloadBuyParams;
NSNumber *_downloadAssetSize;
NSString *_updateBuyParams;
NSDate *_expectedReleaseDate;
NSNumber *_daapPurchasedToken;
NSNumber *_daapItemIdentifier;
NSURL *_coverImageURL;
NSNumber *_jaliscoItemIdentifier;
NSMutableDictionary *_externalMetadata;
}
+ (id)_imageFetchQueue;
+ (BOOL)supportsSecureCoding;
@property(retain) NSMutableDictionary *externalMetadata; // @synthesize externalMetadata=_externalMetadata;
@property(copy) NSNumber *jaliscoItemIdentifier; // @synthesize jaliscoItemIdentifier=_jaliscoItemIdentifier;
@property(copy) NSURL *coverImageURL; // @synthesize coverImageURL=_coverImageURL;
@property(copy) NSNumber *daapItemIdentifier; // @synthesize daapItemIdentifier=_daapItemIdentifier;
@property(copy) NSNumber *daapPurchasedToken; // @synthesize daapPurchasedToken=_daapPurchasedToken;
@property(copy) NSDate *expectedReleaseDate; // @synthesize expectedReleaseDate=_expectedReleaseDate;
@property(copy) NSString *updateBuyParams; // @synthesize updateBuyParams=_updateBuyParams;
@property(copy) NSNumber *downloadAssetSize; // @synthesize downloadAssetSize=_downloadAssetSize;
@property(copy) NSString *redownloadBuyParams; // @synthesize redownloadBuyParams=_redownloadBuyParams;
@property(copy) NSDictionary *iTunesMetaData; // @synthesize iTunesMetaData=_iTunesMetaData;
@property(copy) NSDictionary *bookInfo; // @synthesize bookInfo=_bookInfo;
@property(copy) NSString *publicationDisplayVersion; // @synthesize publicationDisplayVersion=_publicationDisplayVersion;
@property(copy) NSNumber *publicationVersion; // @synthesize publicationVersion=_publicationVersion;
@property(copy, nonatomic) NSNumber *itemIdentifier; // @synthesize itemIdentifier=_itemIdentifier;
@property(copy) NSString *uniqueIdentifier; // @synthesize uniqueIdentifier=_uniqueIdentifier;
@property(copy) NSDate *purchaseDate; // @synthesize purchaseDate=_purchaseDate;
@property(copy) NSString *sortName; // @synthesize sortName=_sortName;
@property(copy) NSString *category; // @synthesize category=_category;
@property(copy) NSString *author; // @synthesize author=_author;
@property(copy) NSString *title; // @synthesize title=_title;
@property BOOL isLocal; // @synthesize isLocal=_isLocal;
@property(copy) NSString *path; // @synthesize path=_path;
- (void).cxx_destruct;
- (id)getItemIdentifier;
@property(readonly) BOOL isPreorder;
@property(readonly) SSPurchase *updatePurchase;
@property(readonly) SSPurchase *redownloadPurchase;
- (void)fetchCoverImageWithCompletionHandler:(CDUnknownBlockType)arg1;
- (void)_copyLibraryPropertiesFromBook:(id)arg1;
- (void)setValue:(id)arg1 forUndefinedKey:(id)arg2;
- (id)valueForUndefinedKey:(id)arg1;
- (id)description;
- (BOOL)isEqualToBook:(id)arg1;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (id)initWithCoder:(id)arg1;
- (void)encodeWithCoder:(id)arg1;
@end

View file

@ -0,0 +1,25 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <StoreFoundation/ISOperation.h>
@class CKBook, NSImage;
@interface CKBookFetchCoverImageOperation : ISOperation
{
CKBook *_book;
NSImage *_coverImage;
}
@property(readonly) NSImage *coverImage; // @synthesize coverImage=_coverImage;
@property(readonly) CKBook *book; // @synthesize book=_book;
- (void).cxx_destruct;
- (id)_downloadCoverImageFromURL:(id)arg1 returningError:(id *)arg2;
- (void)run;
- (id)initWithBook:(id)arg1 storeClient:(id)arg2;
@end

View file

@ -0,0 +1,25 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <StoreFoundation/CKBook.h>
#import "NSSecureCoding.h"
@class NSDictionary;
@interface CKDAAPPurchasedItem : CKBook <NSSecureCoding>
{
NSDictionary *_daapDictionary;
}
+ (BOOL)supportsSecureCoding;
@property(copy) NSDictionary *daapDictionary; // @synthesize daapDictionary=_daapDictionary;
- (void).cxx_destruct;
- (id)initWithCoder:(id)arg1;
- (void)encodeWithCoder:(id)arg1;
@end

View file

@ -0,0 +1,33 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSMutableDictionary, NSObject<OS_xpc_object>;
@interface CKDockMessaging : NSObject
{
NSObject<OS_xpc_object> *_xpcDockConnection;
NSMutableDictionary *_cachedIconPaths;
}
+ (id)sharedInstance;
- (void).cxx_destruct;
- (void)loadIconForProductWithInfo:(id)arg1 storeClient:(id)arg2;
- (void)loadIconForProductID:(id)arg1 fromURL:(id)arg2 storeClient:(id)arg3;
- (id)cachedIconPathForProductID:(id)arg1;
- (void)sendMessageForDownload:(id)arg1 status:(id)arg2;
- (void)sendDockMessage:(int)arg1;
- (void)sendInitialMessageForDownload:(id)arg1;
- (void)sendInitialMessageForProductID:(id)arg1 title:(id)arg2 bundleID:(id)arg3 action:(int)arg4 flyOrigin:(struct CGRect)arg5 imagePath:(id)arg6;
- (id)xpcObjectForDownload:(id)arg1 status:(id)arg2;
- (id)xpcProgressObjectWithType:(int)arg1 productID:(const char *)arg2 title:(const char *)arg3 bundleID:(const char *)arg4 imagePath:(const char *)arg5 status:(int)arg6 progress:(double)arg7 installPath:(const char *)arg8 downloadedBytes:(double)arg9 totalBytes:(double)arg10;
- (id)_xpcDockConnection;
- (id)_xpcDispatchQueue;
- (id)init;
@end

View file

@ -0,0 +1,14 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@interface CKLocalization : NSObject
{
}
@end

View file

@ -0,0 +1,24 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSLock, NSXPCConnection;
@interface CKRootHelper : NSObject
{
NSXPCConnection *_connection;
NSLock *_connectionLock;
}
+ (id)sharedInstance;
- (void).cxx_destruct;
- (id)proxy;
- (id)init;
- (id)_connection;
@end

View file

@ -0,0 +1,71 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class NSDate, NSNumber, NSString, NSValue;
@interface CKSoftwareProduct : NSObject <NSSecureCoding, NSCopying>
{
BOOL _installed;
BOOL _isVPPLicensed;
BOOL _vppLicenseRevoked;
BOOL _isMachineLicensed;
BOOL _isLegacyApp;
BOOL _metadataChangeIsExpected;
NSString *_accountOpaqueDSID;
NSString *_accountIdentifier;
NSString *_bundleIdentifier;
NSString *_bundleVersion;
NSString *_bundlePath;
NSString *_receiptType;
NSNumber *_itemIdentifier;
NSNumber *_storeFrontIdentifier;
NSNumber *_versionIdentifier;
NSValue *_mdItemRef;
NSString *_vppLicenseOrganizationName;
NSDate *_vppLicenseExpirationDate;
NSDate *_vppLicenseRenewalDate;
NSString *_vppLicenseCancellationReason;
long long _source;
NSString *_expectedBundleVersion;
NSNumber *_expectedStoreVersion;
}
+ (id)productAtPath:(id)arg1;
+ (id)productPathToUpgradeForBundleIdentifier:(id)arg1 versionNumberString:(id)arg2;
+ (BOOL)supportsSecureCoding;
@property(copy) NSNumber *expectedStoreVersion; // @synthesize expectedStoreVersion=_expectedStoreVersion;
@property(copy) NSString *expectedBundleVersion; // @synthesize expectedBundleVersion=_expectedBundleVersion;
@property BOOL metadataChangeIsExpected; // @synthesize metadataChangeIsExpected=_metadataChangeIsExpected;
@property long long source; // @synthesize source=_source;
@property BOOL isLegacyApp; // @synthesize isLegacyApp=_isLegacyApp;
@property BOOL isMachineLicensed; // @synthesize isMachineLicensed=_isMachineLicensed;
@property(retain) NSString *vppLicenseCancellationReason; // @synthesize vppLicenseCancellationReason=_vppLicenseCancellationReason;
@property(retain) NSDate *vppLicenseRenewalDate; // @synthesize vppLicenseRenewalDate=_vppLicenseRenewalDate;
@property(retain) NSDate *vppLicenseExpirationDate; // @synthesize vppLicenseExpirationDate=_vppLicenseExpirationDate;
@property(retain) NSString *vppLicenseOrganizationName; // @synthesize vppLicenseOrganizationName=_vppLicenseOrganizationName;
@property BOOL vppLicenseRevoked; // @synthesize vppLicenseRevoked=_vppLicenseRevoked;
@property BOOL isVPPLicensed; // @synthesize isVPPLicensed=_isVPPLicensed;
@property BOOL installed; // @synthesize installed=_installed;
@property(retain) NSValue *mdItemRef; // @synthesize mdItemRef=_mdItemRef;
@property(retain) NSNumber *versionIdentifier; // @synthesize versionIdentifier=_versionIdentifier;
@property(retain) NSNumber *storeFrontIdentifier; // @synthesize storeFrontIdentifier=_storeFrontIdentifier;
@property(retain) NSNumber *itemIdentifier; // @synthesize itemIdentifier=_itemIdentifier;
@property(retain) NSString *receiptType; // @synthesize receiptType=_receiptType;
@property(retain) NSString *bundlePath; // @synthesize bundlePath=_bundlePath;
@property(retain) NSString *bundleVersion; // @synthesize bundleVersion=_bundleVersion;
@property(retain) NSString *bundleIdentifier; // @synthesize bundleIdentifier=_bundleIdentifier;
@property(retain) NSString *accountIdentifier; // @synthesize accountIdentifier=_accountIdentifier;
@property(retain) NSString *accountOpaqueDSID; // @synthesize accountOpaqueDSID=_accountOpaqueDSID;
//- (void).cxx_destruct;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (id)initWithCoder:(id)arg1;
- (void)encodeWithCoder:(id)arg1;
@property(readonly) NSString *appName;
- (id)description;
@property(readonly) NSString *sourceString;
@end

Some files were not shown because too many files have changed in this diff Show more