Toolbox contains various components written in Swift.
- Device
- DeviceType - A helper for detecting model of the device/simulator.
- DeviceOrientationListener - The alternative for
UIDevice.current.orientation
.
- Extensions - Various extensions with small helper functions.
- ImageProcessing
- ImageProcessor - A helper for
CGImage
andUIImage
.
- ImageProcessor - A helper for
- Keychain
- KeychainWrapper - A wrapper to easily add, remove, or get
Codable
object to/from Keychain.
- KeychainWrapper - A wrapper to easily add, remove, or get
- Keyboard
- KeyboardHandler - A wrapper around keyboard notifications.
- PlaceholderTextView - A
UITextView
subclass with a placeholder feature and the ability to change own size depending on the text contents. - VideoCamera - A wrapper for AVFoundation camera.
- iOS 10.0+
- Xcode 9.2+
- Swift 4.0+
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate Toolbox into your Xcode project, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'Shakuro.iOS_Toolbox', :git => 'https://github.com/shakurocom/iOS_Toolbox', :tag => '0.17.0'
end
Then, run the following command:
$ pod install
You can use/integrate only the necessary components. To do this, you need to specify the subpod:
target '<Your Target Name>' do
pod 'Shakuro.iOS_Toolbox/<Component Name>', :git => 'https://github.com/shakurocom/iOS_Toolbox', :tag => '0.17.0'
#example:
pod 'Shakuro.iOS_Toolbox/Keychain', :git => 'https://github.com/shakurocom/iOS_Toolbox', :tag => '0.17.0'
end
If you prefer not to use CocoaPods, you can integrate any/all components from the Shakuro iOS Toolbox simply by copying them to your project.
Shakuro iOS Toolbox is released under the MIT license. See LICENSE for details.
Explore our expertise in Native Mobile Development and iOS Development.
If you need professional assistance with your mobile or web project, feel free to contact our team