Latest 0.0.2
Homepage https://github.com/nuclearace/FourChanAPI
License MIT
Platforms ios 8.0, osx 10.10, tvos 9.0, requires ARC
Authors

Example:

import Foundation
import FourChanAPI

let a = FCBoard(name: "a")

// Getting a list of all boards
FCBoard.getAllBoards {boards in
    print(boards)
}

// Updates the board's thread list
a.updateThreads {threads in
    print(threads)
    let thread1 = a.threads[1]

    // Fill thread with posts
    thread1.updatePosts {posts in
        // Print last post
        print(thread1[thread1.count - 1]!)
    }
}

Latest podspec

{
    "name": "FourChanAPI",
    "module_name": "FourChanAPI",
    "version": "0.0.2",
    "summary": "Wrapper for the 4chan api",
    "description": "Wrapper for the 4chan API. For iOS/OS X",
    "homepage": "https://github.com/nuclearace/FourChanAPI",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "Erik": "[email protected]"
    },
    "platforms": {
        "ios": "8.0",
        "osx": "10.10",
        "tvos": "9.0"
    },
    "source": {
        "git": "https://github.com/nuclearace/FourChanAPI.git",
        "tag": "v0.0.2"
    },
    "source_files": "Source/**/*.swift",
    "requires_arc": true
}

Pin It on Pinterest

Share This