Fork me on GitHub

Alex Rupérez

Link: http://j.mp/2JadnNr
Published: 05 Jun 10:20
I starred Mindera/Alicerce at GitHub.
A base for iOS Applications made with ❤️ by Mindera 🤠
View on GitHub


View README


Alicerce 🏗

from Portuguese:

noun • [ masculine ] /ali’sɛɾsɪ/

groundwork, foundation, basis

license release platforms Swift 4.1 Carthage CocoaPods SwiftPM Build Status codecov

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.

Main features

  1. Analytics 🔍
  2. Deep Linking 🔗
  3. Logging 📝
  4. Network 🌍
  5. Persistence 💾
  6. Performance Metrics 📈
  7. Utils ⚙️
  8. UI 📲

Examples 👀

TODO

Installation 🔧

Alicerce supports iOS 9.0+ and requires Xcode 9.3+.

Important note regarding CommonCrypto ⚠️

Since Apple's 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.

CocoaPods

If you use CocoaPods to manage your dependencies, simply add Alicerce to your Podfile:

pod 'Alicerce', '~> 0.2'

Carthage

If you use Carthage to manage your dependencies, simply add Alicerce to your Cartfile:

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 phase.

Swift Package Manager

If you use Swift Package Manager, simply add Alicerce as a dependency of your package in Package.swift:

.Package(url: "https://github.com/Mindera/Alicerce.git", majorVersion: 0, minor: 2),

git Submodule

  1. Add this repository as a submodule.
  2. Drag Alicerce.xcodeproj into your project or workspace.
  3. Link your target against Alicerce.framework.
  4. 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.

Contributing 🙌

See CONTRIBUTING.

With ❤️ from Mindera 🤓