Skip to content

Instantly share code, notes, and snippets.

View kolinkrewinkel's full-sized avatar

Kolin Krewinkel kolinkrewinkel

View GitHub Profile
@jaredsinclair
jaredsinclair / gist:fa72f0917c6a147b3c54
Last active August 29, 2015 14:22
Rough-n-dirty implementation of the unusual horizontal paging used by Twitter.app's inline promoted app cards.
typedef NS_ENUM(NSInteger, BLVScrollDirection) {
// These are by the content offset,
// not by the direction your finger moves.
BLVScrollDirection_RightToLeft,
BLVScrollDirection_LeftToRight
};
@interface BLVNonStandardPagingCalculation : NSObject
@property (nonatomic, assign) NSInteger centeredCardIndex; // Defaults to NSNotFound
@alanzeino
alanzeino / lldb-debugging.md
Last active March 5, 2026 20:59
LLDB debugging with examples

LLDB Debugging Cheat Sheet

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 for more information on a command. Type help to get help for a specific option in a command too.