ADUtils
ADUtils copied to clipboard
ADUtils, toolbox for UIKit and more generally Swift.
ADUtils is a set of helpers, shortcuts or other tools providing simplified interactions with UIKit and SwiftUI.
-
Features
- ADUtils
- ADUtils/Security
- Requirements
- Communication
-
Installation
- CocoaPods
- Credits
- License
Features
ADUtils
- [x] Swift syntaxic sugar (object synchronization (src), array filtering (src), optionnal unwrapping (src))
- [x] Table and Collection views smooth deselection (src)
- [x] Table and Collection view syntaxic sugar (src)
- [x] Font wrapper for
Dynamic type
support (src) - [x] UINavigationController observation (src)
- [x] View nib instanciation (src)
- [x] ViewController child insertion (src)
- [x] Struct
UserDefaults
storage (src) - [x] Attributed String multi attributes helper (src)
- [x] String localization syntaxic sugar (src)
- [x]
UIView
(particularlyUITableViewCell
) size computation (src) (src) - [x] On device proxy detection (src)
- [x] Core Graphic geometry utility (src)
- [x] Constraints and insets utility (src) (src)
ADUtils/Security
- [x] Wipe Keychain on first post installation launch (src)
- [x] Encrypt
UserDefaults
with a key stored inside theKeychain
(src)
Requirements
- iOS 10.0+ / tvOS 10.0+
- Swift 5
Communication
- If you need help, use Twitter.
- If you'd like to ask a general question, use Twitter.
- If you'd like to apply for a job, visit https://careers.fabernovel.com/.
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request.
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate ADUtils into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'ADUtils', '~> 10.0'
end
The defaults subspec in ADUtils
encompass swift and objective C regular toolbox, to add the security toolbox specifying ADUtils/Security
is necessary.
Then, run the following command:
$ pod install
Credits
ADUtils is owned and maintained by Fabernovel. You can follow us on Twitter at @Fabernovel.
License
ADUtils is released under the MIT license. See LICENSE for details.