Latest 1.0
Homepage https://github.com/deepdevelop/DDSlackWebhook
License MIT
Platforms ios 7.0, osx 10.9, requires ARC
Dependencies AFNetworking
Authors

DDSlackWebhook is a simple client post notification to your slack channel use slack incoming webhooks. Written in Objective-c.

Installation

CocoaPods

pod 'DDSlackWebhook'

Source File

You can copy all the files under the DDSlackWebhook folder into your project.

Usage


// Config
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    [DDSlackWebhookClient withWebhookURL:[NSURL URLWithString:@""]];

    return YES;
}

// Post
[[DDSlackWebhookClient sharedClient] postNotificationToChannel:nil
                                                          text:nil
                                                      username:nil
                                                       iconURL:nil
                                                     iconEmoji:nil
                                                    completion:nil];

Dependency

  • AFNetworking

Author

Liu Yi, [email protected]

License

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

Latest podspec

{
    "name": "DDSlackWebhook",
    "version": "1.0",
    "summary": "A slack webhook client written with Objective-C",
    "description": "DDSlackWebhook is a simple client post notification to your slack channel use slack incoming webhooks. Written in Objective-c.",
    "homepage": "https://github.com/deepdevelop/DDSlackWebhook",
    "license": "MIT",
    "authors": {
        "Liu Yi": "[email protected]"
    },
    "platforms": {
        "ios": "7.0",
        "osx": "10.9"
    },
    "source": {
        "git": "https://github.com/deepdevelop/DDSlackWebhook.git",
        "tag": "1.0"
    },
    "source_files": "DDSlackWebhook/**/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "AFNetworking": [
            "~> 2.5"
        ]
    }
}

Pin It on Pinterest

Share This