This file contains hidden or 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 | |
if [ "$#" -ne 1 ]; then | |
echo "$0 <path>" | |
exit 1 | |
fi | |
APP_PATH=$1 | |
BUNDLE_ID=`/usr/libexec/PlistBuddy -c "Print :CFBundleIdentifier" "$APP_PATH/Info.plist"` | |
for DEVICE in $(xcrun simctl list -j devices | jq --raw-output ".devices[][] | select(.state == \"Booted\") | .udid"); do |
This file contains hidden or 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 UIKit | |
class ViewController: UIViewController { | |
var topOfCube:CAShapeLayer! | |
var leftOfCube:CAShapeLayer! | |
var frontOfCube:CAShapeLayer! | |
var backOfCube:CAShapeLayer! | |
var rightOfCube:CAShapeLayer! | |
var baseOfCube:CAShapeLayer! | |
override func viewDidLoad() { |