-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ccios improvements #25
base: master
Are you sure you want to change the base?
Conversation
BEfore that a blanc .ccios file was causing issue because template was not defined
…h Swift 6 Swift 6 implicitly open existentials, causing issue with Swinject without those explicit types. See Swinject/Swinject#571 for more details
1d8a670
to
ce01f05
Compare
@@ -19,4 +19,7 @@ class {{name}}ViewController: SharedViewController, {{name}}ViewContract { | |||
|
|||
// MARK: - {{name}}ViewContract | |||
|
|||
func configure(with viewModel: {{name}}ViewModel) { | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
en soit optionnel, mais dans les autres on n'a pas de ligne en rab après la dernière fonction, on pourrait l'enlever
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d'ailleurs autre question
- est-ce qu'on passerait pas
{{name}}ViewContract
dans une extension ? - je sais pas si ca vaut le coup de rajouter ou non le mark UIViewController avant le viewDidload
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Je vais enlever le retour à la ligne en trop, il ne sert pas en effet.
- Pour le ViewContract, je ne suis pas fan de le mettre dans une extension car ce view controller a comme principale fonction de conformer a ce protocole. Après c'est bien qu'on soit tous d'accord sur ce point.
- C'est vrai qu'un MARK
UIViewController
ou alors un simpleLifecycle
serait bien
@@ -19,4 +19,7 @@ class {{name}}ViewController: SharedViewController, {{name}}ViewContract { | |||
|
|||
// MARK: - {{name}}ViewContract | |||
|
|||
func configure(with viewModel: {{name}}ViewModel) { | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d'ailleurs autre question
- est-ce qu'on passerait pas
{{name}}ViewContract
dans une extension ? - je sais pas si ca vaut le coup de rajouter ou non le mark UIViewController avant le viewDidload
Here what has been changed in this PR:
.ccios.yml
{{project_name}}
will now be replaced by the name of the project instead of the name of the first target@MainActor
has been added to relevent files in Coordinator and Presenter templates to improve Swift 6 support