Permalink
Browse files

[Issue #2] Adding snippets by @twobitlabs

Signed-off-by: Mattt Thompson <m@mattt.me>
  • Loading branch information...
1 parent 7d85b05 commit a290901db87ee7a86125a7d7880b23d264e30383 @chrispix chrispix committed with mattt Jan 26, 2013
Showing with 22 additions and 0 deletions.
  1. +8 −0 imv.m
  2. +7 −0 stack.m
  3. +7 −0 tu.m
View
8 imv.m
@@ -0,0 +1,8 @@
+// ImageView
+// Create & Initialize UIImageView with Named Image
+//
+// Platform: iOS
+// Language: Objective-C
+// Completion Scope: Code Expression
+
+[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"<#image name#>"]]
View
@@ -0,0 +1,7 @@
+// Log Stack Trace
+//
+// Platform: All
+// Language: Objective-C
+// Completion Scope: Function or Method
+
+NSLog(@"Call Stack: %@", [NSThread callStackSymbols]);
View
7 tu.m
@@ -0,0 +1,7 @@
+// UIControlEventTouchUpInside
+//
+// Platform: iOS
+// Language: Objective-C
+// Completion Scope: Code Expression
+
+UIControlEventTouchUpInside

0 comments on commit a290901

Please sign in to comment.