Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[Issue #2] Adding snippets by @twobitlabs

Signed-off-by: Mattt Thompson <m@mattt.me>
  • Loading branch information...
commit a290901db87ee7a86125a7d7880b23d264e30383 1 parent 7d85b05
@chrispix chrispix authored mattt committed
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
7 stack.m
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.