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
// | |
// UIWebView+SmartJS.h | |
// | |
// Created by Jon Olson on 12/27/08. | |
// Copyright 2008-2009 Ballistic Pigeon, LLC. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
extern NSString * const SmartJSErrorDomain; |
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
void init_shm() { | |
shm_global_key = ftok(IPC_KEY_FILE, SHM_GLOBAL_KEY); | |
shm_thread_key = ftok(IPC_KEY_FILE, SHM_THREAD_KEY); | |
if ((shm_global_d = shmget(shm_global_key, sizeof(shm_global_t), | |
IPC_CREAT | 0660)) < 0) { | |
perror("shmget-global"); | |
return 5; | |
} |
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
# Builds an iPhoneOS/Simulator compatible version of BoehmGC and packages | |
# it up into a "static framework" as per Landon Fuller's suggestion at | |
# http://landonf.bikemonkey.org/code/iphone/iPhone_Framework_Support.20081202.html | |
fail() { | |
echo $1 >&2 | |
exit 1 | |
} | |
clean() { |
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
/* | |
* BPGeometry.h | |
* | |
* Created by Jon Olson on 11/30/09. | |
* Copyright 2009 Ballistic Pigeon, LLC. All rights reserved. | |
* | |
*/ | |
#import <Foundation/Foundation.h> |
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
// | |
// BPUUID.h | |
// Skates | |
// | |
// Created by Jon Olson on 2/3/10. | |
// Copyright 2010 Ballistic Pigeon, LLC. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
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
// | |
// BPImageTransformer.h | |
// Skates | |
// | |
// Created by Jon Olson on 2/3/10. | |
// Copyright 2010 Ballistic Pigeon, LLC. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
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
// | |
// BPTextFieldViewController.h | |
// | |
// Created by Jon Olson on 10/2/09. | |
// Copyright 2009 Ballistic Pigeon, LLC. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
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
#!/usr/bin/ruby | |
require 'osx/cocoa' | |
include OSX | |
require_framework 'ScriptingBridge' | |
Xcode = SBApplication.applicationWithBundleIdentifier 'com.apple.Xcode' | |
Xcode.sourceDocuments.get.each { |d| | |
d.closeSaving_savingIn(('ask '.unpack('N').first), nil) |
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
PACKAGING_DIR="$BUILT_PRODUCTS_DIR/$PRODUCT_NAME-tmp" | |
rm -rf "$PACKAGING_DIR" || exit 1 | |
mkdir -p "$PACKAGING_DIR/Payload" || exit 1 | |
cp -R "$BUILT_PRODUCTS_DIR/$WRAPPER_NAME" "$PACKAGING_DIR/Payload" || exit 1 | |
$( cd "$PACKAGING_DIR" && ditto -c -k --keepParent --rsrc ./Payload "$BUILT_PRODUCTS_DIR/$PRODUCT_NAME.ipa" ) || exit 1 |
OlderNewer