Install TigerVNC -
$ sudo apt install tigervnc-standalone-server
Configure VNC Server by running
struct AMAlbumDetailsView: View { | |
let albumArt: Image | |
let title: String | |
let artist: String | |
let genre: String | |
let releaseYear: String | |
let quality: String | |
let tracks: [String] | |
@State private var playingTrack: String? |
# Deletes the Android Studio application | |
rm -Rf /Applications/Android\ Studio.app | |
# Delete All Android Studio related preferences | |
# The asterisk here should target all folders/files beginning with the string before it | |
rm -Rf ~/Library/Preferences/AndroidStudio* | |
rm -Rf ~/Library/Preferences/Google/AndroidStudio* | |
# Deletes Studio's plist file | |
rm -Rf ~/Library/Preferences/com.google.android.* | |
# Deletes Emulator's plist file | |
rm -Rf ~/Library/Preferences/com.android.* |
Apache License | |
Version 2.0, January 2004 | |
http://www.apache.org/licenses/ | |
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
1. Definitions. | |
"License" shall mean the terms and conditions for use, reproduction, |
import androidx.compose.animation.core.* | |
import androidx.compose.foundation.background | |
import androidx.compose.foundation.layout.* | |
import androidx.compose.foundation.shape.CircleShape | |
import androidx.compose.material.MaterialTheme | |
import androidx.compose.material.Text | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.getValue | |
import androidx.compose.ui.Alignment | |
import androidx.compose.ui.Modifier |
#if DEBUG | |
import SwiftUI | |
struct PreviewProviderModifier: ViewModifier { | |
/// Whether or not a basic light mode preview is included in the group. | |
var includeLightMode: Bool | |
/// Whether or not a basic dark mode preview is included in the group. | |
var includeDarkMode: Bool |
import SwiftUI | |
import UIKit | |
private struct ColorConversionError: Swift.Error { | |
let reason: String | |
} | |
extension Color { | |
var uiColor: UIColor { |
import Cocoa | |
extension Collection { | |
func firstMap<T>(_ transform: @escaping (Element) -> T?) -> T? { | |
for element in self { | |
if let transformed = transform(element) { | |
return transformed | |
} | |
} | |
return nil |
struct User: Equatable { | |
var firstName: String | |
var lastName: String | |
} | |
@main | |
struct MyApp: App { | |
@State var value = User(firstName: "", lastName: "") | |
@State var showEdit = false | |