Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fresh Start

  • Loading branch information...
commit c5d0ee14cded5efc2af26c12bbdc7d49e3b77923 1 parent 689dae5
@skylarsch authored
Showing with 4 additions and 17,976 deletions.
  1. BIN  .DS_Store
  2. +3 −1 .gitignore
  3. BIN  Documentation/.DS_Store
  4. +0 −35 Documentation/docset/Contents/Info.plist
  5. +0 −222 Documentation/docset/Contents/Resources/Documents/Categories/NSData+SSBase64.html
  6. +0 −940 Documentation/docset/Contents/Resources/Documents/Classes/SSPostmark.html
  7. +0 −786 Documentation/docset/Contents/Resources/Documents/Classes/SSPostmarkAttachment.html
  8. +0 −1,057 Documentation/docset/Contents/Resources/Documents/Classes/SSPostmarkMessage.html
  9. +0 −301 Documentation/docset/Contents/Resources/Documents/Classes/SSPostmarkViewController.html
  10. +0 −364 Documentation/docset/Contents/Resources/Documents/Protocols/SSPostmarkDelegate.html
  11. +0 −584 Documentation/docset/Contents/Resources/Documents/css/styles.css
  12. +0 −22 Documentation/docset/Contents/Resources/Documents/css/stylesPrint.css
  13. +0 −101 Documentation/docset/Contents/Resources/Documents/hierarchy.html
  14. BIN  Documentation/docset/Contents/Resources/Documents/img/button_bar_background.png
  15. BIN  Documentation/docset/Contents/Resources/Documents/img/disclosure.png
  16. BIN  Documentation/docset/Contents/Resources/Documents/img/disclosure_open.png
  17. BIN  Documentation/docset/Contents/Resources/Documents/img/library_background.png
  18. BIN  Documentation/docset/Contents/Resources/Documents/img/title_background.png
  19. +0 −91 Documentation/docset/Contents/Resources/Documents/index.html
  20. +0 −75 Documentation/docset/Contents/Resources/Nodes.xml
  21. +0 −205 Documentation/docset/Contents/Resources/Tokens1.xml
  22. +0 −165 Documentation/docset/Contents/Resources/Tokens2.xml
  23. +0 −290 Documentation/docset/Contents/Resources/Tokens3.xml
  24. +0 −26 Documentation/docset/Contents/Resources/Tokens4.xml
  25. +0 −15 Documentation/docset/Contents/Resources/Tokens5.xml
  26. +0 −37 Documentation/docset/Contents/Resources/Tokens6.xml
  27. +0 −222 Documentation/html/Categories/NSData+SSBase64.html
  28. +0 −940 Documentation/html/Classes/SSPostmark.html
  29. +0 −786 Documentation/html/Classes/SSPostmarkAttachment.html
  30. +0 −1,057 Documentation/html/Classes/SSPostmarkMessage.html
  31. +0 −364 Documentation/html/Protocols/SSPostmarkDelegate.html
  32. +0 −584 Documentation/html/css/styles.css
  33. +0 −22 Documentation/html/css/stylesPrint.css
  34. +0 −93 Documentation/html/hierarchy.html
  35. BIN  Documentation/html/img/button_bar_background.png
  36. BIN  Documentation/html/img/disclosure.png
  37. BIN  Documentation/html/img/disclosure_open.png
  38. BIN  Documentation/html/img/library_background.png
  39. BIN  Documentation/html/img/title_background.png
  40. +0 −89 Documentation/html/index.html
  41. BIN  Downtown_LA.png
  42. +1 −9 README.md
  43. +0 −7 SSPostmark-Lib/SSPostmark-Lib-Prefix.pch
  44. +0 −13 SSPostmark-Lib/SSPostmark_Lib.h
  45. +0 −13 SSPostmark-Lib/SSPostmark_Lib.m
  46. +0 −651 SSPostmark.xcodeproj/project.pbxproj
  47. +0 −7 SSPostmark.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  48. +0 −10 SSPostmark.xcodeproj/project.xcworkspace/xcuserdata/skylar.xcuserdatad/WorkspaceSettings.xcsettings
  49. BIN  SSPostmark.xcodeproj/project.xcworkspace/xcuserdata/skylarschipper.xcuserdatad/UserInterfaceState.xcuserstate
  50. +0 −5 SSPostmark.xcodeproj/xcuserdata/skylar.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist
  51. +0 −59 SSPostmark.xcodeproj/xcuserdata/skylar.xcuserdatad/xcschemes/SSPostmark-Lib.xcscheme
  52. +0 −87 SSPostmark.xcodeproj/xcuserdata/skylar.xcuserdatad/xcschemes/SSPostmark.xcscheme
  53. +0 −87 SSPostmark.xcodeproj/xcuserdata/skylar.xcuserdatad/xcschemes/SSPostmark_Mac.xcscheme
  54. +0 −42 SSPostmark.xcodeproj/xcuserdata/skylar.xcuserdatad/xcschemes/xcschememanagement.plist
  55. +0 −84 SSPostmark.xcodeproj/xcuserdata/skylarschipper.xcuserdatad/xcschemes/SSPostmark.xcscheme
  56. +0 −22 SSPostmark.xcodeproj/xcuserdata/skylarschipper.xcuserdatad/xcschemes/xcschememanagement.plist
  57. BIN  SSPostmark/DowntownLosAngeles_night.jpg
  58. +0 −20 SSPostmark/SSAppDelegate.h
  59. +0 −78 SSPostmark/SSAppDelegate.m
  60. +0 −40 SSPostmark/SSPostmark-Info.plist
  61. +0 −14 SSPostmark/SSPostmark-Prefix.pch
  62. +0 −5 SSPostmark/SSPostmark.entitlements
  63. +0 −17 SSPostmark/SSViewController.h
  64. +0 −26 SSPostmark/SSViewController.m
  65. +0 −2  SSPostmark/en.lproj/InfoPlist.strings
  66. +0 −192 SSPostmark/en.lproj/SSViewController.xib
  67. +0 −18 SSPostmark/main.m
  68. +0 −16 SSPostmark_Mac/SSAppDelegate.h
  69. +0 −41 SSPostmark_Mac/SSAppDelegate.m
  70. +0 −34 SSPostmark_Mac/SSPostmark_Mac-Info.plist
  71. +0 −7 SSPostmark_Mac/SSPostmark_Mac-Prefix.pch
  72. +0 −29 SSPostmark_Mac/en.lproj/Credits.rtf
  73. +0 −2  SSPostmark_Mac/en.lproj/InfoPlist.strings
  74. +0 −4,666 SSPostmark_Mac/en.lproj/MainMenu.xib
  75. +0 −14 SSPostmark_Mac/main.m
  76. +0 −192 SSPostmark_iOS/Headers/SSPostmark.h
  77. +0 −151 SSPostmark_iOS/Headers/SSPostmarkAttachment.h
  78. +0 −139 SSPostmark_iOS/Headers/SSPostmarkMessage.h
  79. +0 −36 SSPostmark_iOS/Headers/SSPostmarkViewController.h
  80. +0 −111 SSPostmark_iOS/Headers/SSPostmark_Helper.h
  81. +0 −13 SSPostmark_iOS/Headers/SSPostmark_Lib.h
  82. BIN  SSPostmark_iOS/SSPostmark.a
  83. +0 −21 SSPostmark_lib/AppledocSettings.plist
  84. +0 −190 SSPostmark_lib/SSPostmark.h
  85. +0 −236 SSPostmark_lib/SSPostmark.m
  86. +0 −184 SSPostmark_lib/SSPostmarkAttachment.h
  87. +0 −186 SSPostmark_lib/SSPostmarkAttachment.m
  88. +0 −173 SSPostmark_lib/SSPostmarkMessage.h
  89. +0 −100 SSPostmark_lib/SSPostmarkMessage.m
  90. +0 −70 SSPostmark_lib/SSPostmarkViewController.h
  91. +0 −264 SSPostmark_lib/SSPostmarkViewController.m
  92. +0 −116 SSPostmark_lib/SSPostmark_Helper.h
  93. +0 −3  docgen.sh
