BilibiliKit
3rd-party implementation of core bilibili functionalities in Swift.
Install
Swift Package Manager
In Package.swift, add to your package’s dependencies array:
.package(url: "https://github.com/ApolloZhu/BilibiliKit", from: "3.1.2"),
then add either BilibiliKit or BilibiliKitDYLIB (especially if you share this between main app and app extensions) as your targets‘ dependencies.
CocoaPods
In Podfile add:
pod 'BilibiliKit', '~> 3.1.2'
then run a pod install inside your terminal, or from CocoaPods.app.
View on GitHub
Install in Dash
BilibiliKit Reference