Stefano Frosoni·Sep 25, 2023Hi, I have not looked at this code for a long time and yep your solution seem better .A response icon1A response icon1
InIf let swift = Programming!byStefano Frosoni·Dec 10, 2019SwiftUI: “@State” and “@Binding”One of the biggest announcements from WWDC19 was SwiftUI. SwiftUI is a user interface framework that lets us design apps in a declarative…
InIf let swift = Programming!byStefano Frosoni·Nov 12, 2018Swift TupleTuples provide a way to group multiple values together representing them as single compound value. The values in a tuple can be of any…
InIf let swift = Programming!byStefano Frosoni·Jul 16, 2018Higher Order Functions in SwiftHigher order functions are simply functions that can either accept functions or closures as arguments, or return a function/closure.A response icon1A response icon1
InIf let swift = Programming!byStefano Frosoni·Nov 7, 2017Pragma mark— Server Side Swift WorkshopThis year I partecipated to the “Pragma Mark” Conference in Verona, Italy (11–12–13 October 2017).
InIf let swift = Programming!byStefano Frosoni·Jun 2, 2017Swift protocol to easily create reusable custom XIB-based viewsUsing a lot of custom views designed in Interface Builder on my work I found myself to rewrite the same code to instatiate a view from XIB…A response icon2A response icon2
InIf let swift = Programming!byStefano Frosoni·Apr 13, 2017Grand Central Dispatch (Swift 3)The GCD offer great flexibility and options when trying to achieve concurrency, performance, and parallel tasks…
InIf let swift = Programming!byStefano Frosoni·Mar 7, 2017Swift Array: removing duplicate elements.Recently I had to remove duplicate items from an Swift Array while maintaining the original order.A response icon7A response icon7
InIf let swift = Programming!byStefano Frosoni·Jul 18, 2016The Swift Singleton PatternThe Singletons pattern provide a globally accessible, shared instance of an object.A response icon2A response icon2