Skip to content

Instantly share code, notes, and snippets.

git shortlog -s | sort -nr
@QuynhNguyen
QuynhNguyen / lldb-debugging.md
Created March 19, 2016 00:40 — forked from alanzeino/lldb-debugging.md
LLDB debugging with examples

Commands

LLDB Commands

LLDB comes with a great set of commands for powerful debugging.

help

Your starting point for anything. Type help to get a list of all commands, plus any user installed ones. Type 'help <command-name> for more information on a command. Type help <command-name> <option> to get help for a specific option in a command too.

@QuynhNguyen
QuynhNguyen / CustomLayerAnimation.m
Created March 19, 2015 22:21
Custom CALayerAnimation
@implementation CustomAnimationLayer
@dynamic changingProperty1, changingProperty2;
-(CABasicAnimation *)makeAnimationForKey:(NSString *)key {
CABasicAnimation *anim = [CABasicAnimation animationWithKeyPath:key];
anim.fromValue = [[self presentationLayer] valueForKey:key];
anim.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseOut];
anim.duration = kSomeDuration;
return anim;