View
BIN  .DS_Store
Binary file not shown
View
4 .gitignore
@@ -1 +1,3 @@
-*.xcuserstate
+*.xcuserstate
+.DS_Store
+./Documentation
View
BIN  Documentation/.DS_Store
Binary file not shown
View
35 Documentation/docset/Contents/Info.plist
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleIdentifier</key>
- <string>co.schipp.SSPostmark</string>
- <key>CFBundleName</key>
- <string>SSPostmark Documentation</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleVersion</key>
- <string>1.0</string>
-
-
-
-
- <key>DocSetFeedName</key>
- <string>SSPostmark Documentation</string>
- <key>DocSetFeedURL</key>
- <string>http://sspostmark.schipp.co/co.schipp.SSPostmark.atom</string>
- <key>DocSetMinimumXcodeVersion</key>
- <string>3.0</string>
-
- <key>DashDocSetFamily</key>
- <string>appledoc</string>
- <key>DocSetPublisherIdentifier</key>
- <string>co.schipp.documentation</string>
- <key>DocSetPublisherName</key>
- <string>Skylar Schipper</string>
- <key>NSHumanReadableCopyright</key>
- <string>Copyright © 2012 Skylar Schipper. All rights reserved.</string>
-</dict>
-</plist>
View
222 Documentation/docset/Contents/Resources/Documents/Categories/NSData+SSBase64.html
@@ -1,222 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
- <meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
- <title>NSData(SSBase64) Category Reference</title>
- <meta id="xcode-display" name="xcode-display" content="render"/>
- <meta name="viewport" content="width=550" />
- <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
- <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
- <meta name="generator" content="appledoc 2.0.5 (build 789)" />
- </head>
- <body>
- <header id="top_header">
- <div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">SSPostmark </a></h1>
- <a id="developerHome" href="../index.html">Skylar Schipper</a>
- </div>
-
- <div id="title" role="banner">
- <h1 class="hideInXcode">NSData(SSBase64) Category Reference</h1>
- </div>
- <ul id="headerButtons" role="toolbar">
- <li id="toc_button">
- <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
- </li>
- <li id="jumpto_button" role="navigation">
- <select id="jumpTo">
- <option value="top">Jump To&#133;</option>
-
- <option value="overview">Overview</option>
-
-
-
-
-
-
-
-
-
-
-
-
-
-</select>
- </li>
- </ul>
- </header>
- <nav id="tocContainer" class="isShowingTOC">
- <ul id="toc" role="tree">
-
-<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li>
-
-
-
-
-
-
-
-
-
-
-
-
-
- </ul>
- </nav>
- <article>
- <div id="contents" class="isShowingTOC" role="main">
- <a title="NSData(SSBase64) Category Reference" name="top"></a>
- <div class="main-navigation navigation-top">
- <ul>
- <li><a href="../index.html">Index</a></li>
- <li><a href="../hierarchy.html">Hierarchy</a></li>
-</ul>
- </div>
- <div id="header">
- <div class="section-header">
- <h1 class="title title-header">NSData(SSBase64) Category Reference</h1>
- </div>
- </div>
- <div id="container">
-
- <div class="section section-specification"><table cellspacing="0"><tbody>
- <tr>
- <td class="specification-title">Declared in</td>
- <td class="specification-value">SSPostmarkAttachment.h<br />SSPostmarkAttachment.m</td>
-</tr>
- </tbody></table></div>
-
-
-
-
- <div class="section section-overview">
- <a title="Overview" name="overview"></a>
- <h2 class="subtitle subtitle-overview">Overview</h2>
- <p>Base64 encoding</p>
- </div>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- </div>
- <div class="main-navigation navigation-bottom">
- <ul>
- <li><a href="../index.html">Index</a></li>
- <li><a href="../hierarchy.html">Hierarchy</a></li>
-</ul>
- </div>
- <div id="footer">
- <hr />
- <div class="footer-copyright">
- <p><span class="copyright">&copy; 2012 Skylar Schipper. All rights reserved. (Last updated: 2012-07-21)</span><br />
-
- <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
-
- </div>
- </div>
- </div>
- </article>
- <script type="text/javascript">
- function jumpToChange()
- {
- window.location.hash = this.options[this.selectedIndex].value;
- }
-
- function toggleTOC()
- {
- var contents = document.getElementById('contents');
- var tocContainer = document.getElementById('tocContainer');
-
- if (this.getAttribute('class') == 'open')
- {
- this.setAttribute('class', '');
- contents.setAttribute('class', '');
- tocContainer.setAttribute('class', '');
-
- window.name = "hideTOC";
- }
- else
- {
- this.setAttribute('class', 'open');
- contents.setAttribute('class', 'isShowingTOC');
- tocContainer.setAttribute('class', 'isShowingTOC');
-
- window.name = "";
- }
- return false;
- }
-
- function toggleTOCEntryChildren(e)
- {
- e.stopPropagation();
- var currentClass = this.getAttribute('class');
- if (currentClass == 'children') {
- this.setAttribute('class', 'children open');
- }
- else if (currentClass == 'children open') {
- this.setAttribute('class', 'children');
- }
- return false;
- }
-
- function tocEntryClick(e)
- {
- e.stopPropagation();
- return true;
- }
-
- function init()
- {
- var selectElement = document.getElementById('jumpTo');
- selectElement.addEventListener('change', jumpToChange, false);
-
- var tocButton = document.getElementById('table_of_contents');
- tocButton.addEventListener('click', toggleTOC, false);
-
- var taskTreeItem = document.getElementById('task_treeitem');
- if (taskTreeItem.getElementsByTagName('li').length > 0)
- {
- taskTreeItem.setAttribute('class', 'children');
- taskTreeItem.firstChild.setAttribute('class', 'disclosure');
- }
-
- var tocList = document.getElementById('toc');
-
- var tocEntries = tocList.getElementsByTagName('li');
- for (var i = 0; i < tocEntries.length; i++) {
- tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
- }
-
- var tocLinks = tocList.getElementsByTagName('a');
- for (var i = 0; i < tocLinks.length; i++) {
- tocLinks[i].addEventListener('click', tocEntryClick, false);
- }
-
- if (window.name == "hideTOC") {
- toggleTOC.call(tocButton);
- }
- }
-
- window.onload = init;
-
- // If showing in Xcode, hide the TOC and Header
- if (navigator.userAgent.match(/xcode/i)) {
- document.getElementById("contents").className = "hideInXcode"
- document.getElementById("tocContainer").className = "hideInXcode"
- document.getElementById("top_header").className = "hideInXcode"
- }
-
- </script>
- </body>
-</html>
View
940 Documentation/docset/Contents/Resources/Documents/Classes/SSPostmark.html
@@ -1,940 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
- <meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
- <title>SSPostmark Class Reference</title>
- <meta id="xcode-display" name="xcode-display" content="render"/>
- <meta name="viewport" content="width=550" />
- <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
- <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
- <meta name="generator" content="appledoc 2.0.5 (build 789)" />
- </head>
- <body>
- <header id="top_header">
- <div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">SSPostmark </a></h1>
- <a id="developerHome" href="../index.html">Skylar Schipper</a>
- </div>
-
- <div id="title" role="banner">
- <h1 class="hideInXcode">SSPostmark Class Reference</h1>
- </div>
- <ul id="headerButtons" role="toolbar">
- <li id="toc_button">
- <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
- </li>
- <li id="jumpto_button" role="navigation">
- <select id="jumpTo">
- <option value="top">Jump To&#133;</option>
-
- <option value="overview">Overview</option>
-
-
-
-
- <option value="tasks">Tasks</option>
-
-
-
-
-
- <option value="properties">Properties</option>
-
- <option value="//api/name/apiKey">&nbsp;&nbsp;&nbsp;&nbsp;apiKey</option>
-
- <option value="//api/name/completion">&nbsp;&nbsp;&nbsp;&nbsp;completion</option>
-
- <option value="//api/name/delegate">&nbsp;&nbsp;&nbsp;&nbsp;delegate</option>
-
-
-
-
- <option value="class_methods">Class Methods</option>
-
- <option value="//api/name/isValidEmail:">&nbsp;&nbsp;&nbsp;&nbsp;+ isValidEmail:</option>
-
- <option value="//api/name/sendMessage:apiKey:completion:">&nbsp;&nbsp;&nbsp;&nbsp;+ sendMessage:apiKey:completion:</option>
-
-
-
-
- <option value="instance_methods">Instance Methods</option>
-
- <option value="//api/name/initWithApiKey:">&nbsp;&nbsp;&nbsp;&nbsp;- initWithApiKey:</option>
-
- <option value="//api/name/sendBatchMessages:">&nbsp;&nbsp;&nbsp;&nbsp;- sendBatchMessages:</option>
-
- <option value="//api/name/sendBatchMessages:withCompletion:">&nbsp;&nbsp;&nbsp;&nbsp;- sendBatchMessages:withCompletion:</option>
-
- <option value="//api/name/sendMessage:">&nbsp;&nbsp;&nbsp;&nbsp;- sendMessage:</option>
-
- <option value="//api/name/sendMessage:withCompletion:">&nbsp;&nbsp;&nbsp;&nbsp;- sendMessage:withCompletion:</option>
-
-
-
-</select>
- </li>
- </ul>
- </header>
- <nav id="tocContainer" class="isShowingTOC">
- <ul id="toc" role="tree">
-
-<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li>
-
-
-
-
-<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
-
-</ul></li>
-
-
-
-
-
-<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/apiKey">apiKey</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/completion">completion</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/delegate">delegate</a></span></li>
-
-</ul></li>
-
-
-
-<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#class_methods">Class Methods</a></span><ul>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/isValidEmail:">isValidEmail:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/sendMessage:apiKey:completion:">sendMessage:apiKey:completion:</a></span></li>
-
-</ul></li>
-
-
-
-<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initWithApiKey:">initWithApiKey:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/sendBatchMessages:">sendBatchMessages:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/sendBatchMessages:withCompletion:">sendBatchMessages:withCompletion:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/sendMessage:">sendMessage:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/sendMessage:withCompletion:">sendMessage:withCompletion:</a></span></li>
-
-</ul></li>
-
-
- </ul>
- </nav>
- <article>
- <div id="contents" class="isShowingTOC" role="main">
- <a title="SSPostmark Class Reference" name="top"></a>
- <div class="main-navigation navigation-top">
- <ul>
- <li><a href="../index.html">Index</a></li>
- <li><a href="../hierarchy.html">Hierarchy</a></li>
-</ul>
- </div>
- <div id="header">
- <div class="section-header">
- <h1 class="title title-header">SSPostmark Class Reference</h1>
- </div>
- </div>
- <div id="container">
-
- <div class="section section-specification"><table cellspacing="0"><tbody>
- <tr>
- <td class="specification-title">Inherits from</td>
- <td class="specification-value">NSObject</td>
-</tr><tr>
- <td class="specification-title">Conforms to</td>
- <td class="specification-value">NSURLConnectionDataDelegate<br />NSURLConnectionDelegate</td>
-</tr><tr>
- <td class="specification-title">Declared in</td>
- <td class="specification-value">SSPostmark.h<br />SSPostmark.m</td>
-</tr>
- </tbody></table></div>
-
-
-
-
- <div class="section section-overview">
- <a title="Overview" name="overview"></a>
- <h2 class="subtitle subtitle-overview">Overview</h2>
- <blockquote><p><a href="http://postmarkapp.com/">Postmark</a> removes the headaches of delivering and parsing transactional email for webapps with minimal setup time and zero maintenance. We have years of experience getting email to the inbox, so you can work and rest easier.</p></blockquote>
-
-<p>This is a simple Objective-C class to send email using the Postmark API.</p>
-
-<p>Works on both Mac OS X 10.7 &amp; iOS 5</p>
- </div>
-
-
-
-
-
- <div class="section section-tasks">
- <a title="Tasks" name="tasks"></a>
- <h2 class="subtitle subtitle-tasks">Tasks</h2>
-
-
-
-
-
- <ul class="task-list">
- <li>
- <span class="tooltip">
- <code><a href="#//api/name/apiKey">&nbsp;&nbsp;apiKey</a></code>
- <span class="tooltip"><p>Your API key.</p></span>
- </span>
- <span class="task-item-suffix">property</span>
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/delegate">&nbsp;&nbsp;delegate</a></code>
- <span class="tooltip"><p>Where to call delegate methods.</p></span>
- </span>
- <span class="task-item-suffix">property</span>
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/completion">&nbsp;&nbsp;completion</a></code>
- <span class="tooltip"><p>Called when Postmark returns a response.</p></span>
- </span>
- <span class="task-item-suffix">property</span>
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/initWithApiKey:">&ndash;&nbsp;initWithApiKey:</a></code>
- <span class="tooltip"><p>Returns a SSPostmark initalized with the passed API Key</p></span>
- </span>
-
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/sendMessage:">&ndash;&nbsp;sendMessage:</a></code>
- <span class="tooltip"><p>Send an <a href="../Classes/SSPostmarkMessage.html">SSPostmarkMessage</a> to the server</p></span>
- </span>
-
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/sendMessage:withCompletion:">&ndash;&nbsp;sendMessage:withCompletion:</a></code>
- <span class="tooltip"><p>Send an SSPostmarkMessag to the server</p></span>
- </span>
-
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/sendBatchMessages:">&ndash;&nbsp;sendBatchMessages:</a></code>
- <span class="tooltip"><p>Send batch messages to Postmark</p></span>
- </span>
-
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/sendBatchMessages:withCompletion:">&ndash;&nbsp;sendBatchMessages:withCompletion:</a></code>
- <span class="tooltip"><p>Send batch messages to Postmark</p></span>
- </span>
-
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/isValidEmail:">+&nbsp;isValidEmail:</a></code>
- <span class="tooltip"><p>Checks if a email address is in a vaild format.</p></span>
- </span>
-
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/sendMessage:apiKey:completion:">+&nbsp;sendMessage:apiKey:completion:</a></code>
- <span class="tooltip"><p>Send a message</p></span>
- </span>
-
-
-</li>
- </ul>
-
- </div>
-
-
-
-
-
- <div class="section section-methods">
- <a title="Properties" name="properties"></a>
- <h2 class="subtitle subtitle-methods">Properties</h2>
-
- <div class="section-method">
- <a name="//api/name/apiKey" title="apiKey"></a>
- <h3 class="subsubtitle method-title">apiKey</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Your API key.</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>@property (nonatomic, retain) NSString *apiKey</code></div>
-
-
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Your API key.</p>
-
-<p>This is required to talk to the Postmark API. If you don&rsquo;t know your api key it can be found by going to <a href="https://postmarkapp.com/servers">https://postmarkapp.com/servers</a>. Select the server who you want to send through and then select <strong>Credentials</strong>.</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmark.h</code><br />
- </div>
-
-
-</div>
-
- <div class="section-method">
- <a name="//api/name/completion" title="completion"></a>
- <h3 class="subsubtitle method-title">completion</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Called when Postmark returns a response.</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>@property (nonatomic, copy) SSPostmarkCompletionHandler completion</code></div>
-
-
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Called when Postmark returns a response.</p>
-
-<p>This block is declared as <code>typedef void (^SSPostmarkCompletionHandler)(NSDictionary *postmarkResponse, SSPMErrorType errorType);</code></p>
-
-<p>The <code>postmarkResponse</code> should contain keys</p>
-
-<ul>
-<li><p><code>ErrorCode</code></p></li>
-<li><p><code>Message</code></p></li>
-<li><p><code>MessageID</code></p></li>
-<li><p><code>SubmittedAt</code></p></li>
-<li><p><code>To</code></p></li>
-</ul>
-
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmark.h</code><br />
- </div>
-
-
-</div>
-
- <div class="section-method">
- <a name="//api/name/delegate" title="delegate"></a>
- <h3 class="subsubtitle method-title">delegate</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Where to call delegate methods.</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>@property (nonatomic, assign) id&lt;&gt; delegate</code></div>
-
-
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Where to call delegate methods.</p>
-
-<p>In for the most part you should be using the block based API.</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmark.h</code><br />
- </div>
-
-
-</div>
-
- </div>
-
-
-
- <div class="section section-methods">
- <a title="Class Methods" name="class_methods"></a>
- <h2 class="subtitle subtitle-methods">Class Methods</h2>
-
- <div class="section-method">
- <a name="//api/name/isValidEmail:" title="isValidEmail:"></a>
- <h3 class="subsubtitle method-title">isValidEmail:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Checks if a email address is in a vaild format.</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>+ (BOOL)isValidEmail:(NSString *)<em>email</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>email</em></dt>
- <dd><p>The string to vaildate as an email address</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>email vaildation BOOL</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Checks if a email address is in a vaild format.</p>
-
-<p>This pregmatches the passed email address</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmark.h</code><br />
- </div>
-
-
-</div>
-
- <div class="section-method">
- <a name="//api/name/sendMessage:apiKey:completion:" title="sendMessage:apiKey:completion:"></a>
- <h3 class="subsubtitle method-title">sendMessage:apiKey:completion:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Send a message</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>+ (void)sendMessage:(SSPostmarkMessage *)<em>message</em> apiKey:(NSString *)<em>apiKey</em> completion:(SSPostmarkCompletionHandler)<em>completion</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>message</em></dt>
- <dd><p>A vaild SSPostmark instance</p></dd>
- </dl>
-
- <dl class="argument-def parameter-def">
- <dt><em>apiKey</em></dt>
- <dd><p>Your Postmark API key</p></dd>
- </dl>
-
- <dl class="argument-def parameter-def">
- <dt><em>completion</em></dt>
- <dd><p>Set the <code>SSPostmarkCompletionHandler</code> for the request</p></dd>
- </dl>
-
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Send a message</p>
-
-<p>Class method for quickley sending a <a href="../Classes/SSPostmarkMessage.html">SSPostmarkMessage</a></p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmark.h</code><br />
- </div>
-
-
-</div>
-
- </div>
-
-
-
- <div class="section section-methods">
- <a title="Instance Methods" name="instance_methods"></a>
- <h2 class="subtitle subtitle-methods">Instance Methods</h2>
-
- <div class="section-method">
- <a name="//api/name/initWithApiKey:" title="initWithApiKey:"></a>
- <h3 class="subsubtitle method-title">initWithApiKey:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Returns a SSPostmark initalized with the passed API Key</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>- (id)initWithApiKey:(NSString *)<em>apiKey</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>apiKey</em></dt>
- <dd><p>The Postmark API key for authenticating with Postmark&rsquo;s servers</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>SSPostmark instance</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Returns a SSPostmark initalized with the passed API Key</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmark.h</code><br />
- </div>
-
-
-</div>
-
- <div class="section-method">
- <a name="//api/name/sendBatchMessages:" title="sendBatchMessages:"></a>
- <h3 class="subsubtitle method-title">sendBatchMessages:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Send batch messages to Postmark</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>- (void)sendBatchMessages:(NSArray *)<em>messages</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>messages</em></dt>
- <dd><p>An NSArray of <a href="../Classes/SSPostmarkMessage.html">SSPostmarkMessage</a></p></dd>
- </dl>
-
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Send batch messages to Postmark</p>
-
-<p>Each <a href="../Classes/SSPostmarkMessage.html">SSPostmarkMessage</a> will be validated then added to the Postmark request. Once all messages are encoeded it will send the request asynchronously to the Postmark Servers.</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmark.h</code><br />
- </div>
-
-
-</div>
-
- <div class="section-method">
- <a name="//api/name/sendBatchMessages:withCompletion:" title="sendBatchMessages:withCompletion:"></a>
- <h3 class="subsubtitle method-title">sendBatchMessages:withCompletion:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Send batch messages to Postmark</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>- (void)sendBatchMessages:(NSArray *)<em>messages</em> withCompletion:(SSPostmarkCompletionHandler)<em>completion</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>messages</em></dt>
- <dd><p>An NSArray of <a href="../Classes/SSPostmarkMessage.html">SSPostmarkMessage</a></p></dd>
- </dl>
-
- <dl class="argument-def parameter-def">
- <dt><em>completion</em></dt>
- <dd><p>Set the <code>SSPostmarkCompletionHandler</code> for the request</p></dd>
- </dl>
-
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Send batch messages to Postmark</p>
-
-<p>Each <a href="../Classes/SSPostmarkMessage.html">SSPostmarkMessage</a> will be validated then added to the Postmark request. Once all messages are encoeded it will send the request asynchronously to the Postmark Servers. When Postmark returns it will call the <a href="#//api/name/completion"><code>completion</code></a> block.</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmark.h</code><br />
- </div>
-
-
-</div>
-
- <div class="section-method">
- <a name="//api/name/sendMessage:" title="sendMessage:"></a>
- <h3 class="subsubtitle method-title">sendMessage:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Send an <a href="../Classes/SSPostmarkMessage.html">SSPostmarkMessage</a> to the server</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>- (void)sendMessage:(SSPostmarkMessage *)<em>message</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>message</em></dt>
- <dd><p>A vaild <a href="../Classes/SSPostmarkMessage.html">SSPostmarkMessage</a></p></dd>
- </dl>
-
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Send an <a href="../Classes/SSPostmarkMessage.html">SSPostmarkMessage</a> to the server</p>
-
-<p>This will ensure the message is valid, then send it to Postmark asynchronously.</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmark.h</code><br />
- </div>
-
-
-</div>
-
- <div class="section-method">
- <a name="//api/name/sendMessage:withCompletion:" title="sendMessage:withCompletion:"></a>
- <h3 class="subsubtitle method-title">sendMessage:withCompletion:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Send an SSPostmarkMessag to the server</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>- (void)sendMessage:(SSPostmarkMessage *)<em>message</em> withCompletion:(SSPostmarkCompletionHandler)<em>completion</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>message</em></dt>
- <dd><p>A vaild <a href="../Classes/SSPostmarkMessage.html">SSPostmarkMessage</a></p></dd>
- </dl>
-
- <dl class="argument-def parameter-def">
- <dt><em>completion</em></dt>
- <dd><p>Set the <code>SSPostmarkCompletionHandler</code> for the request</p></dd>
- </dl>
-
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Send an SSPostmarkMessag to the server</p>
-
-<p>This will ensure the message is valid, then send it to Postmark asynchronously. When Postmark returns it will call the <a href="#//api/name/completion"><code>completion</code></a> block.</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmark.h</code><br />
- </div>
-
-
-</div>
-
- </div>
-
-
- </div>
- <div class="main-navigation navigation-bottom">
- <ul>
- <li><a href="../index.html">Index</a></li>
- <li><a href="../hierarchy.html">Hierarchy</a></li>
-</ul>
- </div>
- <div id="footer">
- <hr />
- <div class="footer-copyright">
- <p><span class="copyright">&copy; 2012 Skylar Schipper. All rights reserved. (Last updated: 2012-07-21)</span><br />
-
- <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
-
- </div>
- </div>
- </div>
- </article>
- <script type="text/javascript">
- function jumpToChange()
- {
- window.location.hash = this.options[this.selectedIndex].value;
- }
-
- function toggleTOC()
- {
- var contents = document.getElementById('contents');
- var tocContainer = document.getElementById('tocContainer');
-
- if (this.getAttribute('class') == 'open')
- {
- this.setAttribute('class', '');
- contents.setAttribute('class', '');
- tocContainer.setAttribute('class', '');
-
- window.name = "hideTOC";
- }
- else
- {
- this.setAttribute('class', 'open');
- contents.setAttribute('class', 'isShowingTOC');
- tocContainer.setAttribute('class', 'isShowingTOC');
-
- window.name = "";
- }
- return false;
- }
-
- function toggleTOCEntryChildren(e)
- {
- e.stopPropagation();
- var currentClass = this.getAttribute('class');
- if (currentClass == 'children') {
- this.setAttribute('class', 'children open');
- }
- else if (currentClass == 'children open') {
- this.setAttribute('class', 'children');
- }
- return false;
- }
-
- function tocEntryClick(e)
- {
- e.stopPropagation();
- return true;
- }
-
- function init()
- {
- var selectElement = document.getElementById('jumpTo');
- selectElement.addEventListener('change', jumpToChange, false);
-
- var tocButton = document.getElementById('table_of_contents');
- tocButton.addEventListener('click', toggleTOC, false);
-
- var taskTreeItem = document.getElementById('task_treeitem');
- if (taskTreeItem.getElementsByTagName('li').length > 0)
- {
- taskTreeItem.setAttribute('class', 'children');
- taskTreeItem.firstChild.setAttribute('class', 'disclosure');
- }
-
- var tocList = document.getElementById('toc');
-
- var tocEntries = tocList.getElementsByTagName('li');
- for (var i = 0; i < tocEntries.length; i++) {
- tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
- }
-
- var tocLinks = tocList.getElementsByTagName('a');
- for (var i = 0; i < tocLinks.length; i++) {
- tocLinks[i].addEventListener('click', tocEntryClick, false);
- }
-
- if (window.name == "hideTOC") {
- toggleTOC.call(tocButton);
- }
- }
-
- window.onload = init;
-
- // If showing in Xcode, hide the TOC and Header
- if (navigator.userAgent.match(/xcode/i)) {
- document.getElementById("contents").className = "hideInXcode"
- document.getElementById("tocContainer").className = "hideInXcode"
- document.getElementById("top_header").className = "hideInXcode"
- }
-
- </script>
- </body>
-</html>
View
786 Documentation/docset/Contents/Resources/Documents/Classes/SSPostmarkAttachment.html
@@ -1,786 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
- <meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
- <title>SSPostmarkAttachment Class Reference</title>
- <meta id="xcode-display" name="xcode-display" content="render"/>
- <meta name="viewport" content="width=550" />
- <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
- <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
- <meta name="generator" content="appledoc 2.0.5 (build 789)" />
- </head>
- <body>
- <header id="top_header">
- <div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">SSPostmark </a></h1>
- <a id="developerHome" href="../index.html">Skylar Schipper</a>
- </div>
-
- <div id="title" role="banner">
- <h1 class="hideInXcode">SSPostmarkAttachment Class Reference</h1>
- </div>
- <ul id="headerButtons" role="toolbar">
- <li id="toc_button">
- <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
- </li>
- <li id="jumpto_button" role="navigation">
- <select id="jumpTo">
- <option value="top">Jump To&#133;</option>
-
- <option value="overview">Overview</option>
-
-
-
-
- <option value="tasks">Tasks</option>
-
-
-
-
-
- <option value="properties">Properties</option>
-
- <option value="//api/name/content">&nbsp;&nbsp;&nbsp;&nbsp;content</option>
-
- <option value="//api/name/contentType">&nbsp;&nbsp;&nbsp;&nbsp;contentType</option>
-
- <option value="//api/name/name">&nbsp;&nbsp;&nbsp;&nbsp;name</option>
-
-
-
-
- <option value="class_methods">Class Methods</option>
-
- <option value="//api/name/attachmentWithData:contentType:name:">&nbsp;&nbsp;&nbsp;&nbsp;+ attachmentWithData:contentType:name:</option>
-
- <option value="//api/name/attachmentWithImage:name:">&nbsp;&nbsp;&nbsp;&nbsp;+ attachmentWithImage:name:</option>
-
-
-
-
- <option value="instance_methods">Instance Methods</option>
-
- <option value="//api/name/addData:">&nbsp;&nbsp;&nbsp;&nbsp;- addData:</option>
-
- <option value="//api/name/addImage:">&nbsp;&nbsp;&nbsp;&nbsp;- addImage:</option>
-
- <option value="//api/name/dictionaryRepresentation">&nbsp;&nbsp;&nbsp;&nbsp;- dictionaryRepresentation</option>
-
-
-
-</select>
- </li>
- </ul>
- </header>
- <nav id="tocContainer" class="isShowingTOC">
- <ul id="toc" role="tree">
-
-<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li>
-
-
-
-
-<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
-
-</ul></li>
-
-
-
-
-
-<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/content">content</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/contentType">contentType</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/name">name</a></span></li>
-
-</ul></li>
-
-
-
-<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#class_methods">Class Methods</a></span><ul>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/attachmentWithData:contentType:name:">attachmentWithData:contentType:name:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/attachmentWithImage:name:">attachmentWithImage:name:</a></span></li>
-
-</ul></li>
-
-
-
-<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/addData:">addData:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/addImage:">addImage:</a></span></li>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/dictionaryRepresentation">dictionaryRepresentation</a></span></li>
-
-</ul></li>
-
-
- </ul>
- </nav>
- <article>
- <div id="contents" class="isShowingTOC" role="main">
- <a title="SSPostmarkAttachment Class Reference" name="top"></a>
- <div class="main-navigation navigation-top">
- <ul>
- <li><a href="../index.html">Index</a></li>
- <li><a href="../hierarchy.html">Hierarchy</a></li>
-</ul>
- </div>
- <div id="header">
- <div class="section-header">
- <h1 class="title title-header">SSPostmarkAttachment Class Reference</h1>
- </div>
- </div>
- <div id="container">
-
- <div class="section section-specification"><table cellspacing="0"><tbody>
- <tr>
- <td class="specification-title">Inherits from</td>
- <td class="specification-value">NSObject</td>
-</tr><tr>
- <td class="specification-title">Declared in</td>
- <td class="specification-value">SSPostmarkAttachment.h<br />SSPostmarkAttachment.m</td>
-</tr>
- </tbody></table></div>
-
-
-
-
- <div class="section section-overview">
- <a title="Overview" name="overview"></a>
- <h2 class="subtitle subtitle-overview">Overview</h2>
- <p>SSPostmarkAttachment takes an properly formats data to add as an attachment to an <a href="../Classes/SSPostmarkMessage.html">SSPostmarkMessage</a></p>
-
-<p>See <a href="http://developer.postmarkapp.com/developer-build.html#attachments">http://developer.postmarkapp.com/developer-build.html#attachments</a> for more info on attachments.</p>
- </div>
-
-
-
-
-
- <div class="section section-tasks">
- <a title="Tasks" name="tasks"></a>
- <h2 class="subtitle subtitle-tasks">Tasks</h2>
-
-
-
-
-
- <ul class="task-list">
- <li>
- <span class="tooltip">
- <code><a href="#//api/name/name">&nbsp;&nbsp;name</a></code>
- <span class="tooltip"><p>The name of the file being added.</p></span>
- </span>
- <span class="task-item-suffix">property</span>
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/content">&nbsp;&nbsp;content</a></code>
- <span class="tooltip"><p>Base64 encoded data.</p></span>
- </span>
- <span class="task-item-suffix">property</span>
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/contentType">&nbsp;&nbsp;contentType</a></code>
- <span class="tooltip"><p>The MIME type for the data.</p></span>
- </span>
- <span class="task-item-suffix">property</span>
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/addData:">&ndash;&nbsp;addData:</a></code>
- <span class="tooltip"><p>Add NSData object for the attachment</p></span>
- </span>
-
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/dictionaryRepresentation">&ndash;&nbsp;dictionaryRepresentation</a></code>
- <span class="tooltip"><p>Get the attachment as an <code>NSDictionary</code></p></span>
- </span>
-
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/attachmentWithData:contentType:name:">+&nbsp;attachmentWithData:contentType:name:</a></code>
- <span class="tooltip"><p>Convenience method</p></span>
- </span>
-
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/attachmentWithImage:name:">+&nbsp;attachmentWithImage:name:</a></code>
- <span class="tooltip"><p>Convenience method</p></span>
- </span>
-
-
-</li><li>
- <span class="tooltip">
- <code><a href="#//api/name/addImage:">&ndash;&nbsp;addImage:</a></code>
- <span class="tooltip"><p>Add UIImage</p></span>
- </span>
-
-
-</li>
- </ul>
-
- </div>
-
-
-
-
-
- <div class="section section-methods">
- <a title="Properties" name="properties"></a>
- <h2 class="subtitle subtitle-methods">Properties</h2>
-
- <div class="section-method">
- <a name="//api/name/content" title="content"></a>
- <h3 class="subsubtitle method-title">content</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Base64 encoded data.</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>@property (nonatomic, strong) NSString *content</code></div>
-
-
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Base64 encoded data.</p>
-
-<p>If you use teh <a href="#//api/name/addData:">addData:</a> method SSPostmarkAttachment will properly encode the data for you.</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmarkAttachment.h</code><br />
- </div>
-
-
-</div>
-
- <div class="section-method">
- <a name="//api/name/contentType" title="contentType"></a>
- <h3 class="subsubtitle method-title">contentType</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>The MIME type for the data.</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>@property (nonatomic, strong) NSString *contentType</code></div>
-
-
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>The MIME type for the data.</p>
-
-<p>If you don&rsquo;t explicitly set this it will default to <code>application/octet-stream</code>.</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmarkAttachment.h</code><br />
- </div>
-
-
-</div>
-
- <div class="section-method">
- <a name="//api/name/name" title="name"></a>
- <h3 class="subsubtitle method-title">name</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>The name of the file being added.</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>@property (nonatomic, strong) NSString *name</code></div>
-
-
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>The name of the file being added.</p>
-
-<p>This should include a file extension.</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmarkAttachment.h</code><br />
- </div>
-
-
-</div>
-
- </div>
-
-
-
- <div class="section section-methods">
- <a title="Class Methods" name="class_methods"></a>
- <h2 class="subtitle subtitle-methods">Class Methods</h2>
-
- <div class="section-method">
- <a name="//api/name/attachmentWithData:contentType:name:" title="attachmentWithData:contentType:name:"></a>
- <h3 class="subsubtitle method-title">attachmentWithData:contentType:name:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Convenience method</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>+ (SSPostmarkAttachment *)attachmentWithData:(NSData *)<em>content</em> contentType:(NSString *)<em>contentType</em> name:(NSString *)<em>name</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>content</em></dt>
- <dd><p>NSData of the attachment data</p></dd>
- </dl>
-
- <dl class="argument-def parameter-def">
- <dt><em>contentType</em></dt>
- <dd><p>NSString or nil.</p></dd>
- </dl>
-
- <dl class="argument-def parameter-def">
- <dt><em>name</em></dt>
- <dd><p>The <a href="#//api/name/name">name</a> of the image.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>An initiated SSPostmarkAttachment object</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Convenience method</p>
-
-<p>Quick way to get a SSPostmarkAttachment instance</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmarkAttachment.h</code><br />
- </div>
-
-
-</div>
-
- <div class="section-method">
- <a name="//api/name/attachmentWithImage:name:" title="attachmentWithImage:name:"></a>
- <h3 class="subsubtitle method-title">attachmentWithImage:name:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Convenience method</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>+ (SSPostmarkAttachment *)attachmentWithImage:(UIImage *)<em>image</em> name:(NSString *)<em>name</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>image</em></dt>
- <dd><p>UIImage to add to the attachment</p></dd>
- </dl>
-
- <dl class="argument-def parameter-def">
- <dt><em>name</em></dt>
- <dd><p>The <a href="#//api/name/name">name</a> of the image.</p></dd>
- </dl>
-
- </div>
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>An initiated SSPostmarkAttachment object</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Convenience method</p>
-
-<p>Quick way to get a SSPostmarkAttachment instance</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmarkAttachment.h</code><br />
- </div>
-
-
-</div>
-
- </div>
-
-
-
- <div class="section section-methods">
- <a title="Instance Methods" name="instance_methods"></a>
- <h2 class="subtitle subtitle-methods">Instance Methods</h2>
-
- <div class="section-method">
- <a name="//api/name/addData:" title="addData:"></a>
- <h3 class="subsubtitle method-title">addData:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Add NSData object for the attachment</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>- (void)addData:(NSData *)<em>data</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>data</em></dt>
- <dd><p>The data for the attachment.</p></dd>
- </dl>
-
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Add NSData object for the attachment</p>
-
-<p>This will automaticaly be converted into a base64 string.</p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmarkAttachment.h</code><br />
- </div>
-
-
-</div>
-
- <div class="section-method">
- <a name="//api/name/addImage:" title="addImage:"></a>
- <h3 class="subsubtitle method-title">addImage:</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Add UIImage</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>- (void)addImage:(UIImage *)<em>image</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
-
- <dl class="argument-def parameter-def">
- <dt><em>image</em></dt>
- <dd><p>The UIImage to add to the attachment</p></dd>
- </dl>
-
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Add UIImage</p>
-
-<p>A convenience method for adding a <code>UIImage</code></p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmarkAttachment.h</code><br />
- </div>
-
-
-</div>
-
- <div class="section-method">
- <a name="//api/name/dictionaryRepresentation" title="dictionaryRepresentation"></a>
- <h3 class="subsubtitle method-title">dictionaryRepresentation</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Get the attachment as an <code>NSDictionary</code></p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>- (NSDictionary *)dictionaryRepresentation</code></div>
-
-
-
-
-
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>A dictionary representation for the attachment.</p>
- </div>
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Get the attachment as an <code>NSDictionary</code></p>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SSPostmarkAttachment.h</code><br />
- </div>
-
-
-</div>
-
- </div>
-
-
- </div>
- <div class="main-navigation navigation-bottom">
- <ul>
- <li><a href="../index.html">Index</a></li>
- <li><a href="../hierarchy.html">Hierarchy</a></li>
-</ul>
- </div>
- <div id="footer">
- <hr />
- <div class="footer-copyright">
- <p><span class="copyright">&copy; 2012 Skylar Schipper. All rights reserved. (Last updated: 2012-07-21)</span><br />
-
- <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
-
- </div>
- </div>
- </div>
- </article>
- <script type="text/javascript">
- function jumpToChange()
- {
- window.location.hash = this.options[this.selectedIndex].value;
- }
-
- function toggleTOC()
- {
- var contents = document.getElementById('contents');
- var tocContainer = document.getElementById('tocContainer');
-
- if (this.getAttribute('class') == 'open')
- {
- this.setAttribute('class', '');
- contents.setAttribute('class', '');
- tocContainer.setAttribute('class', '');
-
- window.name = "hideTOC";
- }
- else
- {
- this.setAttribute('class', 'open');
- contents.setAttribute('class', 'isShowingTOC');
- tocContainer.setAttribute('class', 'isShowingTOC');
-
- window.name = "";
- }
- return false;
- }
-
- function toggleTOCEntryChildren(e)
- {
- e.stopPropagation();
- var currentClass = this.getAttribute('class');
- if (currentClass == 'children') {
- this.setAttribute('class', 'children open');
- }
- else if (currentClass == 'children open') {
- this.setAttribute('class', 'children');
- }
- return false;
- }
-
- function tocEntryClick(e)
- {
- e.stopPropagation();
- return true;
- }
-
- function init()
- {
- var selectElement = document.getElementById('jumpTo');
- selectElement.addEventListener('change', jumpToChange, false);
-
- var tocButton = document.getElementById('table_of_contents');
- tocButton.addEventListener('click', toggleTOC, false);
-
- var taskTreeItem = document.getElementById('task_treeitem');
- if (taskTreeItem.getElementsByTagName('li').length > 0)
- {
- taskTreeItem.setAttribute('class', 'children');
- taskTreeItem.firstChild.setAttribute('class', 'disclosure');
- }
-
- var tocList = document.getElementById('toc');
-
- var tocEntries = tocList.getElementsByTagName('li');
- for (var i = 0; i < tocEntries.length; i++) {
- tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
- }
-
- var tocLinks = tocList.getElementsByTagName('a');
- for (var i = 0; i < tocLinks.length; i++) {
- tocLinks[i].addEventListener('click', tocEntryClick, false);
- }
-
- if (window.name == "hideTOC") {
- toggleTOC.call(tocButton);
- }
- }
-
- window.onload = init;
-
- // If showing in Xcode, hide the TOC and Header
- if (navigator.userAgent.match(/xcode/i)) {
- document.getElementById("contents").className = "hideInXcode"
- document.getElementById("tocContainer").className = "hideInXcode"
- document.getElementById("top_header").className = "hideInXcode"
- }
-
- </script>
- </body>
-</html>
View
1,057 Documentation/docset/Contents/Resources/Documents/Classes/SSPostmarkMessage.html
@@ -1,1057 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
- <meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
- <title>SSPostmarkMessage Class Reference</title>
- <meta id="xcode-display" name="xcode-display" content="render"/>
- <meta name="viewport" content="width=550" />
- <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
- <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
- <meta name="generator" content="appledoc 2.0.5 (build 789)" />
- </head>
- <body>
- <header id="top_header">
- <div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">SSPostmark </a></h1>
- <a id="developerHome" href="../index.html">Skylar Schipper</a>
- </div>
-
- <div id="title" role="banner">
- <h1 class="hideInXcode">SSPostmarkMessage Class Reference</h1>
- </div>
- <ul id="headerButtons" role="toolbar">
- <li id="toc_button">
- <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
- </li>
- <li id="jumpto_button" role="navigation">
- <select id="jumpTo">
- <option value="top">Jump To&#133;</option>
-
- <option value="overview">Overview</option>
-
-
-
-
- <option value="tasks">Tasks</option>
-
-
-
-
-
- <option value="properties">Properties</option>
-
- <option value="//api/name/attachments">&nbsp;&nbsp;&nbsp;&nbsp;attachments</option>
-
- <option value="//api/name/bcc">&nbsp;&nbsp;&nbsp;&nbsp;bcc</option>
-
- <option value="//api/name/cc">&nbsp;&nbsp;&nbsp;&nbsp;cc</option>
-
- <option value="//api/name/fromEmail">&nbsp;&nbsp;&nbsp;&nbsp;fromEmail</option>
-
- <option value="//api/name/headers">&nbsp;&nbsp;&nbsp;&nbsp;headers</option>
-
- <option value="//api/name/htmlBody">&nbsp;&nbsp;&nbsp;&nbsp;htmlBody</option>
-
- <option value="//api/name/replyTo">&nbsp;&nbsp;&nbsp;&nbsp;replyTo</option>
-
- <option value="//api/name/subject">&nbsp;&nbsp;&nbsp;&nbsp;subject</option>
-
- <option value="//api/name/tag">&nbsp;&nbsp;&nbsp;&nbsp;tag</option>
-
- <option value="//api/name/textBody">&nbsp;&nbsp;&nbsp;&nbsp;textBody</option>
-
- <option value="//api/name/to">&nbsp;&nbsp;&nbsp;&nbsp;to</option>
-
-
-
-
-
-
- <option value="instance_methods">Instance Methods</option>
-
- <option value="//api/name/addAttachment:">&nbsp;&nbsp;&nbsp;&nbsp;- addAttachment:</option>
-
- <option value="//api/name/dictionaryRepresentation">&nbsp;&nbsp;&nbsp;&nbsp;- dictionaryRepresentation</option>
-
- <option value="//api/name/isValid">&nbsp;&nbsp;&nbsp;&nbsp;- isValid</option>
-
-
-
-</select>
- </li>
- </ul>
- </header>
- <nav id="tocContainer" class="isShowingTOC">
- <ul id="toc" role="tree">
-
-<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li>
-
-
-
-
-<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
-
-</ul></li>
-
-
-
-
-
-<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul>
-
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/attachments">attachments</a></span></li>
-
- <li><span class="nodisclosur