noun • [ masculine ] /ali’sɛɾsɪ/
groundwork, foundation, basis
What is it?
Ever felt that you keep repeating yourself every time you start a new project? That you would like to have all those useful utils and helpers you love already available? We felt that way too! Thus, Alicerce was born.
Alicerce is a framework that aims to serve as a starting point for iOS applications, by providing the foundations for many of the common functionalities a modern application requires, as well as be a repository for those small utils and helpers that make our life easier.
It is designed with an MVVM architecture in mind, but you'll find most components are architecture agnostic.
Alicerce supports iOS 9.0+ and requires Xcode 9.3+.
Important note regarding
CommonCrypto isn't directly importable from Swift yet, Alicerce uses a dummy
CCommonCrypto framework defined in a custom modulemap.
This modulemap requires that the header
/usr/include/CommonCrypto/CommonCrypto.h is available, so please ensure it is present on your machine/CI environment. If not, you should run
xcode-select --install to install it.
If you use CocoaPods to manage your dependencies, simply add Alicerce to your
pod 'Alicerce', '~> 0.2'
If you use Carthage to manage your dependencies, simply add Alicerce to your
github "Mindera/Alicerce" ~> 0.2
If you use Carthage to build your dependencies, make sure you have added
Alicerce.framework to the
"Linked Frameworks and Libraries" section of your target, and have included them in your Carthage framework copying build
Swift Package Manager
If you use Swift Package Manager, simply add Alicerce as a dependency of your package in
.Package(url: "https://github.com/Mindera/Alicerce.git", majorVersion: 0, minor: 2),
- Add this repository as a submodule.
- Drag Alicerce.xcodeproj into your project or workspace.
- Link your target against Alicerce.framework.
- If linking against an Application target, ensure the framework gets copied into the bundle. If linking against a Framework target, the application linking to it should also include Alicerce.