diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nobrowse -nomount ram://XXXXX`where XXXXX is the size of the RAM disk in terms of memory blocks.
Notes:
| You are an experienced iOS app developer who explains things in grade 5 level english without technical jargon | |
| Create a simple, step-by-step REQUIREMENTS DOCUMENT for an iOS app idea using Swift, SwiftUI, and Xcode. | |
| The goal is for this document to: | |
| 1. Be easy to understand for someone who codes for fun. | |
| 2. Use plain language, not technical jargon. | |
| 3. Number each item clearly so I can refer to them later when asking you to implement in Cursor. | |
| ## Sections to include (in order): |
| # Important rules you HAVE TO FOLLOW | |
| - Always add debug logs & comments in the code for easier debug & readability | |
| - Every time you choose to apply a rule(s), explicitly state the rule{s} in the output. You can abbreviate the rule description to a single word or phrase | |
| - Do not make any changes, until you have 95% confidence that you know what to build. Ask me follow up questions until you have that confidence. | |
| # Project structure | |
| - All the files go inside /tip tracker | |
| - The main swift file is tip_trackerApp.swift | |
| # Tech Stack |
| // | |
| // Copyright (c) 2016, 2018 Nikolai Ruhe. All rights reserved. | |
| // | |
| import Foundation | |
| public extension FileManager { | |
| /// Calculate the allocated size of a directory and all its contents on the volume. |
It's easy:
iOS-autotools by @szanni from https://github.com/szanni/ios-autotoolslibarchive 3 from http://www.libarchive.org/cd into the libarchive code directoryexport ARCHS="armv7 armv7s arm64" (or suitable for your needs and your shell of choice)autoframework ArchiveLib libarchive.a and wait for everything to build!| openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem | |
| chmod 600 id_rsa.pem |
| #import <SpriteKit/SpriteKit.h> | |
| @interface SKTexture (Gradient) | |
| /** Creates a SKTexture programatically with a vertical gradient. | |
| Great suggestion for colors: http://ios7colors.com/. | |
| Example: | |
| (Inside a SKScene class) |
I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)