Lets consider you are developing a Mobile application, be it for Prototyping or Enterprise, finding right set of utitlies all in one place or configuring application Theme, writing a Network-layer isn’t always easy and its time consuming to write the code from scratch. MobileCore takes care of all these hassles for you.
Before we create our new iOS project, let’s discuss the libraries and resources we will use.
Get Started
MobileCore a Swift library consisting in a set of extensions to help dealing with
- AppTheming - Configuring and maintaining Application’s theme via simple JSON.
- CoreComponents - Customised UIKit elements.
- NetworkLayer - Creating and managing RESTfull service layer and Domain Object via JSON.
- CoreUtility - Frequently used utility by extension.
MobileCore contains an integrated sample workspace MobileCoreExample
featuring the use-case on how this framework works.
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Alamofire into your Xcode project using CocoaPods, specify it in your Podfile
:
pod 'MobileCore', '~> 0.1.3'
Swift Package Manager
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift
compiler.
Once you have your Swift package set up, adding MobileCore as a dependency is as easy as adding it to the dependencies
value of your Package.swift
.
dependencies: [
.package(url: "https://github.com/ppraveentr/MobileCore.git", .upToNextMajor(from: "0.1.3"))
]
That’s it - now your are good to go and start writing beautiful application and let the MobileCore do the heavy lifting for you.
TODO List
Below are the list of things I’m in plan adding into Mobile Core.
- Deeplinking and flow controler with content passing.
- Content Management for multi-language support using Core-data.
- Inbuild Crash reporter.
- Customizing Push notification.
- and more!!! as I think through 🤔
Credits
Owned and maintained by Praveen P (@ppraveentr).
Contributing
Bug reports and pull requests are most welcome.
License
MobileCore is released under the MIT license. See LICENSE for details.