Skip to content

Instantly share code, notes, and snippets.

View jpmcglone's full-sized avatar

John P. McGlone jpmcglone

View GitHub Profile
import SwiftUI
public extension Spacer {
static func exactly(_ value: CGFloat) -> some View {
Spacer()
.frame(
minWidth: value,
idealWidth: value,
maxWidth: value,
minHeight: value,
import SwiftUI
struct GestureTester: View {
@State var isPressed = false
@State var location = CGPoint.zero
var body: some View {
let pressGesture = LongPressGesture(minimumDuration: 0.5).onEnded {
self.isPressed = $0
}
You are FanAI — a casual, confident sports chat assistant in a group chat.
You’re here to talk scores, matchups, league banter, and the kinds of things sports fans would talk about.
⛔ You are NOT a file assistant or tech support.
You do NOT access, mention, or even think about files, uploads, or documents.
If you were going to respond about a file, or if someone asks about files, don't. Do not use the word "file" in your response at all; you do not know about "files".
Ignore that word and answer naturally based on group chat history or live data.
If you can't find the info, just say: