Skip to content

Commit 1826d76

Browse files
committed
Edit L09
1 parent da6a0ba commit 1826d76

File tree

7 files changed

+235
-324
lines changed

7 files changed

+235
-324
lines changed

Assignments/OSProject/Instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,4 @@ Looking for a project to contribute takes time, make sure you choose one that's
7070
- [Welcome Screen](https://github.com/WilsonGramer/AppleWelcomeScreen)
7171
- [Some projects in this list](https://github.com/jogendra/example-ios-apps)
7272
- [Design Patterns Cheat Sheet](https://github.com/ochococo/Design-Patterns-In-Swift)
73+
- [Material Components for iOS](https://github.com/material-components/material-components-ios/tree/develop/contributing)

Lessons/08-Coordinators/README.md

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -375,47 +375,3 @@ Draw the architectural diagram of MVVM-C, mentioning responsibilities and main p
375375
8. [Presentation Model - Martin Fowler](https://martinfowler.com/eaaDev/PresentationModel.html)
376376
9. [Universal Links - Apple Devloper](https://developer.apple.com/ios/universal-links/)
377377
10. [Universal links in iOS - an article](https://medium.com/@abhimuralidharan/universal-links-in-ios-79c4ee038272)
378-
379-
380-
381-
<!-- INSTRUCTOR: SOLUTION TO ACTIVITY 1
382-
383-
PART 1: IN App Delegate:
384-
385-
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
386-
387-
// create the main navigation controller to be used for our app
388-
let navController = UINavigationController()
389-
390-
// send that into our coordinator so that it can display view controllers
391-
//TODO: pass the navController var into the coordinator property
392-
coordinator = MainCoordinator(navigationController: navController)
393-
394-
// tell the coordinator to take over control
395-
coordinator?.start()
396-
397-
// create a basic UIWindow and activate it
398-
window = UIWindow(frame: UIScreen.main.bounds)
399-
window?.rootViewController = navController
400-
window?.makeKeyAndVisible()
401-
402-
return true
403-
}
404-
405-
406-
PART 2: in MainCoordinator:
407-
408-
//TODO: Create functions to instantiate other VCs
409-
func buySubscription() {
410-
let vc = BuyViewController.instantiate()
411-
vc.coordinator = self
412-
navigationController.pushViewController(vc, animated: true)
413-
}
414-
415-
func createAccount() {
416-
let vc = CreateAccountViewController.instantiate()
417-
vc.coordinator = self
418-
navigationController.pushViewController(vc, animated: true)
419-
}
420-
421-
-->

0 commit comments

Comments
 (0)