测试已测试 | ✗ |
Lang语言 | SwiftSwift |
许可证 | MIT |
发布上次发布 | 2016年5月 |
SPM支持SPM | ✗ |
由Al Tyus维护。
依赖项 | |
Alamofire | ~> 3.4.0 |
SwiftyJSON | ~> 2.3.2 |
import clubhouse_ios_api
func application(application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool
{
ClubhouseAPI.configure("{ENTER-TOKEN-HERE}")
return true
}
clubhouse-ios-api可通过CocoaPods获得。要安装它,只需将以下行添加到您的Podfile中:
pod "clubhouse-ios-api"
ClubhouseAPI.sharedInstance.searchStories([StoryParam.EpicId(123)], success: { stories in
self.stories = stories.sort { $0.name?.lowercaseString < $1.name?.lowercaseString }
self.tableView.reloadData()
}, failure: { error in
print(error)
})
clubhouse-ios-api在MIT许可下可用。有关更多信息,请参阅LICENSE文件。