Latest 0.1.0
Homepage https://github.com/iOSleep/SafeKeyPath
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

inspiration by https://github.com/jspahrsummers/libextobjc

Installation

SafeKeyPath is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SafeKeyPath'

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

For object you can use like this

UIButtn *btn;
// simple
NSString *keyPath1 = KeyPath(btn, state);
// mulit
NSString *keyPath2 = KeyPath(btn, titleLabel, text);

you can also use Class to get keyPath

// simple
NSString *keyPath1 = KeyPath(btn, state);
// mulit
NSString *keyPath2 = KeyPath(btn, titleLabel, text);

Author

iOSleep, [email protected]

License

SafeKeyPath is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SafeKeyPath",
    "version": "0.1.0",
    "summary": "esay to use kvo safely",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/iOSleep/SafeKeyPath",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "iOSleep": "[email protected]"
    },
    "source": {
        "git": "https://github.com/iOSleep/SafeKeyPath.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SafeKeyPath/Classes/**/*"
}

Pin It on Pinterest

Share This