Skip to content

pantaubersama/PemiluIOS

Repository files navigation

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

https://cocoapods.org

Bundler

http://bundler.io

Fastlane

https://docs.fastlane.tools/getting-started/ios/setup/

Please read all docs file in directory fastlane/

How to Run

  1. git clone
  2. cd PantauBersama
  3. bundle install
  4. bundle exec pod install
  5. open PantauBersama.xcworkspace

Branch

using git-flow approach, to initialize using git flow init don't forget to install first 😁

https://github.com/nvie/gitflow

  1. master : Release
  2. develop: Development branch
  3. feature/: Adding feature in develop 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 :

  1. Common : One for all modules to define reusable components, reusable library, user defautls, keychain etc...
  2. Networking: One for all microservices in Pantau. Hopefully we can try networking test here 🏄‍♂️
  3. PantauBersama: Target files, run staging for profile debug and release for profile production 👨🏻‍💻

Framework

Don't forget to add references framework here after you add some libs in podfile

  1. RxSwift - https://github.com/ReactiveX/RxSwift
  2. RxCocoa - https://github.com/ReactiveX/RxSwift/tree/master/RxCocoa
  3. Moya/RxSwift - https://moya.github.io/index.html
  4. Crashlytics
  5. Fabric
  6. Firebase/Core
  7. RxDataSources - https://github.com/RxSwiftCommunity/RxDataSources
  8. IQKeyboardManagerSwift -https://cocoapods.org/pods/IQKeyboardManagerSwift
  9. Lottie - https://github.com/airbnb/lottie-ios

Some Libs

Custom UILabel: Label

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

  1. Via XIB
  2. Set your custom class with Label
  3. Feel free to set Font Size with your number (default is 12, i guess 😆)
  4. Set your Type Label with these option (default is regular) You can see in LabelType for custom styles in UILabel

Custom UIColor: Color

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 ☺️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages