2020-06

iOS

SwiftUI – draw Path

Draw Path This sample is inspired by Apple Documentation Draw something using Path and use this View in other Par...
Android

Android Livewallpaper

Livewallpaper From Android 2.1, Livewallpaper is supported. Livewallpaper is home screen, and lock screen wallpaper ...
iOS

Swift – guard

Swift Document How to use guard? Swift documentation (link) explain details If let and guard This is an ex...
iOS

Swift class vs struct

Class vs Struct Which to use? In swift programming, one of big questions is class and struct. Pure data -> str...
iOS

SwiftUI – List 2 Filter

Filtered List This example is inspired by Apple Documentation (Handling User Input) This sample covered How t...
iOS

SwiftUI – Toggle Switch

Toggle Toggle in SwiftUI is equivalent UI as UISwitch for UIKit. It is on/off switch But, different part is ho...
iOS

SwiftUI – List 1

List In UIKit, List = UITableView. In Swift UI, list becomes simple way to implement Simple List Prepare foll...
iOS

SwiftUI – Device Preview

Device Preview This code is inspired by "Building Lists and Navigation" by Apple. In SwiftUI Preview part, we can...
iOS

Swift UI – with UIKit

UIKit UIKit is general iOS or tvOS UserInterface framework. Before Swift UI, UIKit construct UserInterface in iOS...
iOS

Swift UI Image – Circle, RoundRect

Ref This example is from Apple Sample Code "Creating and Combining Views" CircleImage Let's copy code from Sam...
スポンサーリンク