Swiftpack.co -  StefaniOSApps/BIASystemKit as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
StefaniOSApps/BIASystemKit
iOS System Services
.package(url: "https://github.com/StefaniOSApps/BIASystemKit.git", from: "2.1")

Swift Cocoapods Carthage codebeat badge iOS License

BIASystemKit is a Framework for iOS to getting simply the device name!

Installation

Requirements

Language Branch Pod version Xcode version iOS version
Swift 5.3 master >= 2.0.x Xcode 12.0+ iOS 9.0+

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate BIASystemKit into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'BIASystemKit'
end

Then, run the following command:

$ pod install

Example

print(BIAInfo.device(for: .current).modelName)
// String: x86_64

print(BIAInfo.device(for: .current).formattedName)
// String?: iPhone 11 Pro Max

print(BIAInfo.device(for: .current).version)
// String: 13.0.1

print(BIAInfo.system.upTime(unitsStyle: .short))
// String?: 2 days, 18 hr, 14 min, 3 sec

print(BIAInfo.system.upTime)
// TimeInterval: 238443.2

print(BIAInfo.secure.isJailBroken)
// Bool: false

print(BIAInfo.processor.count)
// Int: 6

print(BIAInfo.processor.activeCount)
// Int: 4

GitHub

link
Stars: 2
Last commit: 30 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

30 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API