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
import Foundation | |
import SceneKit | |
public enum BinarySTLParser { | |
public enum STLError: Error { | |
case fileTooSmall(size: Int) | |
case unexpectedFileSize(expected: Int, actual: Int) | |
case triangleCountMismatch(diff: Int) | |
} | |
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
#import <Foundation/Foundation.h> | |
#import <AssetsLibrary/AssetsLibrary.h> | |
@interface ALAssetsLibrary (EEEConcurrency) | |
- (NSUInteger)eee_enumerateGroupsLockedWithTypes:(ALAssetsGroupType)types | |
usingBlock:(ALAssetsLibraryGroupsEnumerationResultsBlock)enumerationBlock | |
failureBlock:(ALAssetsLibraryAccessFailureBlock)failureBlock; | |
@end |
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
From 4cde2c8b86131466ba6902b08b037d689eb44f8f Mon Sep 17 00:00:00 2001 | |
From: Eric-Paul Lecluse <...> | |
Date: Fri, 10 Jan 2014 11:01:48 +0100 | |
Subject: [PATCH] Re-introduced a property to check whether an argument was | |
captured on KWCaptureSpy | |
--- | |
Classes/Core/KWCaptureSpy.h | 1 + | |
Classes/Core/KWCaptureSpy.m | 5 ++++- | |
Tests/KWCaptureTest.m | 11 +++++++++++ |
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
#import <Foundation/Foundation.h> | |
@interface NSBundle (TTTOverrideLanguage) | |
+ (void)ttt_overrideLanguage:(NSString *)language; | |
+ (void)ttt_resetLanguage; | |
@end |
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
[UIImage tttImageWithSize:CGSizeMake(44, 44) | |
drawing:^(CGContextRef ctx, CGSize size) { | |
UIColor *blue = [UIColor blueColor]; | |
CGContextSetFillColorWithColor(ctx, blue.CGColor); | |
CGFloat half = size.height / 2; | |
rect = (CGRect){{0, half}, {size.width, half}}; | |
CGContextFillRect(ctx, rect); | |
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
{ | |
"m" : { | |
"sid" : "61683C29-2828-4E2D-AB07-BA9B10B11D24", | |
"os" : "OSX 1138.32", | |
"l" : "nl_NL", | |
"uid" : "B93DF2AF-BBE4-426C-BF04-34A157D79257" | |
}, | |
"e" : [ | |
{ | |
"n" : "allow statistics", |
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
AsyncCopyTest.xcodeproj/*.mode1v3 | |
AsyncCopyTest.xcodeproj/*.pbxuser | |
AsyncCopyTest.xcodeproj/xcuserdata/* | |
AsyncCopyTest.xcodeproj/*/xcuserdata/* | |
build | |
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
// | |
// Signal.h | |
// | |
// Created by Eric-Paul Lecluse on 22-01-11. | |
// Copyright 2011 epologee. All rights reserved. | |
// | |
// This class was actually inspired and named by the brilliant work of Robert Penner & friends | |
// with the ActionScript 3.0 library called Signals: https://github.com/robertpenner/as3-signals | |
// It's not even close to a port, but it meets the demands of my current project. |
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)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
self.title = @"Home"; | |
self.tableView.rowHeight = 57.0; | |
tableViewData = [[NSArray arrayWithObjects: | |
[NSDictionary dictionaryWithObjectsAndKeys:@"Instagram", @"title", @"InstagramViewController", @"class", @"Icon.png", @"image", nil], | |
[NSDictionary dictionaryWithObjectsAndKeys:@"Path™", @"title", @"PathViewController", @"class", @"app-icon-114.png", @"image", 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
[Session started at 2010-12-18 03:40:41 +0100.] | |
GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Fri Oct 22 04:12:10 UTC 2010) | |
Copyright 2004 Free Software Foundation, Inc. | |
GDB is free software, covered by the GNU General Public License, and you are | |
welcome to change it and/or distribute copies of it under certain conditions. | |
Type "show copying" to see the conditions. | |
There is absolutely no warranty for GDB. Type "show warranty" for details. | |
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys000 | |
Loading program into debugger… |