Use
--sort=-commiterdate
option of git for-each-ref
git branch --sort=-committerdate
// | |
// SFSymbolImage.swift | |
// SFSymbolVariableValueAnimationWrong | |
// | |
// Created by Matthew Young on 12/22/22. | |
// | |
import SwiftUI | |
struct AnimatableVariableValueModifier: Animatable, ViewModifier { |
// https://stackoverflow.com/a/72067001/1492368 | |
struct TextFieldTest: View { | |
@FocusState private var emailFocused: Bool | |
@FocusState private var passwordFocused: Bool | |
@State private var username: String = "" | |
@State private var password: String = "" | |
var body: some View { |
struct ContentView: View { | |
var body: some View { | |
ZStack { | |
Color(uiColor: UIColor.systemGray6) | |
VStack { | |
Text("Hello") | |
List { | |
Section { | |
Text("G") | |
Text("Long item here Long item here Long item here Long item here") |
private class CustomListCell: ItemListCell { | |
private func defaultListContentConfiguration() -> UIListContentConfiguration { return .subtitleCell() } | |
private lazy var listContentView = UIListContentView(configuration: defaultListContentConfiguration()) | |
private let categoryIconView = UIImageView() | |
private let categoryLabel = UILabel() | |
private var customViewConstraints: (categoryLabelLeading: NSLayoutConstraint, | |
categoryLabelTrailing: NSLayoutConstraint, | |
categoryIconTrailing: NSLayoutConstraint)? |
i386 : iPhone Simulator | |
x86_64 : iPhone Simulator | |
iPhone1,1 : iPhone | |
iPhone1,2 : iPhone 3G | |
iPhone2,1 : iPhone 3GS | |
iPhone3,1 : iPhone 4 | |
iPhone3,2 : iPhone 4 GSM Rev A | |
iPhone3,3 : iPhone 4 CDMA | |
iPhone4,1 : iPhone 4S | |
iPhone5,1 : iPhone 5 (GSM) |
Use
--sort=-commiterdate
option of git for-each-ref
git branch --sort=-committerdate
Under Xcode 8.2.1 and Swift 3, the lldb command po or p won't work with the typed variable. You will need to use the swift command print to examine the properties of the typed object instance. (Thanks to cbowns's answer!) E.g.:
expr -l Swift -- import UIKit
expr -l Swift -- let $pin = unsafeBitCast(0x7df67c50, to: MKPinAnnotationView.self)
expr -l Swift -- print($pin.alpha)