Okay, this subject is very “intimate” for every developer, but I hope, this article will help somebody in his way to perfect organization of project structure.

So lets start.

Folders list:

  • Application — all app related files, main.m, AppDelegate, .pch
  • AppDelegate
  • SystemFiles
  • Controllers — contacts grouped folders with each View Controller in sub-folder
  • Controller
  • ViewModel
  • View
  • Library
  • Headers
  • Singletons
  • Categories
  • Adapters
  • Builders
  • Layers
  • Network Layer
  • Business Layer — translation helpers, data interaction
  • Data Access Layer — methods for managing data objects, update, delete, add
  • Service Layer — helpers, builders, other patterns
  • Persistence Layer — NSPersistent store related files, managing core data – insert, update, delete
  • Domain Model — inherited from base entities classes, other data models
  • Presentation Layer — custom UI logic, custom UI, reusable ui etc.
  • Models
  • Data Schemas
  • Entities — base classes for entities
  • Resources
  • Images
  • Sounds
  • Scripts
  • Data
  • Vendors — all third party code

Thanks to Massimo Oliviero and his presentation

Categories: Useful

Oksana Kovalchuk

Passionate IOS Developer

Related Posts

Snippet

Git cloning with sub-modules

For cloning  git repo with submodules, use this command: [crayon-59c3e1d6d6996300109694/] For already cloned repos, for clone submodules use next command in repo root: [crayon-59c3e1d6d699c326126240/] And that’s all, Folks. Related

ios

UITextView going crazy…

  Today I stuck with some interesting UITextField behaviour. So when you call: [crayon-59c3e1d6d6a48378579508/] And your current in this moment not visible, for example you don’t use scrolling in textView and text hidden by parent Read more...

ios

Asset catalog system file names

Sometimes IOS become not so obvious and not clear. The same happens to me, when I try to load default splash screen. [crayon-59c3e1d6d6aee337146799/] Example for icons: [crayon-59c3e1d6d6af1939474406/] Related