Latest 0.0.6
Homepage https://github.com/IngmarStein/XPCSwift
License Apache License, Version 2.0
Platforms osx 10.9, requires ARC
Authors

Type safe Swift wrapper for libxpc.

Usage

let xpcArray = XPCObject([ Int64(1234), "test" ])

println(xpcArray)
//<OS_xpc_array: <array: 0x1001d7150> { count = 2, capacity = 8, contents =
//  0: <int64: 0x1001d7430>: 1234
//  1: <string: 0x1001d78e0> { length = 4, contents = "test" }
//}>

println(xpcArray.array?[0].int64)
//Optional(1234)

println(xpcArray.array?[1].string)
//Optional("test")

Podfile

platform :osx, '10.9'
pod 'XPCSwift', '~> 0.0.6'

Requirements

XPCSwift requires at least OS X 10.9. Therefore, this is also the minimum target version for XPCSwift.

XPCSwift uses Swift 3.0, i.e. it requires Xcode 8 or higher.

Latest podspec

{
    "name": "XPCSwift",
    "version": "0.0.6",
    "summary": "Type safe Swift wrapper for libxpc",
    "description": "XPCSwift makes it easy to use xpc_object_t in a type safe manner.",
    "homepage": "https://github.com/IngmarStein/XPCSwift",
    "license": {
        "type": "Apache License, Version 2.0",
        "file": "LICENSE"
    },
    "authors": {
        "Ingmar Stein": "[email protected]"
    },
    "social_media_url": "https://twitter.com/IngmarStein",
    "platforms": {
        "osx": "10.9"
    },
    "source": {
        "git": "https://github.com/IngmarStein/XPCSwift.git",
        "tag": "0.0.6"
    },
    "source_files": "XPCSwift/**/*.{h,swift}",
    "public_header_files": "XPCSwift/**/*.h",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This