Android , Android Bootcamp

Android Bootcamp [Day 2]

Posted on:

Today I’ve been working thru chapter 3 of the book. Chapter 3 covered a lot. Chapter 3 started off by discussing Activities. MainActivity extends ComponentActivity. The entry point to MainActivity is configured in the AndroidManifest, and calls the onCreate function. ComponentActivity defines a version of this function that is then […]

iOS , Swift , SwiftUI

SwiftUI Tip

Posted on:

If you want to use label color while inside of SwiftUI use Color.init(cgColor: UIColor.secondaryLabel.cgColor) You can swap out the secondaryLabel for any of the other system colors, including background, label and many others.

iOS , Swift , SwiftUI

SwiftUI Tip

Posted on:

If you are trying to put multiple buttons inside of a list item, make sure you put .buttonStyle(.plain) on the parent most component in the list item. This caused me a some confusion on why it was deleting the wrong element of the inner list.