Skip to content

Instantly share code, notes, and snippets.

@gregtemp
gregtemp / zPosition Example
Created January 30, 2013 03:35
zPosition Example (does zPosition take a tiny bit of time to take effect?)
//
// C4WorkSpace.m
// Examples
//
// Created by Greg Debicki.
//
#import "C4WorkSpace.h"
@implementation C4WorkSpace {
@gregtemp
gregtemp / C4Workspace.m
Last active December 14, 2015 12:18
touchesBegan (test example)
//
// C4WorkSpace.m
// Examples
//
// Created by Greg Debicki.
//
#import "C4WorkSpace.h"
@implementation C4WorkSpace {
@gregtemp
gregtemp / C4Workspace.m
Last active December 14, 2015 12:28
animationDuration (quick changes) what am i doing wrong here?
// C4WorkSpace.m
// Examples
//
// Created by Greg Debicki.
//
#import "C4WorkSpace.h"
@implementation C4WorkSpace {
@gregtemp
gregtemp / C4Workspace.m
Created March 4, 2013 22:24
animationDuration problem
//
// C4WorkSpace.m
// Examples
//
// Created by Greg Debicki.
//
#import "C4WorkSpace.h"
@implementation C4WorkSpace {
@gregtemp
gregtemp / C4Workspace.m
Created March 8, 2013 22:26
swipe gesture question
//
// C4WorkSpace.m
// Examples
//
// Created by Greg Debicki.
//
#import "C4WorkSpace.h"
@implementation C4WorkSpace {
@gregtemp
gregtemp / C4Workspace.m
Last active December 14, 2015 19:39
Long pressed (how does it work?)
@implementation C4WorkSpace {
C4Shape *s1, *s2, *s3;
}
-(void)setup {
CGRect shapeFrame = CGRectMake(0, 0, 100, 100);
s1 = [C4Shape ellipse:shapeFrame];
s2 = [C4Shape ellipse:shapeFrame];
s3 = [C4Shape ellipse:shapeFrame];
@gregtemp
gregtemp / C4Workspace.m
Created March 13, 2013 02:44
subview addShape + mask not quite sure what to do with this but it looks cool.
//
// C4WorkSpace.m
// Examples
//
// Created by Greg Debicki.
//
@implementation C4WorkSpace {
C4Shape *s1, *s2, *m;
}
@gregtemp
gregtemp / C4Workspace.m
Created March 17, 2013 00:32
LONGPRESS - pressedLong can't figure out why this doesn't work...
@implementation C4WorkSpace {
C4Shape *s1, *s2, *s3;
}
-(void)setup {
CGRect shapeFrame = CGRectMake(0, 0, 100, 100);
s1 = [C4Shape ellipse:shapeFrame];
s2 = [C4Shape ellipse:shapeFrame];
s3 = [C4Shape ellipse:shapeFrame];
@gregtemp
gregtemp / C4Workspace.m
Created April 9, 2013 18:48
C4 Simple Random Movement
//
// C4WorkSpace.m
// Examples
//
// Created by Greg Debicki.
//
@implementation C4WorkSpace {
C4Shape *circle;
}
@gregtemp
gregtemp / C4Workspace.m
Last active December 18, 2015 00:19
Simple Match Game Example
//
// C4WorkSpace.m
// Examples
//
// Created by Greg Debicki.
//
#import "C4WorkSpace.h"
@implementation C4WorkSpace {