profile
viewpoint
Alex Manzella MP0w N26 Italy mpow.it Senior iOS Enginner @N26. Doing c00l stuff @devlucky . Made in Italy

PR closed devlucky/Kakapo

Fix deprecated 'characters' warnings
+7 -8

1 comment

2 changed files

tflhyl

pr closed time in 11 days

pull request commentdevlucky/Kakapo

Fix deprecated 'characters' warnings

TY but The build didn’t pass, no activity so closing . It probably needs a migration that we might do soon. If you want feel free.

tflhyl

comment created time in 11 days

issue commentpointfreeco/swift-snapshot-testing

Shadows not rendered correctly

I'm investigating this as we have some issue on iOS 13 using drawHierarchyInKeyWindow: true (different references in different machines). Seems like layer.render(in: ctx.cgContext) won't render the shadow when the background of the view is clear (so shadowPath is used). If we add a non-clear background color to the view that has a shadow then it's shown

JanC

comment created time in 12 days

PR opened MP0w/MVVMC

Testing MVVMÇ concepts with SwiftUI

I did some tests to adapt MVVMÇ concepts to SwiftUI, I think the advantages of MVVMÇ are still valid with SwiftUI, the immutability of Views add even more benefits and change a bit how you can handle things. This is just a test and initial approach to try it out. As View don't have state anymore now you can hold the state in @State properties while still keeping the ViewModel layer immutable and handle it in a similar way as before: State never gets propagated to the VM/Interactor until it actually needs to affect the ViewModel (e.g. saving a form). This tests doesn't really involve the View state but is more about the basic approach of binding the Interactor with the View to replace VMs when the model changes. Now can be done using Combine framework and using SwiftUI's property wrappers that are needed in order to update the View when something changes.

WDYT? @monchote @joanromano @polqf @ilozano (pinging random people that used MVVMÇ in past or present)

+68 -88

0 comment

8 changed files

pr created time in 2 months

create barnchMP0w/MVVMC

branch : swiftUI-test

created branch time in 2 months

more