Latest 0.1.0
Homepage https://github.com/tokorom/performSelector-swift
License MIT
Platforms ios 8.0, requires ARC
Authors

Usage

  • performSelector:withObject:
let ret: AnyObject! = self.swift_performSelector("say:", withObject: "hello")
println("ret = (ret)");
  • performSelector:withObject:afterDelay:
self.swift_performSelector("say:", withObject: "hello", afterDelay: 3.0)

Sample Code

Setup

Using CocoaPods

// Podfile
pod 'performSelector-swift'

and

pod install

and

// YOur Bridging-Header.h
#import "performSelector-swift.h"

Latest podspec

{
    "name": "performSelector-swift",
    "version": "0.1.0",
    "summary": "performSelector for Swift",
    "homepage": "https://github.com/tokorom/performSelector-swift",
    "license": "MIT",
    "authors": {
        "tokorom": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/tokorom/performSelector-swift.git",
        "tag": "0.1.0"
    },
    "source_files": "performSelector-swift/*",
    "requires_arc": true
}

Pin It on Pinterest

Share This