#Every Single Option Under The Sun
- optimization level options
- automatic crashing options
- debug info options
- swift internal options
- swift debug/development internal options
- linker-specific options
- mode options
#Every Single Option Under The Sun
class ArrayImpl<T> { | |
var space: Int | |
var count: Int | |
var ptr: UnsafeMutablePointer<T> | |
init(count: Int = 0, ptr: UnsafeMutablePointer<T> = nil) { | |
self.count = count | |
self.space = count | |
- (NSString *)tableView:(UITableView *)tableView titleForSwipeAccessoryButtonForRowAtIndexPath:(NSIndexPath *)indexPath { | |
return @"More"; | |
} | |
- (void)tableView:(UITableView *)tableView swipeAccessoryButtonPushedForRowAtIndexPath:(NSIndexPath *)indexPath { | |
NSLog(@"I wanted to be a pretty public API, but then time ran out and they forgot me..."); | |
// Hide the More/Delete menu. | |
[self setEditing:NO animated:YES]; | |
} |
# Valid and working as of 04/21/2014 | |
# Xcode 5.0.1, XCode Server | |
# | |
#Settings | |
API_TOKEN="This can be found here: https://rink.hockeyapp.net/manage/auth_tokens" | |
DISTRIBUTION_LISTS="This is a comma seperated list of tags found under App -> Users -> " | |
PROVISIONING_PROFILE="You will have to manually copy your profile to /Library/Server/Xcode/Data/ProvisioningProfiles/<profile>.mobileprovision" | |
#EXAMPLE:"/Library/Server/Xcode/Data/ProvisioningProfiles/DocLink_InHouse_2013.mobileprovision" | |
NOTIFY="1" |
#!/bin/bash | |
############################################################################### | |
## ## | |
## Build and package OpenSSL static libraries for OSX/iOS ## | |
## ## | |
## This script is in the public domain. ## | |
## Creator : Laurent Etiemble ## | |
## ## | |
############################################################################### |
Just run:
curl -ks https://gist.github.com/nicerobot/5652802/raw/install.sh | bash -
- (id)init | |
{ | |
self = [self initWithNibName:NSStringFromClass([self class]) bundle:nil]; | |
if (self) { | |
} | |
return self; | |
} |
#!/bin/bash | |
# | |
# Written by Tobias Lensing, http://tlensing.org | |
# For more information see http://blog.tlensing.org/2013/02/24/objective-c-on-linux-setting-up-gnustep-clang-llvm-objective-c-2-0-blocks-runtime-gcd-on-ubuntu-12-04/ | |
# | |
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' curl | grep "install ok installed") | |
echo Checking for curl: $PKG_OK | |
if [ "" == "$PKG_OK" ]; then | |
sudo apt-get install curl -y |
// reNX is copyright angelsl, 2011 to 2012 inclusive. | |
// | |
// This file is part of reNX. | |
// | |
// reNX is free software: you can redistribute it and/or modify | |
// it under the terms of the GNU General Public License as published by | |
// the Free Software Foundation, either version 3 of the License, or | |
// (at your option) any later version. | |
// | |
// reNX is distributed in the hope that it will be useful, |
#import <Foundation/Foundation.h> | |
@interface HTTPMessage : NSObject | |
@property (nonatomic, readonly) CFHTTPMessageRef request; | |
- ( BOOL ) isRequestComplete:(NSData *) append_data; | |
@end |