Skip to content

minsOne/my-first-module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Project

This project is a companion to our blog post about app modularisation: read blog post

If you want more information on the structure of this project please check the link first.

To explore the project just open MyFirstModule.xcworkspace.

What's inside

The workspace has several sub projects:

App contains the main app bundle.
Modules contains two distinct sets of feature: Chat and UserProfile.
Service and Utils contain things shared by all the features.
Dependendencies is where you'll find the public protocol for all modules.

What can you do

This can be a base for a new project where you want to provide a basic support for modularisation. If you don't think your project will need this complexity then start simple and adopt something similar later.

Try to add navigate to move the logic to return the currentUser from the AppDelegate inside the UserProfile module.
What if you want to acccess this information from within the Chat module?

Get in touch! Any feedback or comment is welcome.
Just open a new issue from the repo page.

Thank you!
Depop iOS Team

Releases

No releases published

Packages

No packages published

Languages

  • Swift 84.9%
  • Objective-C 15.1%