Skip to content

Instantly share code, notes, and snippets.


Andrew Miotke miotke

View GitHub Profile
miotke / Basic_SwiftUI_Alert.swift
Last active June 23, 2021 18:35
Shows how to write a basic alert view in SwiftUI with an binding variable to show the alert.
View Basic_SwiftUI_Alert.swift
import SwiftUI
// This alert initializer is now deprecated but still works as of writing this
// in iOS 15.
struct ContentView: View {
@State private var showAlert = false
var body: some View {

This gist is just a list of small helper code and CLI commands to help during development.

CoreData location in simulator

Prints the location of the Core Data database in the console to inspect if data is actually saving. You can put this anywhere you would like. I typeically put it in the AppDelegate.swift file to be called when the app first launches.

print("🚒 Documents Directory: ", FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).last ?? "Not Found!")
View SwiftUI_scrollview.swift
// This code does not create a functional list view
// but does split the views into two different functional views.
// The button acts strictly as a button therefore the highlight
// disappears immediatly after the tap gesture is dismissed.
// I'm sure there will be a better way to do this and hopefully
// we learn of one at WWDC2020. For now this kind gets you by.
import SwiftUI
struct ContentView: View {

Privacy Policy

This policy applies to all information that is collected inside of Tankd. Data that is inputed by the user is not shared or accessible outside of the user's iOS device.

The creator, Andrew, does not collect any user data.

Change log

  • 06-16-2020: Created privacy policy
miotke /
Last active December 22, 2022 23:00
Write up of installing Apple CarPlay in my 2012 mk6 Golf R

Installing Apple CarPlay in a Volkswagen mk6 Golf R

This is a quick write up of installing Apple CarPlay in my 2012 mk6 Golf R.

Notable Car and Spec

  • US Spec
  • Dynaudio
  • Multi-function steering wheel
  • No backup camera
  • 6 speed manual
miotke /
Last active April 20, 2020 05:01
Cover Letter for Andrew Miotke

Andrew Miotke


Phone: (253) 970-6993

GitHub: @miotke Twitter: @miotke

Hello, my name is Andrew Miotke and I would love to take a moment of your time to explain

miotke /
Last active May 30, 2021 22:02
Resume for Andrew Miotke