Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added imageView codesnippet

  • Loading branch information...
commit 3dfdb7362da23d1377ad5e8901f7287eb93fdb07 1 parent 5ef7727
Markus Emrich authored February 14, 2013
6  README.md
Source Rendered
@@ -45,6 +45,12 @@ A For loop incrementing a local variable
45 45
         <#statements#>
46 46
     }
47 47
 
  48
+**imageView.codesnippet**  (Create an imageView)  
  49
+Shortcut: `iv`  
  50
+Inits a new imageView with an image via imageNamed.
  51
+
  52
+    [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"<#imageName#>"]]
  53
+
48 54
 **importFramework.codesnippet**  (Import Framework)  
49 55
 Shortcut: `imp2`  
50 56
 import a framework
26  imageView.codesnippet
... ...
@@ -0,0 +1,26 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>IDECodeSnippetCompletionPrefix</key>
  6
+	<string>iv</string>
  7
+	<key>IDECodeSnippetCompletionScopes</key>
  8
+	<array>
  9
+		<string>CodeExpression</string>
  10
+	</array>
  11
+	<key>IDECodeSnippetContents</key>
  12
+	<string>[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"&lt;#imageName#&gt;"]]</string>
  13
+	<key>IDECodeSnippetIdentifier</key>
  14
+	<string>605168BB-991A-482E-8004-BE645E3F05AA</string>
  15
+	<key>IDECodeSnippetLanguage</key>
  16
+	<string>Xcode.SourceCodeLanguage.Objective-C</string>
  17
+	<key>IDECodeSnippetSummary</key>
  18
+	<string>Inits a new imageView with an image via imageNamed.</string>
  19
+	<key>IDECodeSnippetTitle</key>
  20
+	<string>Create an imageView</string>
  21
+	<key>IDECodeSnippetUserSnippet</key>
  22
+	<true/>
  23
+	<key>IDECodeSnippetVersion</key>
  24
+	<integer>0</integer>
  25
+</dict>
  26
+</plist>

0 notes on commit 3dfdb73

Please sign in to comment.
Something went wrong with that request. Please try again.