Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
| CGRect CGRectIntegralScaledEx(CGRect rect, CGFloat scale) | |
| { | |
| return CGRectMake(floorf(rect.origin.x * scale) / scale, floorf(rect.origin.y * scale) / scale, ceilf(rect.size.width * scale) / scale, ceilf(rect.size.height * scale) / scale); | |
| } | |
| CGRect CGRectIntegralScaled(CGRect rect) | |
| { | |
| return CGRectIntegralScaledEx(rect, [[UIScreen mainScreen] scale]); | |
| } |
| // | |
| // NSProcessInfo+DetectTestEnvironment.h | |
| // Memoir | |
| // | |
| // Created by JM - http://jmnavarro.github.com | |
| // | |
| #import <Foundation/Foundation.h> | |
| @interface NSProcessInfo (DetectTestEnvironment) |
| function setjdk { | |
| local ver=${1?Usage: setjdk <version>} | |
| export JAVA_HOME=$(/usr/libexec/java_home -v $ver) | |
| PATH=$(echo $PATH | tr ':' '\n' | grep -v Java | tr '\n' ':') | |
| export PATH=$JAVA_HOME/bin:$PATH | |
| } | |
| function _setjdk_completion (){ | |
| COMPREPLY=() |
| - (NSURL *)URLWithString:(NSString *)string andQueryValuesForKeys:(NSString *)value, ... { | |
| if (!value) { | |
| return [NSURL URLWithString:string]; | |
| } | |
| NSMutableString *queryString = [NSMutableString string]; | |
| NSString *argument = nil; | |
| NSUInteger argumentCount = 0; | |
| va_list argumentList; |
| require './plugins/babushka_provisioner' | |
| Vagrant::Config.run do |config| | |
| config.vm.box = "precise64" | |
| config.vm.box_url = 'http://files.vagrantup.com/precise64.box' | |
| config.vm.provision BabushkaProvisioner do |babs| | |
| babs.dep 'benhoskings:ruby.src', :version => '1.9.3', :patchlevel => 'p327' | |
| end |
Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
| // | |
| // FMInfoPanelViewController.h | |
| // Created by Florian Mielke (@FlorianMielke) on 06.12.11. | |
| // | |
| #import <UIKit/UIKit.h> | |
| #import <Foundation/Foundation.h> | |
| #import <QuartzCore/QuartzCore.h> | |
| @interface FMInfoPanelViewController : UIViewController <UIScrollViewDelegate> |
| // | |
| // TransitionController.h | |
| // | |
| // Created by XJones on 11/25/11. | |
| // | |
| #import <UIKit/UIKit.h> | |
| @interface TransitionController : UIViewController |