⚠️ QuantiBase is deprecated. Quanti does not build on 3rd party Rx libraries, but uses Combine / async-await instead.
Please use and further maintain Core instead. ⚠️
Base-ios repository consists of useful extensions, general classes and protocols that we gather and use while working on our projects. The main goal is to create a central point of such snippets that can be reused across various projects. We constantly review and enrich the repository aiming to reach maximum reusability. We take full advantage of functional programming with reactive layer. For that purpose we use external libraries and thus QuantiBase will require following:
|>
for with
^
for get and prop
<>
for concat
>>>
and <<<
for pipe
>=>
for chain
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate QuantiLogger into your Xcode project using Carthage, specify it in your Cartfile
:
github "Qase/base-ios" ~> 0.0.2
Run carthage update
to build the framework and drag the built QuantiBase.framework
and its dependencies into your Xcode project.
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate QuantiLogger 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 'QuantiBase', '~> 0.0.2'
end
or for macOS
source 'https://github.com/CocoaPods/Specs.git'
platform :osx, '10.13'
use_frameworks!
target '<Your Target Name>' do
pod 'QuantiBase', '~> 0.0.2'
end
Then, run the following command:
$ pod install
The Swift Package Manager is a tool for managing the distribution of Swift code. The Package Manager is included in Swift 3.0 and above.
It doesn't support iOS, macOS, tvOS or watchOS projects. It only compiles for host platforms (macOS/linux). It is useful for commanline apps. To create a commandline app using SPM please read this great RayWenderlich article.
In file Package.swift
in the dependencies parameter add the following:
.package(url: "https://github.com/Qase/Base-ios", from: "0.0.2)
so it should look something like this:
let package = Package(
name: "YOUR_APP_NAME",
dependencies: [
.package(url: "https://github.com/Qase/Base-ios", from: "0.0.2"),
]
)
then run
$ swift build
and
$ swift package generate-xcodeproj
For updating use
$ swift package update
Code base is still under active development and it is going to grow steadily. You can send requests for other usefull snippets, that can be integrated into library.
link |
Stars: 3 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics