When working in VibeTunnel sessions, actively use the vt title
command to communicate your current actions and progress:
vt title "Current action - project context"
#!/usr/bin/env bun | |
"use strict"; | |
const fs = require("fs"); | |
const { execSync } = require("child_process"); | |
const path = require("path"); | |
// ANSI color constants | |
const c = { | |
cy: '\033[36m', // cyan |
This document is the complete guide for interacting with Xcode projects, simulators, and devices using a powerful, native command-line toolchain. This manual supersedes any MCP-based approach by providing direct access to a more robust and efficient set of tools.
The primary tools are xcsentinel
for build orchestration and log management, and axe
for UI automation.
These tools must be installed on the system. Use Homebrew for installation.
import Foundation | |
protocol NetworkLoader { | |
func loadData(using request: URLRequest, with completion: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) | |
} | |
extension URLSession: NetworkLoader { | |
/// Asyncronously load data using a URL Request | |
/// - Parameters: | |
/// - request: an unwrapped URLRequest |
import Foundation | |
import Combine | |
enum APIError: Error, LocalizedError { | |
case unknown, apiError(reason: String) | |
var errorDescription: String? { | |
switch self { | |
case .unknown: | |
return "Unknown error" |
extension String { | |
func getRawVersionString() -> String? { | |
return self.removePrefix("v") | |
.split(separator: "-") | |
.first?.toString() | |
} | |
// Modified from the DragonCherry extension - https://github.com/DragonCherry/VersionCompare | |
private func compare(toVersion targetVersion: String) -> ComparisonResult { | |
let versionDelimiter = "." |
The base URL for this API is https://lambdaanimalspotter.herokuapp.com/api
Endpoint: /users/signup
extension UIView { | |
@objc func exerciseAmbiguityInLayoutRepeatedly() { | |
if self.hasAmbiguousLayout { | |
Timer.scheduledTimer(timeInterval: 0.5, | |
target: self, | |
selector: #selector(UIView.exerciseAmbiguityInLayout), | |
userInfo: nil, | |
repeats: true) | |
} | |
} |
How To sysdiagnose on iOS:
[{ | |
"key": "P", | |
"action": "togglePreview:", | |
"modifiers": ["cmd", "ctrl"] | |
}, { | |
"key": "I", | |
"action": "toggleInfo:", | |
"modifiers": ["cmd", "shift"] | |
}, { | |
"key": "T", |