Upgrade to Pro — share decks privately, control downloads, hide ads and more …

FRESH!配信アプリで採用した事・しなかった事

Ryo Aoyama
January 25, 2018

 FRESH!配信アプリで採用した事・しなかった事

CA.swift #5
25 JAN. 2018
VueFlux https://github.com/ra1028/VueFlux

Ryo Aoyama

January 25, 2018
Tweet

More Decks by Ryo Aoyama

Other Decks in Programming

Transcript

  1. VueFlux https://github.com/ra1028/VueFlux Unidirectional State Management Architecture for Swift - Inspired

    by Vuex and Flux VueFlux makes a unidirectional and predictable flow by explicitly dividing the roles making up the ViewController.
  2. ϥΠϒϥϦ πʔϧ SwiftGen SwiftLint UI SpringIndicator ςετ Nimble Quick Ϩϙʔτ

    Crashlytics Fabric ΞʔΩςΫνϟ VueFlux ReactiveSwift ReactiveCocoa ௨৴ Alamofire AWSCore AWSS3 ιέοτ௨৴ Socket.IO-Client-Swift Starscream ը૾ Kingfisher ϩά SwiftyBeaver ϢʔςΟϦςΟ Alembic Magnolia(β) KeychainAccess ReachabilitySwift Result
  3. Font Custom https://github.com/FontCustom/fontcustom Icon fonts from the command line. Generate

    cross-browser icon fonts and supporting files (@font-face CSS, etc.) from a collection of SVGs
  4. XcodeGen https://github.com/yonaskolb/XcodeGen XcodeGen is a command line tool that generates

    your Xcode project using your folder structure and a simple project spec
  5. name: App configs: Debug: debug Release: release targets: App: type:

    application platform: iOS sources: - AppSources settings: base: IPHONEOS_DEPLOYMENT_TARGET: $(inherited) ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: $(inherited) TARGETED_DEVICE_FAMILY: $(inherited) dependencies: - target: Shared configFiles: Debug: configs/app.debug.xcconfig Release: configs/app.release.xcconfig prebuildScripts: - script: $PODS_ROOT/SwiftLint/swiftlint name: SwiftLint Shared: type: framework platform: iOS sources: SharedSources settings: base: IPHONEOS_DEPLOYMENT_TARGET: $(inherited) ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: $(inherited) configFiles: Debug: configs/shared.debug.xcconfig Release: configs/shared.release.xcconfig project.yml
  6. Danger https://github.com/danger/danger Formalize your Pull Request etiquette. Danger runs after

    your CI, automating your team's conventions surrounding code review. This provides another logical step in your process, through this Danger can help lint your rote tasks in daily code review. You can use Danger to codify your teams norms, leaving humans to think about harder problems.
  7. Dangerfile swiftlint.config_file = '.swiftlint.yml' swiftlint.binary_path = 'Pods/SwiftLint/swiftlint' swiftlint.lint_files inline_mode: true

    message("Good Job! @#{github.pr_author}") warn("PR is classed as Work in Progress") if github.pr_title.include? "WIP" warn("Big PR") if git.lines_of_code > 500 • SwiftLintͷ࣮ߦ݁ՌΛίϝϯτ • ࿑͍ͷݴ༿ • PRλΠτϧʹWIP͕෇͍͍ͯͨΒίϝϯτͯ͠statusΛwarningʹ͢Δ • มߋ͕500ߦҎ্ͩͬͨΒίϝϯτͯ͠statusΛwarningʹ͢Δ