init
This commit is contained in:
commit
acc61e858b
18 changed files with 5068 additions and 0 deletions
30
ios/modularization.md
Normal file
30
ios/modularization.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
layout: default
|
||||
title: Modularization of an iOS app
|
||||
categories: swift
|
||||
---
|
||||
|
||||
|
||||
### Creating shared product
|
||||
|
||||
1. add submodule to your product `git submodule add git@github.com:artur-gurgul-pro/sharepack.git Sharepack`
|
||||
1. Extract shared code to multi-module package. See `Sharepack`
|
||||
2. Add local package
|
||||
|
||||
TBD
|
||||
|
||||
|
||||
Initialisation of a library
|
||||
|
||||
```bash
|
||||
mkdir MyDeps && cd MyDeps
|
||||
swift package init --type library
|
||||
```
|
||||
|
||||
```bash
|
||||
swift package generate-xcodeproj
|
||||
```
|
||||
|
||||
```bash
|
||||
xcodebuild -resolvePackageDependencies
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue