towry
6/22/2017 - 4:40 PM

ios-structure.md

├─ Models
  ├─ User.swift // user model
  ├─ Post.swift  // post model
├─ Application
  ├─ Main
    ├─ AppDelegate.swift
    ├─ MainViewController.swift // Maybe your app is wrapped in a main view controller, could be a tab bar controller subclass, or some custom ViewController that has neat functionality
  ├─ Login
    ├─ LoginManager.swift // business logic. A singleton that any controller in the app can interact with
    ├─ LoginViewController.swift // view controller
    ├─ LoginHeaderView.swift  // a view that only belongs to login
  ├─ Feed
    ├─ FeedViewController.swift
    ├─ FeedTableViewCell.swift 
  ├─ Common
    ├─ Controls
      ├─ BouncingButton.swift // UIControl subclass that is a button w/ bouncing physics. Just an example
  ├─ Extensions
    ├─ UIView+Additions.swift // useful additions to UIView
    ├─ NSURL+Additions.swift // useful additions to NSURL
├─ Assets
  ├─ Images.xcassets
  ├─ Sounds
    ├─ success.wav
  ├─ Videos
    ├─ intro-onboarding.mp4