Pantau Bersama
Sebuah gerakan aplikasi gotong royong Β© 2018 Pantau Bersama
Requirements
XCode 10, iOS 10 SDK or later
Runtime
iOS 10 or later
Dependency Management
Cocoapods
Bundler
Fastlane
Please read all docs file in directory fastlane/
How to Run
- git clone
- cd PantauBersama
- bundle install
- bundle exec pod install
- open PantauBersama.xcworkspace
Branch
using git-flow
approach, to initialize using git flow init
don't forget to install first π
master
: Releasedevelop
: Development branchfeature/
: Adding feature indevelop
branch
Design Pattern
Absolutely using MVVM-C
pattern, we hope Pantau Bersama iOS growing bigger ππ₯ and we're open for member !
Modular strategy for Pantau Bersama version 1.0 :
Common
: One for all modules to define reusable components, reusable library, user defautls, keychain etc...Networking
: One for all microservices in Pantau. Hopefully we can try networking test here πββοΈPantauBersama
: Target files, runstaging
for profiledebug
andrelease
for profileproduction
π¨π»βπ»
Framework
Don't forget to add references framework here after you add some libs in podfile
- RxSwift - https://github.com/ReactiveX/RxSwift
- RxCocoa - https://github.com/ReactiveX/RxSwift/tree/master/RxCocoa
- Moya/RxSwift - https://moya.github.io/index.html
- Crashlytics
- Fabric
- Firebase/Core
- RxDataSources - https://github.com/RxSwiftCommunity/RxDataSources
- IQKeyboardManagerSwift -https://cocoapods.org/pods/IQKeyboardManagerSwift
- Lottie - https://github.com/airbnb/lottie-ios
Some Libs
Label
Custom UILabel: Pantau have two styles fonts family like Lato
and BWModelica
please contact pantau designer
if you don't have assets
font. Little help for creating interfaces from XIB
- Via XIB
- Set your custom class with
Label
- Feel free to set
Font Size
with your number (default is12
, i guess π) - Set your
Type Label
with these option (default isregular
) You can see inLabelType
for custom styles in UILabel
Color
Custom UIColor: Pantau have many styles for color, see our zeplin
to match color when you design some UI
for example in Common
we've custom class Color
such as primary_red
, secondary_cyan
, secondary_orange
, etc. . .
You can use this class to custom color
for example:
swift
let myColor = Color.primary_red
self.view.backgroundColor = myColor
In case you want to create your color from RBG, we also give you a little help, here it is
let color = Color.RGBColor(red: 88, green: 88, blue: 88)
let alphaColor = Color.RGBColor(red: 88, green: 88, blue: 88, alpha: 0.4)
Note : I can also misrepresent this whole skeleton, please if you have better understand to build skeleton project don't hesitate to share your knowledge