Skip to content

IBSKit framework is designed to solve everyday tasks that any iOS developer faces when developing a new project.

License

Notifications You must be signed in to change notification settings

IBS-Mobile-iOS/IBSKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typing SVG

Current Release:

Status: Stable
Version: 1.1.2
Build: 11

IBSKit is an Open Source Xcode Fat Framework written in Swift 5.

Xcode 14.0+Swift 5.7+iOS 13.0+iPadOS 13.0+


Table of Contents


About the framework

Full description

Xcode Fat Framework

Name: IBSKit

Environment: Xcode IDE | Xcode CLT

Target Platform: 🍏 Platforms

Binary format: The framework comes as a binary file, which simplifies the assembly of projects in which it is used, as well as provides support for the necessary set of architectures, both for real devices and for simulators for the Apple and Intel platform

What is it created for? The framework is designed to solve everyday tasks that any iOS developer faces when developing a new project. The framework provides a set of features that simplify and accelerate the development of new products based on it

Used technologies

UIKit | CoreGraphics | CoreAnimation | NSLayoutConstaints / Frames


How to add a dependency?

The patch version varies depending on the releases with bug fixes and errors.

The framework follows Semantic Versioning.

Swift Package Manager

You can install the framework using SPM by simply specifying a stable version of the release at the time of download.

Another way

You can also add a framework to the project by uploading the project from the github, transferring IBSKit.xcframework to the sidebar of the Xcode project.


IBSKit Features Set

Dev Tools

Device Specification

To get information about a device, use the IBSDevice class. For example:

let specification = IBSDevice.current.specification
print(specification)

Live Preview

The framework implements Canvas / Hot Reload support for UIKit. In order to use this functionality, you need to add the following code to the end of the file with the successor to UIViewController or UIView:

// MARK: - Live Preview

#if DEBUG && canImport(SwiftUI)
import SwiftUI

@available(iOS 15.0, *)
struct ClassName_Preview: PreviewProvider {
    static var previews: some View {
        ClassName()
            .livePreview()
    }
}
#endif

Where ClassName is the name of your UIViewController or UIView class successor. Calling the livePreview() method translates the view of your class into the View protocol view.

Project Specification

To get information about the version and build of the application or framework, use:

let appVersion = IBSApp.info.version
print(appVersion)

let appBuild = IBSApp.info.build
print(appBuild)

or

let sdkVersion = IBSSDK.info.version
print(sdkVersion)

let sdkBuild = IBSSDK.info.build
print(sdkBuild)

Hardware

Haptic Feedback

Allows you to use the  Taptic Engine without using wrappers to reconciliate the device type, and also supports multithreading by default. To implement taptic feedback, it is enough to refer to the execute(with: IBSHaptic.FeedbackType) method. For example:

IBSHaptic.feedback.execute(with: .success)

Where IBSHaptic.FeedbackType is an enumeration that provides haptic feedback types.

public enum IBSHaptic.FeedbackType: String, CaseIterable {
    case error = "Error feedback type"
    case warning = "Warning feedback type"
    case success = "Success feedback type"
    case soft = "Soft feedback type"
    case light = "Light feedback type"
    case meduim = "Medium feedback type"
    case heavy = "Heavy feedback type"
    case rigid = "Rigid feedback type"
    case selection = "Selection feedback type"
}

Software

Split Space Controller

Donut Chart

Pie Chart

Blur Visual FX

Vibrancy Visual FX


Availability

Supported devices

iPod touch

iPod touch (7th generation)or above

iPhone

iPhone SE (1st generation)or above

iPad

iPad mini (4th generation)or above
iPad (5th generation)or above
iPad Air (2nd generation)or above
iPad Pro 9.7-inch
iPad Pro 10.5-inch
iPad Pro 11-inch (1st generation)or above
iPad Pro 12.9-inch (1st generation)or above

Supported OS

iOS

iOS 13.0and higher

iPadOS

iPadOS 13.0and higher


Other

Project e-mail

apple.dev@ibs.ru


License

IBSKit license

⚠️: IBSKit ﹒ IBS. 2022. All Rights Reserved.

About

IBSKit framework is designed to solve everyday tasks that any iOS developer faces when developing a new project.

Resources

License

Stars

Watchers

Forks