InformationKit is a Swift library that enables users to stay up to date with their app updates and new releases. It prioritizes the information and displays it in an informative banner with just two lines of SwiftUI code.
InformationKit is extremely easy to integrate. You don't need to pass any variables, or set any parameters from your view. Just add InformationSourceURL
and InformationSortType
keys to your info.plist.
<!--index, random or prioritized-->
<key>InformationSortType</key>
<string>prioritized</string>
<!--remote config URL-->
<key>InformationSourceURL</key>
<string>https://aayush9029.github.io/Armed/news/config.json</string>
import InformationKit
import SwiftUI
struct ContentView: View {
var body: some View {
InformationBanner()
}
}