alias xcbuild=$(xcode-select -p)/../SharedFrameworks/XCBuild.framework/Versions/A/Support/xcbuild
# THIS DOESNT WORK YET: xcbuild openIDEConsole # … then switch to Xcode ➡️
xcbuild showSpecs
xcbuild build <foo.pif> [—target <target>]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
SRC1=$HOME/Library/Safari | |
SRC2=$HOME/Library/Containers/com.apple.Safari/Data/Library/Safari | |
HOST=$( hostname | sed 's/\..*//' ) | |
HOUR=$( date +"%H" ) | |
DST=$HOME/Sync/Safari/$HOST/$HOUR | |
mkdir -p $DST 2>/dev/null | |
cd $SRC1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// MeshEntity+GenerateSolidInteriorModel.swift | |
// | |
// Created by Drew Olbrich on 12/16/23. | |
// | |
import RealityKit | |
extension ModelEntity { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ContentView.swift | |
// RigelianTagger | |
// | |
// Created by Berrie Kremers on 05/03/2022. | |
// | |
// This shows how a directory structure can be shown in a sidebar, with dynamic loading | |
// of additional content as the user drills down in the hierarchy. | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<!-- ... --> | |
<!-- Add this section: --> | |
<key>CFBundleURLTypes</key> | |
<array> | |
<dict> |
Device | OS | SOC | Metal | GPU Family |
---|---|---|---|---|
iPhone 6S & 6S Plus | iOS 15 | A8 | 2 | Apple2 |
iPhone SE (1st generation) | iOS 15 | A9 | 2 | Apple3 |
iPhone 7 & 7 Plus | iOS 15 | A10 Fusion | 2 | Apple3 |
iPod Touch (7th generation) | iOS 15 | A10 Fusion | 2 | Apple3 |
iPhone 8 & 8 Plus | iOS 15, 16 | A11 Bionic | 2 | Apple4 |
iPhone X | iOS 15, 16 | A11 Bionic | 2 | Apple4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A Best in Class Checklist | |
A boiled down checklist adapted from this [post](https://www.swiftjectivec.com/a-best-in-class-app/), created by @jordanmorgan10. | |
> To use this, create a Github Issue in your own repo, and simply copy and paste this text. | |
## iOS Core Technology | |
_Things any iOS app can benefit from_ | |
- [ ] iCloud Sync | |
- [ ] Focus Filter Support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Render front side | |
front = true; | |
// Render back side | |
back = true; | |
// level of detail | |
level_of_detail = 60; | |
// The thickness of the PCB as fabricated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if canImport(Darwin) | |
import Darwin | |
#elseif canImport(Glibc) | |
import Glibc | |
#else | |
#error("unsupported platform") | |
#endif | |
/// Core utilities for interacting with IP-based abstractions. | |
public struct IP { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import Security | |
extension Bundle { | |
/// Returns whether the bundle was signed for TestFlight beta distribution by checking | |
/// the existence of a specific extension (marker OID) on the code signing certificate. | |
/// | |
/// This routine is inspired by the source code from ProcInfo, the underlying library | |
/// of the WhatsYourSign code signature checking tool developed by Objective-See. Initially, |
NewerOlder