Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ccgus/fmdb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert M. Ryan <robert.ryan@mindspring.com>2017-06-07 11:30:58 +0300
committerRobert M. Ryan <robert.ryan@mindspring.com>2017-06-07 11:30:58 +0300
commit82e181c397328464c68825bdbe368c5d8d226c58 (patch)
treea82e476ce3f72ed83c23455cc7aaa931c3fccdcc
parent4d5e28a016271352f71270eb6583c5fcf9f9dcdb (diff)
2.7.1
-rw-r--r--html/Blocks/FMDBExecuteStatementsCallbackBlock.html15
-rw-r--r--html/Categories/FMDatabase+FMDatabaseAdditions.html277
-rw-r--r--html/Categories/NSObject+FMDatabasePoolDelegate.html4
-rw-r--r--html/Classes/FMDatabase.html1719
-rw-r--r--html/Classes/FMDatabasePool.html582
-rw-r--r--html/Classes/FMDatabaseQueue.html463
-rw-r--r--html/Classes/FMResultSet.html99
-rw-r--r--html/Classes/FMStatement.html6
-rw-r--r--html/css/scss/_index.scss14
-rw-r--r--html/css/scss/_layout.scss11
-rw-r--r--html/css/scss/_variables.scss1
-rw-r--r--html/css/style.css4
-rw-r--r--html/hierarchy.html2
-rw-r--r--html/index.html2
-rw-r--r--html/js/script.js5
15 files changed, 2707 insertions, 497 deletions
diff --git a/html/Blocks/FMDBExecuteStatementsCallbackBlock.html b/html/Blocks/FMDBExecuteStatementsCallbackBlock.html
index 0ef3d00..e8bec92 100644
--- a/html/Blocks/FMDBExecuteStatementsCallbackBlock.html
+++ b/html/Blocks/FMDBExecuteStatementsCallbackBlock.html
@@ -75,12 +75,25 @@
+
+
+ <a title="Block Definition" name="instance_methods"></a>
+ <h4 class="method-subtitle parameter-title">Block Definition</h4>
+ <h3 class="subsubtitle method-title">FMDBExecuteStatementsCallbackBlock</h3>
+
+
+<code>typedef int (^FMDBExecuteStatementsCallbackBlock) (NSDictionary *resultsDictionary)</code>
+
+
+
+
+
</main>
<footer>
<div class="footer-copyright">
- <p class="copyright">Copyright &copy; 2015 ccgus. All rights reserved. Updated: 2015-11-10</p>
+ <p class="copyright">Copyright &copy; 2017 ccgus. All rights reserved. Updated: 2017-06-07</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
diff --git a/html/Categories/FMDatabase+FMDatabaseAdditions.html b/html/Categories/FMDatabase+FMDatabaseAdditions.html
index 9126210..9605063 100644
--- a/html/Categories/FMDatabase+FMDatabaseAdditions.html
+++ b/html/Categories/FMDatabase+FMDatabaseAdditions.html
@@ -54,16 +54,22 @@
+ <optgroup label="Properties">
+
+ <option value="//api/name/applicationID">applicationID</option>
+
+ <option value="//api/name/applicationIDString">applicationIDString</option>
+
+ <option value="//api/name/userVersion">userVersion</option>
+
+ </optgroup>
+
<optgroup label="Instance Methods">
- <option value="//api/name/applicationID">- applicationID</option>
-
- <option value="//api/name/applicationIDString">- applicationIDString</option>
-
<option value="//api/name/boolForQuery:">- boolForQuery:</option>
<option value="//api/name/columnExists:columnName:">- columnExists:columnName:</option>
@@ -84,18 +90,10 @@
<option value="//api/name/longForQuery:">- longForQuery:</option>
- <option value="//api/name/setApplicationID:">- setApplicationID:</option>
-
- <option value="//api/name/setApplicationIDString:">- setApplicationIDString:</option>
-
- <option value="//api/name/setUserVersion:">- setUserVersion:</option>
-
<option value="//api/name/stringForQuery:">- stringForQuery:</option>
<option value="//api/name/tableExists:">- tableExists:</option>
- <option value="//api/name/userVersion">- userVersion</option>
-
<option value="//api/name/validateSQL:error:">- validateSQL:error:</option>
</optgroup>
@@ -202,7 +200,7 @@
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Return <code>int</code> value for query</p><div class="note"><p><strong>Note:</strong> To use this method from Swift, you must include <code>FMDatabaseAdditionsVariadic.swift</code> in your project.</p></div>
+ <p>Return <code>int</code> value for query</p><div class="note"><p><strong>Note:</strong> This is not available from Swift.</p></div>
</div>
@@ -270,7 +268,7 @@
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Return <code>long</code> value for query</p><div class="note"><p><strong>Note:</strong> To use this method from Swift, you must include <code>FMDatabaseAdditionsVariadic.swift</code> in your project.</p></div>
+ <p>Return <code>long</code> value for query</p><div class="note"><p><strong>Note:</strong> This is not available from Swift.</p></div>
</div>
@@ -338,7 +336,7 @@
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Return <code>BOOL</code> value for query</p><div class="note"><p><strong>Note:</strong> To use this method from Swift, you must include <code>FMDatabaseAdditionsVariadic.swift</code> in your project.</p></div>
+ <p>Return <code>BOOL</code> value for query</p><div class="note"><p><strong>Note:</strong> This is not available from Swift.</p></div>
</div>
@@ -406,7 +404,7 @@
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Return <code>double</code> value for query</p><div class="note"><p><strong>Note:</strong> To use this method from Swift, you must include <code>FMDatabaseAdditionsVariadic.swift</code> in your project.</p></div>
+ <p>Return <code>double</code> value for query</p><div class="note"><p><strong>Note:</strong> This is not available from Swift.</p></div>
</div>
@@ -440,7 +438,7 @@
- <div class="method-subsection method-declaration"><code>- (NSString *)stringForQuery:(NSString *)<em>query</em>, <em>...</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSString *_Nullable)stringForQuery:(NSString *)<em>query</em>, <em>...</em></code></div>
@@ -474,7 +472,7 @@
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Return <code>NSString</code> value for query</p><div class="note"><p><strong>Note:</strong> To use this method from Swift, you must include <code>FMDatabaseAdditionsVariadic.swift</code> in your project.</p></div>
+ <p>Return <code>NSString</code> value for query</p><div class="note"><p><strong>Note:</strong> This is not available from Swift.</p></div>
</div>
@@ -508,7 +506,7 @@
- <div class="method-subsection method-declaration"><code>- (NSData *)dataForQuery:(NSString *)<em>query</em>, <em>...</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSData *_Nullable)dataForQuery:(NSString *)<em>query</em>, <em>...</em></code></div>
@@ -542,7 +540,7 @@
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Return <code>NSData</code> value for query</p><div class="note"><p><strong>Note:</strong> To use this method from Swift, you must include <code>FMDatabaseAdditionsVariadic.swift</code> in your project.</p></div>
+ <p>Return <code>NSData</code> value for query</p><div class="note"><p><strong>Note:</strong> This is not available from Swift.</p></div>
</div>
@@ -576,7 +574,7 @@
- <div class="method-subsection method-declaration"><code>- (NSDate *)dateForQuery:(NSString *)<em>query</em>, <em>...</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSDate *_Nullable)dateForQuery:(NSString *)<em>query</em>, <em>...</em></code></div>
@@ -610,7 +608,7 @@
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Return <code>NSDate</code> value for query</p><div class="note"><p><strong>Note:</strong> To use this method from Swift, you must include <code>FMDatabaseAdditionsVariadic.swift</code> in your project.</p></div>
+ <p>Return <code>NSDate</code> value for query</p><div class="note"><p><strong>Note:</strong> This is not available from Swift.</p></div>
</div>
@@ -1020,7 +1018,7 @@
- <div class="method-subsection method-declaration"><code>- (BOOL)validateSQL:(NSString *)<em>sql</em> error:(NSError **)<em>error</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (BOOL)validateSQL:(NSString *)<em>sql</em> error:(NSError *_Nullable *)<em>error</em></code></div>
@@ -1083,7 +1081,7 @@
<div class="task-list">
<div class="section-method">
<a name="//api/name/applicationID" title="applicationID"></a>
- <h3 class="method-title"><code><a href="#//api/name/applicationID">&ndash;&nbsp;applicationID</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/applicationID">&nbsp;&nbsp;applicationID</a></code>
</h3>
<div class="method-info">
@@ -1098,7 +1096,7 @@
- <div class="method-subsection method-declaration"><code>- (uint32_t)applicationID</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic) uint32_t applicationID</code></div>
@@ -1126,74 +1124,7 @@
<h4 class="method-subtitle">See Also</h4>
<ul>
- <li><code><p><a href="#//api/name/setApplicationID:">- setApplicationID:</a></p></code></li>
-
- </ul>
- </div>
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <p><code class="declared-in-ref">FMDatabaseAdditions.h</code></p>
- </div>
-
-
- </div>
- </div>
-</div><div class="section-method">
- <a name="//api/name/setApplicationID:" title="setApplicationID:"></a>
- <h3 class="method-title"><code><a href="#//api/name/setApplicationID:">&ndash;&nbsp;setApplicationID:</a></code>
-</h3>
-
- <div class="method-info">
- <div class="pointy-thing"></div>
-
- <div class="method-info-container">
-
-
- <div class="method-subsection brief-description">
- <p>Set the application ID</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>- (void)setApplicationID:(uint32_t)<em>appID</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
- <table class="argument-def parameter-def">
-
- <tr>
- <th scope="row" class="argument-name"><code>appID</code></th>
- <td><p>The <code>uint32_t</code> numeric value of the application ID.</p></td>
- </tr>
-
- </table>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Set the application ID</p>
- </div>
-
-
-
-
-
- <div class="method-subsection see-also-section">
- <h4 class="method-subtitle">See Also</h4>
- <ul>
-
- <li><code><p><a href="#//api/name/applicationID">- applicationID</a></p></code></li>
+ <li><code><p><a href="#//api/name/applicationID">@property applicationID</a></p></code></li>
</ul>
</div>
@@ -1210,7 +1141,7 @@
</div>
</div><div class="section-method">
<a name="//api/name/applicationIDString" title="applicationIDString"></a>
- <h3 class="method-title"><code><a href="#//api/name/applicationIDString">&ndash;&nbsp;applicationIDString</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/applicationIDString">&nbsp;&nbsp;applicationIDString</a></code>
</h3>
<div class="method-info">
@@ -1225,17 +1156,12 @@
- <div class="method-subsection method-declaration"><code>- (NSString *)applicationIDString</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, retain) NSString *applicationIDString</code></div>
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>The <code>NSString</code> value of the application ID.</p>
- </div>
-
@@ -1253,74 +1179,7 @@
<h4 class="method-subtitle">See Also</h4>
<ul>
- <li><code><p><a href="#//api/name/setApplicationIDString:">- setApplicationIDString:</a></p></code></li>
-
- </ul>
- </div>
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <p><code class="declared-in-ref">FMDatabaseAdditions.h</code></p>
- </div>
-
-
- </div>
- </div>
-</div><div class="section-method">
- <a name="//api/name/setApplicationIDString:" title="setApplicationIDString:"></a>
- <h3 class="method-title"><code><a href="#//api/name/setApplicationIDString:">&ndash;&nbsp;setApplicationIDString:</a></code>
-</h3>
-
- <div class="method-info">
- <div class="pointy-thing"></div>
-
- <div class="method-info-container">
-
-
- <div class="method-subsection brief-description">
- <p>Set the application ID string</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>- (void)setApplicationIDString:(NSString *)<em>string</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
- <table class="argument-def parameter-def">
-
- <tr>
- <th scope="row" class="argument-name"><code>string</code></th>
- <td><p>The <code>NSString</code> value of the application ID.</p></td>
- </tr>
-
- </table>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Set the application ID string</p>
- </div>
-
-
-
-
-
- <div class="method-subsection see-also-section">
- <h4 class="method-subtitle">See Also</h4>
- <ul>
-
- <li><code><p><a href="#//api/name/applicationIDString">- applicationIDString</a></p></code></li>
+ <li><code><p><a href="#//api/name/applicationIDString">@property applicationIDString</a></p></code></li>
</ul>
</div>
@@ -1345,7 +1204,7 @@
<div class="task-list">
<div class="section-method">
<a name="//api/name/userVersion" title="userVersion"></a>
- <h3 class="method-title"><code><a href="#//api/name/userVersion">&ndash;&nbsp;userVersion</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/userVersion">&nbsp;&nbsp;userVersion</a></code>
</h3>
<div class="method-info">
@@ -1360,17 +1219,12 @@
- <div class="method-subsection method-declaration"><code>- (uint32_t)userVersion</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic) uint32_t userVersion</code></div>
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>The <code>uint32_t</code> numeric value of the user version.</p>
- </div>
-
@@ -1388,74 +1242,7 @@
<h4 class="method-subtitle">See Also</h4>
<ul>
- <li><code><p><a href="#//api/name/setUserVersion:">- setUserVersion:</a></p></code></li>
-
- </ul>
- </div>
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <p><code class="declared-in-ref">FMDatabaseAdditions.h</code></p>
- </div>
-
-
- </div>
- </div>
-</div><div class="section-method">
- <a name="//api/name/setUserVersion:" title="setUserVersion:"></a>
- <h3 class="method-title"><code><a href="#//api/name/setUserVersion:">&ndash;&nbsp;setUserVersion:</a></code>
-</h3>
-
- <div class="method-info">
- <div class="pointy-thing"></div>
-
- <div class="method-info-container">
-
-
- <div class="method-subsection brief-description">
- <p>Set the user-version</p>
- </div>
-
-
-
- <div class="method-subsection method-declaration"><code>- (void)setUserVersion:(uint32_t)<em>version</em></code></div>
-
-
-
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
- <table class="argument-def parameter-def">
-
- <tr>
- <th scope="row" class="argument-name"><code>version</code></th>
- <td><p>The <code>uint32_t</code> numeric value of the user version.</p></td>
- </tr>
-
- </table>
- </div>
-
-
-
-
-
-
-
- <div class="method-subsection discussion-section">
- <h4 class="method-subtitle">Discussion</h4>
- <p>Set the user-version</p>
- </div>
-
-
-
-
-
- <div class="method-subsection see-also-section">
- <h4 class="method-subtitle">See Also</h4>
- <ul>
-
- <li><code><p><a href="#//api/name/userVersion">- userVersion</a></p></code></li>
+ <li><code><p><a href="#//api/name/userVersion">@property userVersion</a></p></code></li>
</ul>
</div>
@@ -1478,12 +1265,14 @@
+
+
</main>
<footer>
<div class="footer-copyright">
- <p class="copyright">Copyright &copy; 2015 ccgus. All rights reserved. Updated: 2015-11-10</p>
+ <p class="copyright">Copyright &copy; 2017 ccgus. All rights reserved. Updated: 2017-06-07</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
diff --git a/html/Categories/NSObject+FMDatabasePoolDelegate.html b/html/Categories/NSObject+FMDatabasePoolDelegate.html
index c79bf0c..b6184c4 100644
--- a/html/Categories/NSObject+FMDatabasePoolDelegate.html
+++ b/html/Categories/NSObject+FMDatabasePoolDelegate.html
@@ -251,12 +251,14 @@
+
+
</main>
<footer>
<div class="footer-copyright">
- <p class="copyright">Copyright &copy; 2015 ccgus. All rights reserved. Updated: 2015-11-10</p>
+ <p class="copyright">Copyright &copy; 2017 ccgus. All rights reserved. Updated: 2017-06-07</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
diff --git a/html/Classes/FMDatabase.html b/html/Classes/FMDatabase.html
index 9638231..0d4324c 100644
--- a/html/Classes/FMDatabase.html
+++ b/html/Classes/FMDatabase.html
@@ -58,12 +58,30 @@
<option value="//api/name/cachedStatements">cachedStatements</option>
+ <option value="//api/name/changes">changes</option>
+
<option value="//api/name/checkedOut">checkedOut</option>
<option value="//api/name/crashOnErrors">crashOnErrors</option>
+ <option value="//api/name/databasePath">databasePath</option>
+
+ <option value="//api/name/databaseURL">databaseURL</option>
+
+ <option value="//api/name/goodConnection">goodConnection</option>
+
+ <option value="//api/name/hasOpenResultSets">hasOpenResultSets</option>
+
+ <option value="//api/name/isInTransaction">isInTransaction</option>
+
+ <option value="//api/name/lastInsertRowId">lastInsertRowId</option>
+
<option value="//api/name/logsErrors">logsErrors</option>
+ <option value="//api/name/shouldCacheStatements">shouldCacheStatements</option>
+
+ <option value="//api/name/sqliteHandle">sqliteHandle</option>
+
<option value="//api/name/traceExecution">traceExecution</option>
</optgroup>
@@ -74,6 +92,8 @@
<option value="//api/name/databaseWithPath:">+ databaseWithPath:</option>
+ <option value="//api/name/databaseWithURL:">+ databaseWithURL:</option>
+
<option value="//api/name/isSQLiteThreadSafe">+ isSQLiteThreadSafe</option>
<option value="//api/name/sqliteLibVersion">+ sqliteLibVersion</option>
@@ -90,8 +110,6 @@
<option value="//api/name/beginTransaction">- beginTransaction</option>
- <option value="//api/name/changes">- changes</option>
-
<option value="//api/name/clearCachedStatements">- clearCachedStatements</option>
<option value="//api/name/close">- close</option>
@@ -100,8 +118,6 @@
<option value="//api/name/commit">- commit</option>
- <option value="//api/name/databasePath">- databasePath</option>
-
<option value="//api/name/dateFromString:">- dateFromString:</option>
<option value="//api/name/executeQuery:">- executeQuery:</option>
@@ -132,40 +148,60 @@
<option value="//api/name/executeUpdateWithFormat:">- executeUpdateWithFormat:</option>
- <option value="//api/name/goodConnection">- goodConnection</option>
-
<option value="//api/name/hadError">- hadError</option>
<option value="//api/name/hasDateFormatter">- hasDateFormatter</option>
- <option value="//api/name/hasOpenResultSets">- hasOpenResultSets</option>
-
<option value="//api/name/inSavePoint:">- inSavePoint:</option>
- <option value="//api/name/inTransaction">- inTransaction</option>
-
<option value="//api/name/initWithPath:">- initWithPath:</option>
+ <option value="//api/name/initWithURL:">- initWithURL:</option>
+
+ <option value="//api/name/interrupt">- interrupt</option>
+
<option value="//api/name/lastError">- lastError</option>
<option value="//api/name/lastErrorCode">- lastErrorCode</option>
<option value="//api/name/lastErrorMessage">- lastErrorMessage</option>
- <option value="//api/name/lastInsertRowId">- lastInsertRowId</option>
+ <option value="//api/name/lastExtendedErrorCode">- lastExtendedErrorCode</option>
- <option value="//api/name/makeFunctionNamed:maximumArguments:withBlock:">- makeFunctionNamed:maximumArguments:withBlock:</option>
+ <option value="//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</option>
<option value="//api/name/open">- open</option>
<option value="//api/name/openWithFlags:">- openWithFlags:</option>
+ <option value="//api/name/openWithFlags:vfs:">- openWithFlags:vfs:</option>
+
<option value="//api/name/rekey:">- rekey:</option>
<option value="//api/name/rekeyWithData:">- rekeyWithData:</option>
<option value="//api/name/releaseSavePointWithName:error:">- releaseSavePointWithName:error:</option>
+ <option value="//api/name/resultData:context:">- resultData:context:</option>
+
+ <option value="//api/name/resultDouble:context:">- resultDouble:context:</option>
+
+ <option value="//api/name/resultError:context:">- resultError:context:</option>
+
+ <option value="//api/name/resultErrorCode:context:">- resultErrorCode:context:</option>
+
+ <option value="//api/name/resultErrorNoMemoryInContext:">- resultErrorNoMemoryInContext:</option>
+
+ <option value="//api/name/resultErrorTooBigInContext:">- resultErrorTooBigInContext:</option>
+
+ <option value="//api/name/resultInt:context:">- resultInt:context:</option>
+
+ <option value="//api/name/resultLong:context:">- resultLong:context:</option>
+
+ <option value="//api/name/resultNullInContext:">- resultNullInContext:</option>
+
+ <option value="//api/name/resultString:context:">- resultString:context:</option>
+
<option value="//api/name/rollback">- rollback</option>
<option value="//api/name/rollbackToSavePointWithName:error:">- rollbackToSavePointWithName:error:</option>
@@ -176,18 +212,22 @@
<option value="//api/name/setKeyWithData:">- setKeyWithData:</option>
- <option value="//api/name/setShouldCacheStatements:">- setShouldCacheStatements:</option>
-
- <option value="//api/name/shouldCacheStatements">- shouldCacheStatements</option>
-
- <option value="//api/name/sqliteHandle">- sqliteHandle</option>
-
<option value="//api/name/startSavePointWithName:error:">- startSavePointWithName:error:</option>
<option value="//api/name/stringFromDate:">- stringFromDate:</option>
<option value="//api/name/update:withErrorAndBindings:">- update:withErrorAndBindings:</option>
+ <option value="//api/name/valueData:">- valueData:</option>
+
+ <option value="//api/name/valueDouble:">- valueDouble:</option>
+
+ <option value="//api/name/valueInt:">- valueInt:</option>
+
+ <option value="//api/name/valueLong:">- valueLong:</option>
+
+ <option value="//api/name/valueString:">- valueString:</option>
+
</optgroup>
@@ -467,7 +507,7 @@
- <div class="method-subsection method-declaration"><code>@property (atomic, retain) NSMutableDictionary *cachedStatements</code></div>
+ <div class="method-subsection method-declaration"><code>@property (atomic, retain, nullable) NSMutableDictionary *cachedStatements</code></div>
@@ -521,7 +561,7 @@
- <div class="method-subsection method-declaration"><code>+ (instancetype)databaseWithPath:(NSString *)<em>inPath</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (instancetype)databaseWithPath:(NSString *_Nullable)<em>inPath</em></code></div>
@@ -591,6 +631,91 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
</div>
</div>
</div><div class="section-method">
+ <a name="//api/name/databaseWithURL:" title="databaseWithURL:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/databaseWithURL:">+&nbsp;databaseWithURL:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Create a <code>FMDatabase</code> object.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>+ (instancetype)databaseWithURL:(NSURL *_Nullable)<em>url</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>url</code></th>
+ <td><p>The local file URL (not remote URL) of database file</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p><code>FMDatabase</code> object if successful; <code>nil</code> if failure.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Create a <code>FMDatabase</code> object.</p>
+
+<p>An <code>FMDatabase</code> is created with a path to a SQLite database file. This path can be one of these three:</p>
+
+<ol>
+<li>A file system URL. The file does not have to exist on disk. If it does not exist, it is created for you.</li>
+<li><code>nil</code>. An in-memory database is created. This database will be destroyed with the <code>FMDatabase</code> connection is closed.</li>
+</ol>
+
+
+<p>For example, to create/open a database in your Mac OS X <code>tmp</code> folder:</p>
+
+<pre><code>FMDatabase *db = [FMDatabase databaseWithPath:@"/tmp/tmp.db"];
+</code></pre>
+
+<p>Or, in iOS, you might open a database in the app&rsquo;s <code>Documents</code> directory:</p>
+
+<pre><code>NSString *docsPath = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)[0];
+NSString *dbPath = [docsPath stringByAppendingPathComponent:@"test.db"];
+FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
+</code></pre>
+
+<p>(For more information on temporary and in-memory databases, read the sqlite documentation on the subject: <a href="http://www.sqlite.org/inmemorydb.html">http://www.sqlite.org/inmemorydb.html</a>)</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
<a name="//api/name/initWithPath:" title="initWithPath:"></a>
<h3 class="method-title"><code><a href="#//api/name/initWithPath:">&ndash;&nbsp;initWithPath:</a></code>
</h3>
@@ -607,7 +732,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *)<em>inPath</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *_Nullable)<em>path</em></code></div>
@@ -616,8 +741,8 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<table class="argument-def parameter-def">
<tr>
- <th scope="row" class="argument-name"><code>inPath</code></th>
- <td><p>Path of database file</p></td>
+ <th scope="row" class="argument-name"><code>path</code></th>
+ <td><p>Path of database file.</p></td>
</tr>
</table>
@@ -676,6 +801,89 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
</div>
</div>
+</div><div class="section-method">
+ <a name="//api/name/initWithURL:" title="initWithURL:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/initWithURL:">&ndash;&nbsp;initWithURL:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Initialize a <code>FMDatabase</code> object.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithURL:(NSURL *_Nullable)<em>url</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>url</code></th>
+ <td><p>The file <code>NSURL</code> of database file.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p><code>FMDatabase</code> object if successful; <code>nil</code> if failure.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Initialize a <code>FMDatabase</code> object.</p>
+
+<p>An <code>FMDatabase</code> is created with a local file URL to a SQLite database file. This path can be one of these three:</p>
+
+<ol>
+<li>A file system URL. The file does not have to exist on disk. If it does not exist, it is created for you.</li>
+<li><code>nil</code>. An in-memory database is created. This database will be destroyed with the <code>FMDatabase</code> connection is closed.</li>
+</ol>
+
+
+<p>For example, to create/open a database in your Mac OS X <code>tmp</code> folder:</p>
+
+<p>FMDatabase *db = [FMDatabase databaseWithPath:@&ldquo;/tmp/tmp.db&rdquo;];</p>
+
+<p>Or, in iOS, you might open a database in the app&rsquo;s <code>Documents</code> directory:</p>
+
+<p>NSString <em>docsPath = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)[0];
+NSString </em>dbPath = [docsPath stringByAppendingPathComponent:@&ldquo;test.db&rdquo;];
+FMDatabase *db = [FMDatabase databaseWithPath:dbPath];</p>
+
+<p>(For more information on temporary and in-memory databases, read the sqlite documentation on the subject: <a href="http://www.sqlite.org/inmemorydb.html">http://www.sqlite.org/inmemorydb.html</a>)</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
</div>
</div>
@@ -789,9 +997,100 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<p><code>SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE</code></p>
-<p>The database is opened for reading and writing, and is created if it does not already exist. This is the behavior that is always used for <code>open</code> method.</p>
+<p>The database is opened for reading and writing, and is created if it does not already exist. This is the behavior that is always used for <code>open</code> method.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p><code>YES</code> if successful, <code>NO</code> on error.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Opening a new database connection with flags and an optional virtual file system (VFS)</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="http://sqlite.org/c3ref/open.html">sqlite3_open_v2()</a></p></code></li>
+
+ <li><code><p><a href="#//api/name/open">- open</a></p></code></li>
+
+ <li><code><p><a href="#//api/name/close">- close</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/openWithFlags:vfs:" title="openWithFlags:vfs:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/openWithFlags:vfs:">&ndash;&nbsp;openWithFlags:vfs:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Opening a new database connection with flags and an optional virtual file system (VFS)</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (BOOL)openWithFlags:(int)<em>flags</em> vfs:(NSString *_Nullable)<em>vfsName</em></code></div>
-<p>If vfs is given the value is passed to the vfs parameter of sqlite3_open_v2.</p></td>
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>flags</code></th>
+ <td><p>one of the following three values, optionally combined with the <code>SQLITE_OPEN_NOMUTEX</code>, <code>SQLITE_OPEN_FULLMUTEX</code>, <code>SQLITE_OPEN_SHAREDCACHE</code>, <code>SQLITE_OPEN_PRIVATECACHE</code>, and/or <code>SQLITE_OPEN_URI</code> flags:</p>
+
+<p><code>SQLITE_OPEN_READONLY</code></p>
+
+<p>The database is opened in read-only mode. If the database does not already exist, an error is returned.</p>
+
+<p><code>SQLITE_OPEN_READWRITE</code></p>
+
+<p>The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned.</p>
+
+<p><code>SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE</code></p>
+
+<p>The database is opened for reading and writing, and is created if it does not already exist. This is the behavior that is always used for <code>open</code> method.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>vfsName</code></th>
+ <td><p>If vfs is given the value is passed to the vfs parameter of sqlite3_open_v2.</p></td>
</tr>
</table>
@@ -906,7 +1205,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
</div>
</div><div class="section-method">
<a name="//api/name/goodConnection" title="goodConnection"></a>
- <h3 class="method-title"><code><a href="#//api/name/goodConnection">&ndash;&nbsp;goodConnection</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/goodConnection">&nbsp;&nbsp;goodConnection</a></code>
</h3>
<div class="method-info">
@@ -921,7 +1220,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (BOOL)goodConnection</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) BOOL goodConnection</code></div>
@@ -988,7 +1287,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (BOOL)executeUpdate:(NSString *)<em>sql</em> withErrorAndBindings:(NSError **)<em>outErr</em>, <em>...</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (BOOL)executeUpdate:(NSString *)<em>sql</em> withErrorAndBindings:(NSError *_Nullable *)<em>outErr</em>, <em>...</em></code></div>
@@ -1080,7 +1379,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (BOOL)update:(NSString *)<em>sql</em> withErrorAndBindings:(NSError **)<em>outErr</em>, <em>...</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (BOOL)update:(NSString *)<em>sql</em> withErrorAndBindings:(NSError *_Nullable *)<em>outErr</em>, <em>...</em></code></div>
@@ -1173,7 +1472,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<p>This method executes a single SQL update statement (i.e. any SQL that does not return results, such as <code>UPDATE</code>, <code>INSERT</code>, or <code>DELETE</code>. This method employs <a href="http://sqlite.org/c3ref/prepare.html"><code>sqlite3_prepare_v2</code></a>, <a href="http://sqlite.org/c3ref/bind_blob.html"><code>sqlite3_bind</code></a> to bind values to <code>?</code> placeholders in the SQL with the optional list of parameters, and <a href="http://sqlite.org/c3ref/step.html"><code>sqlite_step</code></a> to perform the update.</p>
-<p>The optional values provided to this method should be objects (e.g. <code>NSString</code>, <code>NSNumber</code>, <code>NSNull</code>, <code>NSDate</code>, and <code>NSData</code> objects), not fundamental data types (e.g. <code>int</code>, <code>long</code>, <code>NSInteger</code>, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object&rsquo;s <code>description</code> method.</p><div class="note"><p><strong>Note:</strong> This technique supports the use of <code>?</code> placeholders in the SQL, automatically binding any supplied value parameters to those placeholders. This approach is more robust than techniques that entail using <code>stringWithFormat</code> to manually build SQL statements, which can be problematic if the values happened to include any characters that needed to be quoted.</p></div><div class="note"><p><strong>Note:</strong> If you want to use this from Swift, please note that you must include <code>FMDatabaseVariadic.swift</code> in your project. Without that, you cannot use this method directly, and instead have to use methods such as <a href="#//api/name/executeUpdate:withArgumentsInArray:"><code>executeUpdate:withArgumentsInArray:</code></a>.</p></div>
+<p>The optional values provided to this method should be objects (e.g. <code>NSString</code>, <code>NSNumber</code>, <code>NSNull</code>, <code>NSDate</code>, and <code>NSData</code> objects), not fundamental data types (e.g. <code>int</code>, <code>long</code>, <code>NSInteger</code>, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object&rsquo;s <code>description</code> method.</p><div class="note"><p><strong>Note:</strong> This technique supports the use of <code>?</code> placeholders in the SQL, automatically binding any supplied value parameters to those placeholders. This approach is more robust than techniques that entail using <code>stringWithFormat</code> to manually build SQL statements, which can be problematic if the values happened to include any characters that needed to be quoted.</p></div><div class="note"><p><strong>Note:</strong> You cannot use this method from Swift due to incompatibilities between Swift and Objective-C variadic implementations. Consider using <code>&lt;executeUpdate:values:&gt;</code> instead.</p></div>
</div>
@@ -1404,7 +1703,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (BOOL)executeUpdate:(NSString *)<em>sql</em> values:(NSArray *)<em>values</em> error:(NSError *__autoreleasing *)<em>error</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (BOOL)executeUpdate:(NSString *)<em>sql</em> values:(NSArray *_Nullable)<em>values</em> error:(NSError *_Nullable __autoreleasing *)<em>error</em></code></div>
@@ -1451,9 +1750,9 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<p>This is similar to <a href="#//api/name/executeUpdate:withArgumentsInArray:"><code>executeUpdate:withArgumentsInArray:</code></a>, except that this also accepts a pointer to a <code>NSError</code> pointer, so that errors can be returned.</p>
-<p>In Swift 2, this throws errors, as if it were defined as follows:</p>
+<p>In Swift, this throws errors, as if it were defined as follows:</p>
-<p><code>func executeUpdate(sql: String!, values: [AnyObject]!) throws -&gt; Bool</code></p>
+<p><code>func executeUpdate(sql: String, values: [Any]?) throws -&gt; Bool</code></p>
</div>
@@ -1746,7 +2045,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (BOOL)executeStatements:(NSString *)<em>sql</em> withResultBlock:(FMDBExecuteStatementsCallbackBlock)<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (BOOL)executeStatements:(NSString *)<em>sql</em> withResultBlock:(FMDBExecuteStatementsCallbackBlock _Nullable)<em>block</em></code></div>
@@ -1816,7 +2115,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
</div>
</div><div class="section-method">
<a name="//api/name/lastInsertRowId" title="lastInsertRowId"></a>
- <h3 class="method-title"><code><a href="#//api/name/lastInsertRowId">&ndash;&nbsp;lastInsertRowId</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/lastInsertRowId">&nbsp;&nbsp;lastInsertRowId</a></code>
</h3>
<div class="method-info">
@@ -1831,7 +2130,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (sqlite_int64)lastInsertRowId</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) int64_t lastInsertRowId</code></div>
@@ -1880,7 +2179,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
</div>
</div><div class="section-method">
<a name="//api/name/changes" title="changes"></a>
- <h3 class="method-title"><code><a href="#//api/name/changes">&ndash;&nbsp;changes</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/changes">&nbsp;&nbsp;changes</a></code>
</h3>
<div class="method-info">
@@ -1895,7 +2194,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (int)changes</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) int changes</code></div>
@@ -1965,7 +2264,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (FMResultSet *)executeQuery:(NSString *)<em>sql</em>, <em>...</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (FMResultSet *_Nullable)executeQuery:(NSString *)<em>sql</em>, <em>...</em></code></div>
@@ -2005,7 +2304,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<p>In order to iterate through the results of your query, you use a <code>while()</code> loop. You also need to &ldquo;step&rdquo; (via <a href="../Classes/FMResultSet.html#//api/name/next"><code>[FMResultSet next]</code></a>) from one record to the other.</p>
-<p>This method employs <a href="http://sqlite.org/c3ref/bind_blob.html"><code>sqlite3_bind</code></a> for any optional value parameters. This properly escapes any characters that need escape sequences (e.g. quotation marks), which eliminates simple SQL errors as well as protects against SQL injection attacks. This method natively handles <code>NSString</code>, <code>NSNumber</code>, <code>NSNull</code>, <code>NSDate</code>, and <code>NSData</code> objects. All other object types will be interpreted as text values using the object&rsquo;s <code>description</code> method.</p><div class="note"><p><strong>Note:</strong> If you want to use this from Swift, please note that you must include <code>FMDatabaseVariadic.swift</code> in your project. Without that, you cannot use this method directly, and instead have to use methods such as <a href="#//api/name/executeQuery:withArgumentsInArray:"><code>executeQuery:withArgumentsInArray:</code></a>.</p></div>
+<p>This method employs <a href="http://sqlite.org/c3ref/bind_blob.html"><code>sqlite3_bind</code></a> for any optional value parameters. This properly escapes any characters that need escape sequences (e.g. quotation marks), which eliminates simple SQL errors as well as protects against SQL injection attacks. This method natively handles <code>NSString</code>, <code>NSNumber</code>, <code>NSNull</code>, <code>NSDate</code>, and <code>NSData</code> objects. All other object types will be interpreted as text values using the object&rsquo;s <code>description</code> method.</p><div class="note"><p><strong>Note:</strong> You cannot use this method from Swift due to incompatibilities between Swift and Objective-C variadic implementations. Consider using <code>&lt;executeQuery:values:&gt;</code> instead.</p></div>
</div>
@@ -2052,7 +2351,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (FMResultSet *)executeQueryWithFormat:(NSString *)<em>format</em>, <em>...</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (FMResultSet *_Nullable)executeQueryWithFormat:(NSString *)<em>format</em>, <em>...</em></code></div>
@@ -2147,7 +2446,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (FMResultSet *)executeQuery:(NSString *)<em>sql</em> withArgumentsInArray:(NSArray *)<em>arguments</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (FMResultSet *_Nullable)executeQuery:(NSString *)<em>sql</em> withArgumentsInArray:(NSArray *)<em>arguments</em></code></div>
@@ -2232,7 +2531,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (FMResultSet *)executeQuery:(NSString *)<em>sql</em> values:(NSArray *)<em>values</em> error:(NSError *__autoreleasing *)<em>error</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (FMResultSet *_Nullable)executeQuery:(NSString *)<em>sql</em> values:(NSArray *_Nullable)<em>values</em> error:(NSError *_Nullable __autoreleasing *)<em>error</em></code></div>
@@ -2279,9 +2578,9 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<p>This is similar to <a href="#//api/name/executeQuery:withArgumentsInArray:"><code>executeQuery:withArgumentsInArray:</code></a>, except that this also accepts a pointer to a <code>NSError</code> pointer, so that errors can be returned.</p>
-<p>In Swift 2, this throws errors, as if it were defined as follows:</p>
+<p>In Swift, this throws errors, as if it were defined as follows:</p>
-<p><code>func executeQuery(sql: String!, values: [AnyObject]!) throws -&gt; FMResultSet!</code></p><div class="note"><p><strong>Note:</strong> When called from Swift, only use the first two parameters, <code>sql</code> and <code>values</code>. This but throws the error.</p></div>
+<p><code>func executeQuery(sql: String, values: [Any]?) throws -&gt; FMResultSet!</code></p><div class="note"><p><strong>Note:</strong> When called from Swift, only use the first two parameters, <code>sql</code> and <code>values</code>. This but throws the error.</p></div>
</div>
@@ -2326,7 +2625,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (FMResultSet *)executeQuery:(NSString *)<em>sql</em> withParameterDictionary:(NSDictionary *)<em>arguments</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (FMResultSet *_Nullable)executeQuery:(NSString *)<em>sql</em> withParameterDictionary:(NSDictionary *_Nullable)<em>arguments</em></code></div>
@@ -2451,7 +2750,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<li><code><p><a href="#//api/name/beginDeferredTransaction">- beginDeferredTransaction</a></p></code></li>
- <li><code><p><a href="#//api/name/inTransaction">- inTransaction</a></p></code></li>
+ <li><code><p><a href="#//api/name/isInTransaction">@property isInTransaction</a></p></code></li>
</ul>
</div>
@@ -2517,7 +2816,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<li><code><p><a href="#//api/name/beginTransaction">- beginTransaction</a></p></code></li>
- <li><code><p><a href="#//api/name/inTransaction">- inTransaction</a></p></code></li>
+ <li><code><p><a href="#//api/name/isInTransaction">@property isInTransaction</a></p></code></li>
</ul>
</div>
@@ -2585,7 +2884,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<li><code><p><a href="#//api/name/rollback">- rollback</a></p></code></li>
- <li><code><p><a href="#//api/name/inTransaction">- inTransaction</a></p></code></li>
+ <li><code><p><a href="#//api/name/isInTransaction">@property isInTransaction</a></p></code></li>
</ul>
</div>
@@ -2653,7 +2952,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<li><code><p><a href="#//api/name/commit">- commit</a></p></code></li>
- <li><code><p><a href="#//api/name/inTransaction">- inTransaction</a></p></code></li>
+ <li><code><p><a href="#//api/name/isInTransaction">@property isInTransaction</a></p></code></li>
</ul>
</div>
@@ -2669,8 +2968,8 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
</div>
</div>
</div><div class="section-method">
- <a name="//api/name/inTransaction" title="inTransaction"></a>
- <h3 class="method-title"><code><a href="#//api/name/inTransaction">&ndash;&nbsp;inTransaction</a></code>
+ <a name="//api/name/isInTransaction" title="isInTransaction"></a>
+ <h3 class="method-title"><code><a href="#//api/name/isInTransaction">&nbsp;&nbsp;isInTransaction</a></code>
</h3>
<div class="method-info">
@@ -2685,17 +2984,12 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (BOOL)inTransaction</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) BOOL isInTransaction</code></div>
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>YES</code> if currently within transaction; <code>NO</code> if not.</p>
- </div>
-
@@ -2836,7 +3130,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
</div>
</div><div class="section-method">
<a name="//api/name/hasOpenResultSets" title="hasOpenResultSets"></a>
- <h3 class="method-title"><code><a href="#//api/name/hasOpenResultSets">&ndash;&nbsp;hasOpenResultSets</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/hasOpenResultSets">&nbsp;&nbsp;hasOpenResultSets</a></code>
</h3>
<div class="method-info">
@@ -2851,7 +3145,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (BOOL)hasOpenResultSets</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) BOOL hasOpenResultSets</code></div>
@@ -2887,7 +3181,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
</div>
</div><div class="section-method">
<a name="//api/name/shouldCacheStatements" title="shouldCacheStatements"></a>
- <h3 class="method-title"><code><a href="#//api/name/shouldCacheStatements">&ndash;&nbsp;shouldCacheStatements</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/shouldCacheStatements">&nbsp;&nbsp;shouldCacheStatements</a></code>
</h3>
<div class="method-info">
@@ -2897,29 +3191,24 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<div class="method-subsection brief-description">
- <p>Return whether should cache statements or not</p>
+ <p>Whether should cache statements or not</p>
</div>
- <div class="method-subsection method-declaration"><code>- (BOOL)shouldCacheStatements</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic) BOOL shouldCacheStatements</code></div>
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>YES</code> if should cache statements; <code>NO</code> if not.</p>
- </div>
-
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Return whether should cache statements or not</p>
+ <p>Whether should cache statements or not</p>
</div>
@@ -2937,8 +3226,8 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
</div>
</div>
</div><div class="section-method">
- <a name="//api/name/setShouldCacheStatements:" title="setShouldCacheStatements:"></a>
- <h3 class="method-title"><code><a href="#//api/name/setShouldCacheStatements:">&ndash;&nbsp;setShouldCacheStatements:</a></code>
+ <a name="//api/name/interrupt" title="interrupt"></a>
+ <h3 class="method-title"><code><a href="#//api/name/interrupt">&ndash;&nbsp;interrupt</a></code>
</h3>
<div class="method-info">
@@ -2948,36 +3237,31 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<div class="method-subsection brief-description">
- <p>Set whether should cache statements or not</p>
+ <p>Interupt pending database operation</p>
</div>
- <div class="method-subsection method-declaration"><code>- (void)setShouldCacheStatements:(BOOL)<em>value</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (BOOL)interrupt</code></div>
- <div class="method-subsection arguments-section parameters">
- <h4 class="method-subtitle parameter-title">Parameters</h4>
- <table class="argument-def parameter-def">
-
- <tr>
- <th scope="row" class="argument-name"><code>value</code></th>
- <td><p><code>YES</code> if should cache statements; <code>NO</code> if not.</p></td>
- </tr>
-
- </table>
- </div>
-
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p><code>YES</code> on success; <code>NO</code> on failure. If failed, you can call <a href="#//api/name/lastError"><code>lastError</code></a>, <a href="#//api/name/lastErrorCode"><code>lastErrorCode</code></a>, or <a href="#//api/name/lastErrorMessage"><code>lastErrorMessage</code></a> for diagnostic information regarding the failure.</p>
+ </div>
+
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Set whether should cache statements or not</p>
+ <p>Interupt pending database operation</p>
+
+<p>This method causes any pending database operation to abort and return at its earliest opportunity</p>
</div>
@@ -3300,7 +3584,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<div class="task-list">
<div class="section-method">
<a name="//api/name/databasePath" title="databasePath"></a>
- <h3 class="method-title"><code><a href="#//api/name/databasePath">&ndash;&nbsp;databasePath</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/databasePath">&nbsp;&nbsp;databasePath</a></code>
</h3>
<div class="method-info">
@@ -3315,24 +3599,65 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (NSString *)databasePath</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly, nullable) NSString *databasePath</code></div>
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>path of database.</p>
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>The path of the database file</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
</div>
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/databaseURL" title="databaseURL"></a>
+ <h3 class="method-title"><code><a href="#//api/name/databaseURL">&nbsp;&nbsp;databaseURL</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>The file URL of the database file.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly, nullable) NSURL *databaseURL</code></div>
+
+
+
+
+
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>The path of the database file</p>
+ <p>The file URL of the database file.</p>
</div>
@@ -3351,7 +3676,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
</div>
</div><div class="section-method">
<a name="//api/name/sqliteHandle" title="sqliteHandle"></a>
- <h3 class="method-title"><code><a href="#//api/name/sqliteHandle">&ndash;&nbsp;sqliteHandle</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/sqliteHandle">&nbsp;&nbsp;sqliteHandle</a></code>
</h3>
<div class="method-info">
@@ -3366,7 +3691,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (sqlite3 *)sqliteHandle</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) void *sqliteHandle</code></div>
@@ -3541,6 +3866,76 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
</div>
</div>
</div><div class="section-method">
+ <a name="//api/name/lastExtendedErrorCode" title="lastExtendedErrorCode"></a>
+ <h3 class="method-title"><code><a href="#//api/name/lastExtendedErrorCode">&ndash;&nbsp;lastExtendedErrorCode</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Last extended error code</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (int)lastExtendedErrorCode</code></div>
+
+
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>Integer value of the last extended error code.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Last extended error code</p>
+
+<p>Returns the numeric extended result code for the most recent failed SQLite API call associated with a database connection. If a prior API call failed but the most recent API call succeeded, this return value is undefined.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="http://sqlite.org/c3ref/errcode.html">sqlite3_errcode()</a></p></code></li>
+
+ <li><code><p><a href="http://sqlite.org/rescode.html#primary_result_codes_versus_extended_result_codes">2. Primary Result Codes versus Extended Result Codes</a></p></code></li>
+
+ <li><code><p><a href="http://sqlite.org/rescode.html#extrc">5. Extended Result Code List</a></p></code></li>
+
+ <li><code><p><a href="#//api/name/lastErrorMessage">- lastErrorMessage</a></p></code></li>
+
+ <li><code><p><a href="#//api/name/lastError">- lastError</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
<a name="//api/name/hadError" title="hadError"></a>
<h3 class="method-title"><code><a href="#//api/name/hadError">&ndash;&nbsp;hadError</a></code>
</h3>
@@ -3691,7 +4086,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (BOOL)startSavePointWithName:(NSString *)<em>name</em> error:(NSError **)<em>outErr</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (BOOL)startSavePointWithName:(NSString *)<em>name</em> error:(NSError *_Nullable *)<em>outErr</em></code></div>
@@ -3770,7 +4165,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (BOOL)releaseSavePointWithName:(NSString *)<em>name</em> error:(NSError **)<em>outErr</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (BOOL)releaseSavePointWithName:(NSString *)<em>name</em> error:(NSError *_Nullable *)<em>outErr</em></code></div>
@@ -3849,7 +4244,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (BOOL)rollbackToSavePointWithName:(NSString *)<em>name</em> error:(NSError **)<em>outErr</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (BOOL)rollbackToSavePointWithName:(NSString *)<em>name</em> error:(NSError *_Nullable *)<em>outErr</em></code></div>
@@ -3928,7 +4323,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (NSError *)inSavePoint:(void ( ^ ) ( BOOL *rollback ))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSError *_Nullable)inSavePoint:(void ( ^ ) ( BOOL *rollback ))<em>block</em></code></div>
@@ -4124,8 +4519,8 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<div class="task-list">
<div class="section-method">
- <a name="//api/name/makeFunctionNamed:maximumArguments:withBlock:" title="makeFunctionNamed:maximumArguments:withBlock:"></a>
- <h3 class="method-title"><code><a href="#//api/name/makeFunctionNamed:maximumArguments:withBlock:">&ndash;&nbsp;makeFunctionNamed:maximumArguments:withBlock:</a></code>
+ <a name="//api/name/makeFunctionNamed:arguments:block:" title="makeFunctionNamed:arguments:block:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/makeFunctionNamed:arguments:block:">&ndash;&nbsp;makeFunctionNamed:arguments:block:</a></code>
</h3>
<div class="method-info">
@@ -4140,7 +4535,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (void)makeFunctionNamed:(NSString *)<em>name</em> maximumArguments:(int)<em>count</em> withBlock:(void ( ^ ) ( sqlite3_context *context , int argc , sqlite3_value **argv ))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (void)makeFunctionNamed:(NSString *)<em>name</em> arguments:(int)<em>arguments</em> block:(void ( ^ ) ( void *context , int argc , void *_Nonnull *_Nonnull argv ))<em>block</em></code></div>
@@ -4150,17 +4545,17 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<tr>
<th scope="row" class="argument-name"><code>name</code></th>
- <td><p>Name of function</p></td>
+ <td><p>Name of function.</p></td>
</tr>
<tr>
- <th scope="row" class="argument-name"><code>count</code></th>
- <td><p>Maximum number of parameters</p></td>
+ <th scope="row" class="argument-name"><code>arguments</code></th>
+ <td><p>Maximum number of parameters.</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>block</code></th>
- <td><p>The block of code for the function</p></td>
+ <td><p>The block of code for the function.</p></td>
</tr>
</table>
@@ -4178,36 +4573,23 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
<p>For example:</p>
-<pre><code>[queue inDatabase:^(FMDatabase *adb) {
-
- [adb executeUpdate:@"create table ftest (foo text)"];
- [adb executeUpdate:@"insert into ftest values ('hello')"];
- [adb executeUpdate:@"insert into ftest values ('hi')"];
- [adb executeUpdate:@"insert into ftest values ('not h!')"];
- [adb executeUpdate:@"insert into ftest values ('definitely not h!')"];
-
- [adb makeFunctionNamed:@"StringStartsWithH" maximumArguments:1 withBlock:^(sqlite3_context *context, int aargc, sqlite3_value **aargv) {
- if (sqlite3_value_type(aargv[0]) == SQLITE_TEXT) {
- @autoreleasepool {
- const char *c = (const char *)sqlite3_value_text(aargv[0]);
- NSString *s = [NSString stringWithUTF8String:c];
- sqlite3_result_int(context, [s hasPrefix:@"h"]);
- }
- }
- else {
- NSLog(@"Unknown formart for StringStartsWithH (%d) %s:%d", sqlite3_value_type(aargv[0]), __FUNCTION__, __LINE__);
- sqlite3_result_null(context);
- }
- }];
-
- int rowCount = 0;
- FMResultSet *ars = [adb executeQuery:@"select * from ftest where StringStartsWithH(foo)"];
- while ([ars next]) {
- rowCount++;
- NSLog(@"Does %@ start with 'h'?", [rs stringForColumnIndex:0]);
+<pre><code>[db makeFunctionNamed:@"RemoveDiacritics" arguments:1 block:^(void *context, int argc, void **argv) {
+ SqliteValueType type = [self.db valueType:argv[0]];
+ if (type == SqliteValueTypeNull) {
+ [self.db resultNullInContext:context];
+ return;
}
- FMDBQuickCheck(rowCount == 2);
+ if (type != SqliteValueTypeText) {
+ [self.db resultError:@"Expected text" context:context];
+ return;
+ }
+ NSString *string = [self.db valueString:argv[0]];
+ NSString *result = [string stringByFoldingWithOptions:NSDiacriticInsensitiveSearch locale:nil];
+ [self.db resultString:result context:context];
}];
+
+FMResultSet *rs = [db executeQuery:@"SELECT * FROM employees WHERE RemoveDiacritics(first_name) LIKE 'jose'"];
+NSAssert(rs, @"Error %@", [db lastErrorMessage]);
</code></pre>
</div>
@@ -4234,6 +4616,1071 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
</div>
</div>
+</div><div class="section-method">
+ <a name="//api/name/valueInt:" title="valueInt:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/valueInt:">&ndash;&nbsp;valueInt:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Get integer value of parameter in custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (int)valueInt:(void *)<em>value</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>value</code></th>
+ <td><p>The argument whose value to return.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The integer value.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Get integer value of parameter in custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/valueLong:" title="valueLong:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/valueLong:">&ndash;&nbsp;valueLong:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Get long value of parameter in custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (long long)valueLong:(void *)<em>value</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>value</code></th>
+ <td><p>The argument whose value to return.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The long value.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Get long value of parameter in custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/valueDouble:" title="valueDouble:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/valueDouble:">&ndash;&nbsp;valueDouble:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Get double value of parameter in custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (double)valueDouble:(void *)<em>value</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>value</code></th>
+ <td><p>The argument whose value to return.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The double value.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Get double value of parameter in custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/valueData:" title="valueData:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/valueData:">&ndash;&nbsp;valueData:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Get <code>NSData</code> value of parameter in custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (NSData *_Nullable)valueData:(void *)<em>value</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>value</code></th>
+ <td><p>The argument whose value to return.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The data object.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Get <code>NSData</code> value of parameter in custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/valueString:" title="valueString:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/valueString:">&ndash;&nbsp;valueString:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Get string value of parameter in custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (NSString *_Nullable)valueString:(void *)<em>value</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>value</code></th>
+ <td><p>The argument whose value to return.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The string value.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Get string value of parameter in custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/resultNullInContext:" title="resultNullInContext:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/resultNullInContext:">&ndash;&nbsp;resultNullInContext:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Return null value from custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (void)resultNullInContext:(void *)<em>context</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>context</code></th>
+ <td><p>The context to which the null value will be returned.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Return null value from custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/resultInt:context:" title="resultInt:context:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/resultInt:context:">&ndash;&nbsp;resultInt:context:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Return integer value from custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (void)resultInt:(int)<em>value</em> context:(void *)<em>context</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>value</code></th>
+ <td><p>The integer value to be returned.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>context</code></th>
+ <td><p>The context to which the value will be returned.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Return integer value from custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/resultLong:context:" title="resultLong:context:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/resultLong:context:">&ndash;&nbsp;resultLong:context:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Return long value from custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (void)resultLong:(long long)<em>value</em> context:(void *)<em>context</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>value</code></th>
+ <td><p>The long value to be returned.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>context</code></th>
+ <td><p>The context to which the value will be returned.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Return long value from custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/resultDouble:context:" title="resultDouble:context:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/resultDouble:context:">&ndash;&nbsp;resultDouble:context:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Return double value from custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (void)resultDouble:(double)<em>value</em> context:(void *)<em>context</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>value</code></th>
+ <td><p>The double value to be returned.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>context</code></th>
+ <td><p>The context to which the value will be returned.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Return double value from custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/resultData:context:" title="resultData:context:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/resultData:context:">&ndash;&nbsp;resultData:context:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Return <code>NSData</code> object from custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (void)resultData:(NSData *)<em>data</em> context:(void *)<em>context</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>data</code></th>
+ <td><p>The <code>NSData</code> object to be returned.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>context</code></th>
+ <td><p>The context to which the value will be returned.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Return <code>NSData</code> object from custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/resultString:context:" title="resultString:context:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/resultString:context:">&ndash;&nbsp;resultString:context:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Return string value from custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (void)resultString:(NSString *)<em>value</em> context:(void *)<em>context</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>value</code></th>
+ <td><p>The string value to be returned.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>context</code></th>
+ <td><p>The context to which the value will be returned.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Return string value from custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/resultError:context:" title="resultError:context:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/resultError:context:">&ndash;&nbsp;resultError:context:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Return error string from custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (void)resultError:(NSString *)<em>error</em> context:(void *)<em>context</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>error</code></th>
+ <td><p>The error string to be returned.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>context</code></th>
+ <td><p>The context to which the error will be returned.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Return error string from custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/resultErrorCode:context:" title="resultErrorCode:context:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/resultErrorCode:context:">&ndash;&nbsp;resultErrorCode:context:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Return error code from custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (void)resultErrorCode:(int)<em>errorCode</em> context:(void *)<em>context</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>errorCode</code></th>
+ <td><p>The integer error code to be returned.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>context</code></th>
+ <td><p>The context to which the error will be returned.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Return error code from custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/resultErrorNoMemoryInContext:" title="resultErrorNoMemoryInContext:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/resultErrorNoMemoryInContext:">&ndash;&nbsp;resultErrorNoMemoryInContext:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Report memory error in custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (void)resultErrorNoMemoryInContext:(void *)<em>context</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>context</code></th>
+ <td><p>The context to which the error will be returned.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Report memory error in custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/resultErrorTooBigInContext:" title="resultErrorTooBigInContext:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/resultErrorTooBigInContext:">&ndash;&nbsp;resultErrorTooBigInContext:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Report that string or BLOB is too long to represent in custom function.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (void)resultErrorTooBigInContext:(void *)<em>context</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>context</code></th>
+ <td><p>The context to which the error will be returned.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Report that string or BLOB is too long to represent in custom function.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection see-also-section">
+ <h4 class="method-subtitle">See Also</h4>
+ <ul>
+
+ <li><code><p><a href="#//api/name/makeFunctionNamed:arguments:block:">- makeFunctionNamed:arguments:block:</a></p></code></li>
+
+ </ul>
+ </div>
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabase.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
</div>
</div>
@@ -4489,7 +5936,7 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
- <div class="method-subsection method-declaration"><code>- (NSDate *)dateFromString:(NSString *)<em>s</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSDate *_Nullable)dateFromString:(NSString *)<em>s</em></code></div>
@@ -4640,12 +6087,14 @@ FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
+
+
</main>
<footer>
<div class="footer-copyright">
- <p class="copyright">Copyright &copy; 2015 ccgus. All rights reserved. Updated: 2015-11-10</p>
+ <p class="copyright">Copyright &copy; 2017 ccgus. All rights reserved. Updated: 2017-06-07</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
diff --git a/html/Classes/FMDatabasePool.html b/html/Classes/FMDatabasePool.html
index 9cd8467..e3db61b 100644
--- a/html/Classes/FMDatabasePool.html
+++ b/html/Classes/FMDatabasePool.html
@@ -56,6 +56,12 @@
<optgroup label="Properties">
+ <option value="//api/name/countOfCheckedInDatabases">countOfCheckedInDatabases</option>
+
+ <option value="//api/name/countOfCheckedOutDatabases">countOfCheckedOutDatabases</option>
+
+ <option value="//api/name/countOfOpenDatabases">countOfOpenDatabases</option>
+
<option value="//api/name/delegate">delegate</option>
<option value="//api/name/maximumNumberOfDatabasesToCreate">maximumNumberOfDatabasesToCreate</option>
@@ -64,28 +70,30 @@
<option value="//api/name/path">path</option>
+ <option value="//api/name/vfsName">vfsName</option>
+
</optgroup>
<optgroup label="Class Methods">
+ <option value="//api/name/databaseClass">+ databaseClass</option>
+
<option value="//api/name/databasePoolWithPath:">+ databasePoolWithPath:</option>
<option value="//api/name/databasePoolWithPath:flags:">+ databasePoolWithPath:flags:</option>
+ <option value="//api/name/databasePoolWithURL:">+ databasePoolWithURL:</option>
+
+ <option value="//api/name/databasePoolWithURL:flags:">+ databasePoolWithURL:flags:</option>
+
</optgroup>
<optgroup label="Instance Methods">
- <option value="//api/name/countOfCheckedInDatabases">- countOfCheckedInDatabases</option>
-
- <option value="//api/name/countOfCheckedOutDatabases">- countOfCheckedOutDatabases</option>
-
- <option value="//api/name/countOfOpenDatabases">- countOfOpenDatabases</option>
-
<option value="//api/name/inDatabase:">- inDatabase:</option>
<option value="//api/name/inDeferredTransaction:">- inDeferredTransaction:</option>
@@ -98,6 +106,14 @@
<option value="//api/name/initWithPath:flags:">- initWithPath:flags:</option>
+ <option value="//api/name/initWithPath:flags:vfs:">- initWithPath:flags:vfs:</option>
+
+ <option value="//api/name/initWithURL:">- initWithURL:</option>
+
+ <option value="//api/name/initWithURL:flags:">- initWithURL:flags:</option>
+
+ <option value="//api/name/initWithURL:flags:vfs:">- initWithURL:flags:vfs:</option>
+
<option value="//api/name/releaseAllDatabases">- releaseAllDatabases</option>
</optgroup>
@@ -182,7 +198,7 @@ in the main.m file.</p></div>
- <div class="method-subsection method-declaration"><code>@property (atomic, retain) NSString *path</code></div>
+ <div class="method-subsection method-declaration"><code>@property (atomic, copy, nullable) NSString *path</code></div>
@@ -228,7 +244,7 @@ in the main.m file.</p></div>
- <div class="method-subsection method-declaration"><code>@property (atomic, assign) id delegate</code></div>
+ <div class="method-subsection method-declaration"><code>@property (atomic, assign, nullable) id delegate</code></div>
@@ -349,6 +365,52 @@ in the main.m file.</p></div>
</div>
</div>
+</div><div class="section-method">
+ <a name="//api/name/vfsName" title="vfsName"></a>
+ <h3 class="method-title"><code><a href="#//api/name/vfsName">&nbsp;&nbsp;vfsName</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p> Custom virtual file system name</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>@property (atomic, copy, nullable) NSString *vfsName</code></div>
+
+
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p> Custom virtual file system name</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabasePool.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
</div>
</div>
@@ -374,7 +436,7 @@ in the main.m file.</p></div>
- <div class="method-subsection method-declaration"><code>+ (instancetype)databasePoolWithPath:(NSString *)<em>aPath</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (instancetype)databasePoolWithPath:(NSString *_Nullable)<em>aPath</em></code></div>
@@ -421,6 +483,69 @@ in the main.m file.</p></div>
</div>
</div>
</div><div class="section-method">
+ <a name="//api/name/databasePoolWithURL:" title="databasePoolWithURL:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/databasePoolWithURL:">+&nbsp;databasePoolWithURL:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Create pool using file URL.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>+ (instancetype)databasePoolWithURL:(NSURL *_Nullable)<em>url</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>url</code></th>
+ <td><p>The file <code>NSURL</code> of the database.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The <code>FMDatabasePool</code> object. <code>nil</code> on error.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Create pool using file URL.</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabasePool.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
<a name="//api/name/databasePoolWithPath:flags:" title="databasePoolWithPath:flags:"></a>
<h3 class="method-title"><code><a href="#//api/name/databasePoolWithPath:flags:">+&nbsp;databasePoolWithPath:flags:</a></code>
</h3>
@@ -437,7 +562,7 @@ in the main.m file.</p></div>
- <div class="method-subsection method-declaration"><code>+ (instancetype)databasePoolWithPath:(NSString *)<em>aPath</em> flags:(int)<em>openFlags</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (instancetype)databasePoolWithPath:(NSString *_Nullable)<em>aPath</em> flags:(int)<em>openFlags</em></code></div>
@@ -452,7 +577,7 @@ in the main.m file.</p></div>
<tr>
<th scope="row" class="argument-name"><code>openFlags</code></th>
- <td><p>Flags passed to the openWithFlags method of the database</p></td>
+ <td><p>Flags passed to the openWithFlags method of the database.</p></td>
</tr>
</table>
@@ -489,6 +614,74 @@ in the main.m file.</p></div>
</div>
</div>
</div><div class="section-method">
+ <a name="//api/name/databasePoolWithURL:flags:" title="databasePoolWithURL:flags:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/databasePoolWithURL:flags:">+&nbsp;databasePoolWithURL:flags:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Create pool using file URL and specified flags</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>+ (instancetype)databasePoolWithURL:(NSURL *_Nullable)<em>url</em> flags:(int)<em>openFlags</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>url</code></th>
+ <td><p>The file <code>NSURL</code> of the database.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>openFlags</code></th>
+ <td><p>Flags passed to the openWithFlags method of the database.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The <code>FMDatabasePool</code> object. <code>nil</code> on error.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Create pool using file URL and specified flags</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabasePool.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
<a name="//api/name/initWithPath:" title="initWithPath:"></a>
<h3 class="method-title"><code><a href="#//api/name/initWithPath:">&ndash;&nbsp;initWithPath:</a></code>
</h3>
@@ -505,7 +698,7 @@ in the main.m file.</p></div>
- <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *)<em>aPath</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *_Nullable)<em>aPath</em></code></div>
@@ -552,6 +745,69 @@ in the main.m file.</p></div>
</div>
</div>
</div><div class="section-method">
+ <a name="//api/name/initWithURL:" title="initWithURL:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/initWithURL:">&ndash;&nbsp;initWithURL:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Create pool using file URL.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithURL:(NSURL *_Nullable)<em>url</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>url</code></th>
+ <td><p>The file `NSURL of the database.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The <code>FMDatabasePool</code> object. <code>nil</code> on error.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Create pool using file URL.</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabasePool.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
<a name="//api/name/initWithPath:flags:" title="initWithPath:flags:"></a>
<h3 class="method-title"><code><a href="#//api/name/initWithPath:flags:">&ndash;&nbsp;initWithPath:flags:</a></code>
</h3>
@@ -568,7 +824,143 @@ in the main.m file.</p></div>
- <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *)<em>aPath</em> flags:(int)<em>openFlags</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *_Nullable)<em>aPath</em> flags:(int)<em>openFlags</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>aPath</code></th>
+ <td><p>The file path of the database.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>openFlags</code></th>
+ <td><p>Flags passed to the openWithFlags method of the database</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The <code>FMDatabasePool</code> object. <code>nil</code> on error.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Create pool using path and specified flags.</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabasePool.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/initWithURL:flags:" title="initWithURL:flags:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/initWithURL:flags:">&ndash;&nbsp;initWithURL:flags:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Create pool using file URL and specified flags.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithURL:(NSURL *_Nullable)<em>url</em> flags:(int)<em>openFlags</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>url</code></th>
+ <td><p>The file <code>NSURL</code> of the database.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>openFlags</code></th>
+ <td><p>Flags passed to the openWithFlags method of the database</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The <code>FMDatabasePool</code> object. <code>nil</code> on error.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Create pool using file URL and specified flags.</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabasePool.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/initWithPath:flags:vfs:" title="initWithPath:flags:vfs:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/initWithPath:flags:vfs:">&ndash;&nbsp;initWithPath:flags:vfs:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Create pool using path and specified flags.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *_Nullable)<em>aPath</em> flags:(int)<em>openFlags</em> vfs:(NSString *_Nullable)<em>vfsName</em></code></div>
@@ -586,6 +978,11 @@ in the main.m file.</p></div>
<td><p>Flags passed to the openWithFlags method of the database</p></td>
</tr>
+ <tr>
+ <th scope="row" class="argument-name"><code>vfsName</code></th>
+ <td><p>The name of a custom virtual file system</p></td>
+ </tr>
+
</table>
</div>
@@ -619,6 +1016,132 @@ in the main.m file.</p></div>
</div>
</div>
+</div><div class="section-method">
+ <a name="//api/name/initWithURL:flags:vfs:" title="initWithURL:flags:vfs:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/initWithURL:flags:vfs:">&ndash;&nbsp;initWithURL:flags:vfs:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Create pool using file URL and specified flags.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithURL:(NSURL *_Nullable)<em>url</em> flags:(int)<em>openFlags</em> vfs:(NSString *_Nullable)<em>vfsName</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>url</code></th>
+ <td><p>The file <code>NSURL</code> of the database.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>openFlags</code></th>
+ <td><p>Flags passed to the openWithFlags method of the database</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>vfsName</code></th>
+ <td><p>The name of a custom virtual file system</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The <code>FMDatabasePool</code> object. <code>nil</code> on error.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Create pool using file URL and specified flags.</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabasePool.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
+ <a name="//api/name/databaseClass" title="databaseClass"></a>
+ <h3 class="method-title"><code><a href="#//api/name/databaseClass">+&nbsp;databaseClass</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Returns the Class of &lsquo;FMDatabase&rsquo; subclass, that will be used to instantiate database object.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>+ (Class)databaseClass</code></div>
+
+
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The Class of &lsquo;FMDatabase&rsquo; subclass, that will be used to instantiate database object.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Returns the Class of &lsquo;FMDatabase&rsquo; subclass, that will be used to instantiate database object.</p>
+
+<p>Subclasses can override this method to return specified Class of &lsquo;FMDatabase&rsquo; subclass.</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabasePool.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
</div>
</div>
@@ -629,7 +1152,7 @@ in the main.m file.</p></div>
<div class="task-list">
<div class="section-method">
<a name="//api/name/countOfCheckedInDatabases" title="countOfCheckedInDatabases"></a>
- <h3 class="method-title"><code><a href="#//api/name/countOfCheckedInDatabases">&ndash;&nbsp;countOfCheckedInDatabases</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/countOfCheckedInDatabases">&nbsp;&nbsp;countOfCheckedInDatabases</a></code>
</h3>
<div class="method-info">
@@ -644,17 +1167,12 @@ in the main.m file.</p></div>
- <div class="method-subsection method-declaration"><code>- (NSUInteger)countOfCheckedInDatabases</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) NSUInteger countOfCheckedInDatabases</code></div>
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>Number of databases</p>
- </div>
-
@@ -680,7 +1198,7 @@ in the main.m file.</p></div>
</div>
</div><div class="section-method">
<a name="//api/name/countOfCheckedOutDatabases" title="countOfCheckedOutDatabases"></a>
- <h3 class="method-title"><code><a href="#//api/name/countOfCheckedOutDatabases">&ndash;&nbsp;countOfCheckedOutDatabases</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/countOfCheckedOutDatabases">&nbsp;&nbsp;countOfCheckedOutDatabases</a></code>
</h3>
<div class="method-info">
@@ -695,17 +1213,12 @@ in the main.m file.</p></div>
- <div class="method-subsection method-declaration"><code>- (NSUInteger)countOfCheckedOutDatabases</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) NSUInteger countOfCheckedOutDatabases</code></div>
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>Number of databases</p>
- </div>
-
@@ -731,7 +1244,7 @@ in the main.m file.</p></div>
</div>
</div><div class="section-method">
<a name="//api/name/countOfOpenDatabases" title="countOfOpenDatabases"></a>
- <h3 class="method-title"><code><a href="#//api/name/countOfOpenDatabases">&ndash;&nbsp;countOfOpenDatabases</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/countOfOpenDatabases">&nbsp;&nbsp;countOfOpenDatabases</a></code>
</h3>
<div class="method-info">
@@ -746,17 +1259,12 @@ in the main.m file.</p></div>
- <div class="method-subsection method-declaration"><code>- (NSUInteger)countOfOpenDatabases</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) NSUInteger countOfOpenDatabases</code></div>
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p>Number of databases</p>
- </div>
-
@@ -1025,7 +1533,7 @@ in the main.m file.</p></div>
- <div class="method-subsection method-declaration"><code>- (NSError *)inSavePoint:(void ( ^ ) ( FMDatabase *db , BOOL *rollback ))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSError *_Nullable)inSavePoint:(void ( ^ ) ( FMDatabase *db , BOOL *rollback ))<em>block</em></code></div>
@@ -1079,12 +1587,14 @@ in the main.m file.</p></div>
+
+
</main>
<footer>
<div class="footer-copyright">
- <p class="copyright">Copyright &copy; 2015 ccgus. All rights reserved. Updated: 2015-11-10</p>
+ <p class="copyright">Copyright &copy; 2017 ccgus. All rights reserved. Updated: 2017-06-07</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
diff --git a/html/Classes/FMDatabaseQueue.html b/html/Classes/FMDatabaseQueue.html
index e4e314d..93bd5b3 100644
--- a/html/Classes/FMDatabaseQueue.html
+++ b/html/Classes/FMDatabaseQueue.html
@@ -60,6 +60,8 @@
<option value="//api/name/path">path</option>
+ <option value="//api/name/vfsName">vfsName</option>
+
</optgroup>
@@ -72,6 +74,10 @@
<option value="//api/name/databaseQueueWithPath:flags:">+ databaseQueueWithPath:flags:</option>
+ <option value="//api/name/databaseQueueWithURL:">+ databaseQueueWithURL:</option>
+
+ <option value="//api/name/databaseQueueWithURL:flags:">+ databaseQueueWithURL:flags:</option>
+
</optgroup>
@@ -94,6 +100,14 @@
<option value="//api/name/initWithPath:flags:vfs:">- initWithPath:flags:vfs:</option>
+ <option value="//api/name/initWithURL:">- initWithURL:</option>
+
+ <option value="//api/name/initWithURL:flags:">- initWithURL:flags:</option>
+
+ <option value="//api/name/initWithURL:flags:vfs:">- initWithURL:flags:vfs:</option>
+
+ <option value="//api/name/interrupt">- interrupt</option>
+
</optgroup>
@@ -208,7 +222,7 @@
- <div class="method-subsection method-declaration"><code>@property (atomic, retain) NSString *path</code></div>
+ <div class="method-subsection method-declaration"><code>@property (atomic, retain, nullable) NSString *path</code></div>
@@ -283,6 +297,52 @@
</div>
</div>
+</div><div class="section-method">
+ <a name="//api/name/vfsName" title="vfsName"></a>
+ <h3 class="method-title"><code><a href="#//api/name/vfsName">&nbsp;&nbsp;vfsName</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p> Custom virtual file system name</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>@property (atomic, copy, nullable) NSString *vfsName</code></div>
+
+
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p> Custom virtual file system name</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabaseQueue.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
</div>
</div>
@@ -308,7 +368,7 @@
- <div class="method-subsection method-declaration"><code>+ (instancetype)databaseQueueWithPath:(NSString *)<em>aPath</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (instancetype)databaseQueueWithPath:(NSString *_Nullable)<em>aPath</em></code></div>
@@ -355,6 +415,69 @@
</div>
</div>
</div><div class="section-method">
+ <a name="//api/name/databaseQueueWithURL:" title="databaseQueueWithURL:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/databaseQueueWithURL:">+&nbsp;databaseQueueWithURL:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Create queue using file URL.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>+ (instancetype)databaseQueueWithURL:(NSURL *_Nullable)<em>url</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>url</code></th>
+ <td><p>The file <code>NSURL</code> of the database.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The <code>FMDatabaseQueue</code> object. <code>nil</code> on error.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Create queue using file URL.</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabaseQueue.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
<a name="//api/name/databaseQueueWithPath:flags:" title="databaseQueueWithPath:flags:"></a>
<h3 class="method-title"><code><a href="#//api/name/databaseQueueWithPath:flags:">+&nbsp;databaseQueueWithPath:flags:</a></code>
</h3>
@@ -371,7 +494,7 @@
- <div class="method-subsection method-declaration"><code>+ (instancetype)databaseQueueWithPath:(NSString *)<em>aPath</em> flags:(int)<em>openFlags</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (instancetype)databaseQueueWithPath:(NSString *_Nullable)<em>aPath</em> flags:(int)<em>openFlags</em></code></div>
@@ -386,7 +509,7 @@
<tr>
<th scope="row" class="argument-name"><code>openFlags</code></th>
- <td><p>Flags passed to the openWithFlags method of the database</p></td>
+ <td><p>Flags passed to the openWithFlags method of the database.</p></td>
</tr>
</table>
@@ -423,6 +546,74 @@
</div>
</div>
</div><div class="section-method">
+ <a name="//api/name/databaseQueueWithURL:flags:" title="databaseQueueWithURL:flags:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/databaseQueueWithURL:flags:">+&nbsp;databaseQueueWithURL:flags:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Create queue using file URL and specified flags.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>+ (instancetype)databaseQueueWithURL:(NSURL *_Nullable)<em>url</em> flags:(int)<em>openFlags</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>url</code></th>
+ <td><p>The file <code>NSURL</code> of the database.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>openFlags</code></th>
+ <td><p>Flags passed to the openWithFlags method of the database.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The <code>FMDatabaseQueue</code> object. <code>nil</code> on error.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Create queue using file URL and specified flags.</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabaseQueue.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
<a name="//api/name/initWithPath:" title="initWithPath:"></a>
<h3 class="method-title"><code><a href="#//api/name/initWithPath:">&ndash;&nbsp;initWithPath:</a></code>
</h3>
@@ -439,7 +630,7 @@
- <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *)<em>aPath</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *_Nullable)<em>aPath</em></code></div>
@@ -486,6 +677,69 @@
</div>
</div>
</div><div class="section-method">
+ <a name="//api/name/initWithURL:" title="initWithURL:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/initWithURL:">&ndash;&nbsp;initWithURL:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Create queue using file URL.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithURL:(NSURL *_Nullable)<em>url</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>url</code></th>
+ <td><p>The file `NSURL of the database.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The <code>FMDatabaseQueue</code> object. <code>nil</code> on error.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Create queue using file URL.</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabaseQueue.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
<a name="//api/name/initWithPath:flags:" title="initWithPath:flags:"></a>
<h3 class="method-title"><code><a href="#//api/name/initWithPath:flags:">&ndash;&nbsp;initWithPath:flags:</a></code>
</h3>
@@ -502,7 +756,7 @@
- <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *)<em>aPath</em> flags:(int)<em>openFlags</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *_Nullable)<em>aPath</em> flags:(int)<em>openFlags</em></code></div>
@@ -517,7 +771,7 @@
<tr>
<th scope="row" class="argument-name"><code>openFlags</code></th>
- <td><p>Flags passed to the openWithFlags method of the database</p></td>
+ <td><p>Flags passed to the openWithFlags method of the database.</p></td>
</tr>
</table>
@@ -554,6 +808,74 @@
</div>
</div>
</div><div class="section-method">
+ <a name="//api/name/initWithURL:flags:" title="initWithURL:flags:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/initWithURL:flags:">&ndash;&nbsp;initWithURL:flags:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Create queue using file URL and specified flags.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithURL:(NSURL *_Nullable)<em>url</em> flags:(int)<em>openFlags</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>url</code></th>
+ <td><p>The file path of the database.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>openFlags</code></th>
+ <td><p>Flags passed to the openWithFlags method of the database.</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The <code>FMDatabaseQueue</code> object. <code>nil</code> on error.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Create queue using file URL and specified flags.</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabaseQueue.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
<a name="//api/name/initWithPath:flags:vfs:" title="initWithPath:flags:vfs:"></a>
<h3 class="method-title"><code><a href="#//api/name/initWithPath:flags:vfs:">&ndash;&nbsp;initWithPath:flags:vfs:</a></code>
</h3>
@@ -570,7 +892,7 @@
- <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *)<em>aPath</em> flags:(int)<em>openFlags</em> vfs:(NSString *)<em>vfsName</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *_Nullable)<em>aPath</em> flags:(int)<em>openFlags</em> vfs:(NSString *_Nullable)<em>vfsName</em></code></div>
@@ -627,6 +949,79 @@
</div>
</div>
</div><div class="section-method">
+ <a name="//api/name/initWithURL:flags:vfs:" title="initWithURL:flags:vfs:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/initWithURL:flags:vfs:">&ndash;&nbsp;initWithURL:flags:vfs:</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Create queue using file URL and specified flags.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (instancetype)initWithURL:(NSURL *_Nullable)<em>url</em> flags:(int)<em>openFlags</em> vfs:(NSString *_Nullable)<em>vfsName</em></code></div>
+
+
+
+ <div class="method-subsection arguments-section parameters">
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <table class="argument-def parameter-def">
+
+ <tr>
+ <th scope="row" class="argument-name"><code>url</code></th>
+ <td><p>The file `NSURL of the database.</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>openFlags</code></th>
+ <td><p>Flags passed to the openWithFlags method of the database</p></td>
+ </tr>
+
+ <tr>
+ <th scope="row" class="argument-name"><code>vfsName</code></th>
+ <td><p>The name of a custom virtual file system</p></td>
+ </tr>
+
+ </table>
+ </div>
+
+
+
+ <div class="method-subsection return">
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
+ <p>The <code>FMDatabaseQueue</code> object. <code>nil</code> on error.</p>
+ </div>
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Create queue using file URL and specified flags.</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabaseQueue.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
+</div><div class="section-method">
<a name="//api/name/databaseClass" title="databaseClass"></a>
<h3 class="method-title"><code><a href="#//api/name/databaseClass">+&nbsp;databaseClass</a></code>
</h3>
@@ -725,6 +1120,52 @@
</div>
</div>
+</div><div class="section-method">
+ <a name="//api/name/interrupt" title="interrupt"></a>
+ <h3 class="method-title"><code><a href="#//api/name/interrupt">&ndash;&nbsp;interrupt</a></code>
+</h3>
+
+ <div class="method-info">
+ <div class="pointy-thing"></div>
+
+ <div class="method-info-container">
+
+
+ <div class="method-subsection brief-description">
+ <p>Interupt pending database operation.</p>
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>- (void)interrupt</code></div>
+
+
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Interupt pending database operation.</p>
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <p><code class="declared-in-ref">FMDatabaseQueue.h</code></p>
+ </div>
+
+
+ </div>
+ </div>
</div>
</div>
@@ -924,7 +1365,7 @@
- <div class="method-subsection method-declaration"><code>- (NSError *)inSavePoint:(void ( ^ ) ( FMDatabase *db , BOOL *rollback ))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSError *_Nullable)inSavePoint:(void ( ^ ) ( FMDatabase *db , BOOL *rollback ))<em>block</em></code></div>
@@ -973,12 +1414,14 @@
+
+
</main>
<footer>
<div class="footer-copyright">
- <p class="copyright">Copyright &copy; 2015 ccgus. All rights reserved. Updated: 2015-11-10</p>
+ <p class="copyright">Copyright &copy; 2017 ccgus. All rights reserved. Updated: 2017-06-07</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
diff --git a/html/Classes/FMResultSet.html b/html/Classes/FMResultSet.html
index b9af391..4e4a159 100644
--- a/html/Classes/FMResultSet.html
+++ b/html/Classes/FMResultSet.html
@@ -56,10 +56,14 @@
<optgroup label="Properties">
+ <option value="//api/name/columnCount">columnCount</option>
+
<option value="//api/name/columnNameToIndexMap">columnNameToIndexMap</option>
<option value="//api/name/query">query</option>
+ <option value="//api/name/resultDictionary">resultDictionary</option>
+
<option value="//api/name/statement">statement</option>
</optgroup>
@@ -76,9 +80,9 @@
<optgroup label="Instance Methods">
- <option value="//api/name/UTF8StringForColumnIndex:">- UTF8StringForColumnIndex:</option>
+ <option value="//api/name/UTF8StringForColumn:">- UTF8StringForColumn:</option>
- <option value="//api/name/UTF8StringForColumnName:">- UTF8StringForColumnName:</option>
+ <option value="//api/name/UTF8StringForColumnIndex:">- UTF8StringForColumnIndex:</option>
<option value="//api/name/boolForColumn:">- boolForColumn:</option>
@@ -86,8 +90,6 @@
<option value="//api/name/close">- close</option>
- <option value="//api/name/columnCount">- columnCount</option>
-
<option value="//api/name/columnIndexForName:">- columnIndexForName:</option>
<option value="//api/name/columnIndexIsNull:">- columnIndexIsNull:</option>
@@ -134,16 +136,14 @@
<option value="//api/name/objectAtIndexedSubscript:">- objectAtIndexedSubscript:</option>
- <option value="//api/name/objectForColumnIndex:">- objectForColumnIndex:</option>
+ <option value="//api/name/objectForColumn:">- objectForColumn:</option>
- <option value="//api/name/objectForColumnName:">- objectForColumnName:</option>
+ <option value="//api/name/objectForColumnIndex:">- objectForColumnIndex:</option>
<option value="//api/name/objectForKeyedSubscript:">- objectForKeyedSubscript:</option>
<option value="//api/name/resultDict">- resultDict</option>
- <option value="//api/name/resultDictionary">- resultDictionary</option>
-
<option value="//api/name/stringForColumn:">- stringForColumn:</option>
<option value="//api/name/stringForColumnIndex:">- stringForColumnIndex:</option>
@@ -225,7 +225,7 @@
- <div class="method-subsection method-declaration"><code>@property (atomic, retain) NSString *query</code></div>
+ <div class="method-subsection method-declaration"><code>@property (atomic, retain, nullable) NSString *query</code></div>
@@ -317,7 +317,7 @@
- <div class="method-subsection method-declaration"><code>@property (atomic, retain) FMStatement *statement</code></div>
+ <div class="method-subsection method-declaration"><code>@property (atomic, retain, nullable) FMStatement *statement</code></div>
@@ -555,7 +555,7 @@
- <div class="method-subsection method-declaration"><code>- (BOOL)nextWithError:(NSError **)<em>outErr</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (BOOL)nextWithError:(NSError *_Nullable *)<em>outErr</em></code></div>
@@ -682,7 +682,7 @@
<div class="task-list">
<div class="section-method">
<a name="//api/name/columnCount" title="columnCount"></a>
- <h3 class="method-title"><code><a href="#//api/name/columnCount">&ndash;&nbsp;columnCount</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/columnCount">&nbsp;&nbsp;columnCount</a></code>
</h3>
<div class="method-info">
@@ -697,7 +697,7 @@
- <div class="method-subsection method-declaration"><code>- (int)columnCount</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) int columnCount</code></div>
@@ -811,7 +811,7 @@
- <div class="method-subsection method-declaration"><code>- (NSString *)columnNameForIndex:(int)<em>columnIdx</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSString *_Nullable)columnNameForIndex:(int)<em>columnIdx</em></code></div>
@@ -1630,7 +1630,7 @@
- <div class="method-subsection method-declaration"><code>- (NSString *)stringForColumn:(NSString *)<em>columnName</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSString *_Nullable)stringForColumn:(NSString *)<em>columnName</em></code></div>
@@ -1650,7 +1650,7 @@
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSString</code> value of the result set&rsquo;s column.</p>
+ <p>String value of the result set&rsquo;s column.</p>
</div>
@@ -1693,7 +1693,7 @@
- <div class="method-subsection method-declaration"><code>- (NSString *)stringForColumnIndex:(int)<em>columnIdx</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSString *_Nullable)stringForColumnIndex:(int)<em>columnIdx</em></code></div>
@@ -1713,7 +1713,7 @@
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSString</code> value of the result set&rsquo;s column.</p>
+ <p>String value of the result set&rsquo;s column.</p>
</div>
@@ -1756,7 +1756,7 @@
- <div class="method-subsection method-declaration"><code>- (NSDate *)dateForColumn:(NSString *)<em>columnName</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSDate *_Nullable)dateForColumn:(NSString *)<em>columnName</em></code></div>
@@ -1776,7 +1776,7 @@
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSDate</code> value of the result set&rsquo;s column.</p>
+ <p>Date value of the result set&rsquo;s column.</p>
</div>
@@ -1819,7 +1819,7 @@
- <div class="method-subsection method-declaration"><code>- (NSDate *)dateForColumnIndex:(int)<em>columnIdx</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSDate *_Nullable)dateForColumnIndex:(int)<em>columnIdx</em></code></div>
@@ -1839,7 +1839,7 @@
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSDate</code> value of the result set&rsquo;s column.</p>
+ <p>Date value of the result set&rsquo;s column.</p>
</div>
@@ -1882,7 +1882,7 @@
- <div class="method-subsection method-declaration"><code>- (NSData *)dataForColumn:(NSString *)<em>columnName</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSData *_Nullable)dataForColumn:(NSString *)<em>columnName</em></code></div>
@@ -1902,7 +1902,7 @@
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSData</code> value of the result set&rsquo;s column.</p>
+ <p>Data value of the result set&rsquo;s column.</p>
</div>
@@ -1947,7 +1947,7 @@
- <div class="method-subsection method-declaration"><code>- (NSData *)dataForColumnIndex:(int)<em>columnIdx</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSData *_Nullable)dataForColumnIndex:(int)<em>columnIdx</em></code></div>
@@ -1967,7 +1967,7 @@
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSData</code> value of the result set&rsquo;s column.</p>
+ <p>Data value of the result set&rsquo;s column.</p>
</div>
@@ -1994,8 +1994,8 @@
</div>
</div>
</div><div class="section-method">
- <a name="//api/name/UTF8StringForColumnName:" title="UTF8StringForColumnName:"></a>
- <h3 class="method-title"><code><a href="#//api/name/UTF8StringForColumnName:">&ndash;&nbsp;UTF8StringForColumnName:</a></code>
+ <a name="//api/name/UTF8StringForColumn:" title="UTF8StringForColumn:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/UTF8StringForColumn:">&ndash;&nbsp;UTF8StringForColumn:</a></code>
</h3>
<div class="method-info">
@@ -2010,7 +2010,7 @@
- <div class="method-subsection method-declaration"><code>- (const unsigned char *)UTF8StringForColumnName:(NSString *)<em>columnName</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (const unsigned char *_Nullable)UTF8StringForColumn:(NSString *)<em>columnName</em></code></div>
@@ -2073,7 +2073,7 @@
- <div class="method-subsection method-declaration"><code>- (const unsigned char *)UTF8StringForColumnIndex:(int)<em>columnIdx</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (const unsigned char *_Nullable)UTF8StringForColumnIndex:(int)<em>columnIdx</em></code></div>
@@ -2120,8 +2120,8 @@
</div>
</div>
</div><div class="section-method">
- <a name="//api/name/objectForColumnName:" title="objectForColumnName:"></a>
- <h3 class="method-title"><code><a href="#//api/name/objectForColumnName:">&ndash;&nbsp;objectForColumnName:</a></code>
+ <a name="//api/name/objectForColumn:" title="objectForColumn:"></a>
+ <h3 class="method-title"><code><a href="#//api/name/objectForColumn:">&ndash;&nbsp;objectForColumn:</a></code>
</h3>
<div class="method-info">
@@ -2136,7 +2136,7 @@
- <div class="method-subsection method-declaration"><code>- (id)objectForColumnName:(NSString *)<em>columnName</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (id _Nullable)objectForColumn:(NSString *)<em>columnName</em></code></div>
@@ -2146,7 +2146,7 @@
<tr>
<th scope="row" class="argument-name"><code>columnName</code></th>
- <td><p><code>NSString</code> value of the name of the column.</p></td>
+ <td><p>Name of the column.</p></td>
</tr>
</table>
@@ -2208,7 +2208,7 @@
- <div class="method-subsection method-declaration"><code>- (id)objectForColumnIndex:(int)<em>columnIdx</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (id _Nullable)objectForColumnIndex:(int)<em>columnIdx</em></code></div>
@@ -2280,7 +2280,7 @@
- <div class="method-subsection method-declaration"><code>- (id)objectForKeyedSubscript:(NSString *)<em>columnName</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (id _Nullable)objectForKeyedSubscript:(NSString *)<em>columnName</em></code></div>
@@ -2358,7 +2358,7 @@
- <div class="method-subsection method-declaration"><code>- (id)objectAtIndexedSubscript:(int)<em>columnIdx</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (id _Nullable)objectAtIndexedSubscript:(int)<em>columnIdx</em></code></div>
@@ -2436,7 +2436,7 @@
- <div class="method-subsection method-declaration"><code>- (NSData *)dataNoCopyForColumn:(NSString *)<em>columnName</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSData *_Nullable)dataNoCopyForColumn:(NSString *)<em>columnName</em></code></div>
@@ -2456,7 +2456,7 @@
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSData</code> value of the result set&rsquo;s column.</p>
+ <p>Data value of the result set&rsquo;s column.</p>
</div>
@@ -2501,7 +2501,7 @@ If you don&rsquo;t, you&rsquo;re going to be in a world of hurt when you try and
- <div class="method-subsection method-declaration"><code>- (NSData *)dataNoCopyForColumnIndex:(int)<em>columnIdx</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (NSData *_Nullable)dataNoCopyForColumnIndex:(int)<em>columnIdx</em></code></div>
@@ -2521,7 +2521,7 @@ If you don&rsquo;t, you&rsquo;re going to be in a world of hurt when you try and
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSData</code> value of the result set&rsquo;s column.</p>
+ <p>Data value of the result set&rsquo;s column.</p>
</div>
@@ -2677,7 +2677,7 @@ If you don&rsquo;t, you&rsquo;re going to be in a world of hurt when you try and
</div>
</div><div class="section-method">
<a name="//api/name/resultDictionary" title="resultDictionary"></a>
- <h3 class="method-title"><code><a href="#//api/name/resultDictionary">&ndash;&nbsp;resultDictionary</a></code>
+ <h3 class="method-title"><code><a href="#//api/name/resultDictionary">&nbsp;&nbsp;resultDictionary</a></code>
</h3>
<div class="method-info">
@@ -2692,17 +2692,12 @@ If you don&rsquo;t, you&rsquo;re going to be in a world of hurt when you try and
- <div class="method-subsection method-declaration"><code>- (NSDictionary *)resultDictionary</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly, nullable) NSDictionary *resultDictionary</code></div>
- <div class="method-subsection return">
- <h4 class="method-subtitle parameter-title">Return Value</h4>
- <p><code>NSDictionary</code> of the row results.</p>
- </div>
-
@@ -2743,7 +2738,7 @@ If you don&rsquo;t, you&rsquo;re going to be in a world of hurt when you try and
- <div class="method-subsection method-declaration"><code>- (NSDictionary *)resultDict</code></div>
+ <div class="method-subsection method-declaration"><code>- (NSDictionary *_Nullable)resultDict</code></div>
@@ -2766,7 +2761,7 @@ If you don&rsquo;t, you&rsquo;re going to be in a world of hurt when you try and
<h4 class="method-subtitle">See Also</h4>
<ul>
- <li><code><p><a href="#//api/name/resultDictionary">- resultDictionary</a></p></code></li>
+ <li><code><p><a href="#//api/name/resultDictionary">@property resultDictionary</a></p></code></li>
</ul>
</div>
@@ -2855,12 +2850,14 @@ If you don&rsquo;t, you&rsquo;re going to be in a world of hurt when you try and
+
+
</main>
<footer>
<div class="footer-copyright">
- <p class="copyright">Copyright &copy; 2015 ccgus. All rights reserved. Updated: 2015-11-10</p>
+ <p class="copyright">Copyright &copy; 2017 ccgus. All rights reserved. Updated: 2017-06-07</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
diff --git a/html/Classes/FMStatement.html b/html/Classes/FMStatement.html
index 3eeebdb..5796db1 100644
--- a/html/Classes/FMStatement.html
+++ b/html/Classes/FMStatement.html
@@ -245,7 +245,7 @@
- <div class="method-subsection method-declaration"><code>@property (atomic, assign) sqlite3_stmt *statement</code></div>
+ <div class="method-subsection method-declaration"><code>@property (atomic, assign) void *statement</code></div>
@@ -437,12 +437,14 @@
+
+
</main>
<footer>
<div class="footer-copyright">
- <p class="copyright">Copyright &copy; 2015 ccgus. All rights reserved. Updated: 2015-11-10</p>
+ <p class="copyright">Copyright &copy; 2017 ccgus. All rights reserved. Updated: 2017-06-07</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
diff --git a/html/css/scss/_index.scss b/html/css/scss/_index.scss
index 7e98029..6a57ec5 100644
--- a/html/css/scss/_index.scss
+++ b/html/css/scss/_index.scss
@@ -1,13 +1,17 @@
.index-container {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
+ -webkit-flex-direction: column;
+ flex-direction: column;
- @media (max-width: $mobile-max-width) {
- flex-direction: column;
+ @media (min-width: $desktop-min-width) {
+ display: flex;
+ -webkit-flex-direction: row;
+ flex-direction: row;
+ -webkit-flex-wrap: wrap;
+ flex-wrap: wrap;
}
.index-column {
+ -webkit-flex: 1 1 33%;
flex: 1 1 33%;
}
}
diff --git a/html/css/scss/_layout.scss b/html/css/scss/_layout.scss
index 40bd6d4..da46aef 100644
--- a/html/css/scss/_layout.scss
+++ b/html/css/scss/_layout.scss
@@ -21,6 +21,10 @@
body {
font: 62.5% $body-font;
background: $body-background;
+
+ @media (max-width: $mobile-max-width) {
+ background-color: $content-background;
+ }
}
h1, h2, h3 {
@@ -139,8 +143,6 @@ header {
}
@media (max-width: $mobile-max-width) {
- position: absolute;
-
.container {
padding: 0 10px;
}
@@ -157,10 +159,6 @@ aside {
font-size: 1.1em;
- @media (max-width: $mobile-max-width) {
- position: absolute;
- }
-
#header-buttons {
background: rgba(255, 255, 255, .8);
margin: 0 1px;
@@ -237,6 +235,7 @@ article {
@media (max-width: $mobile-max-width) {
padding: 15px 10px 20px 10px;
+ border: none;
}
.navigation-top {
diff --git a/html/css/scss/_variables.scss b/html/css/scss/_variables.scss
index cbaff3c..38e072d 100644
--- a/html/css/scss/_variables.scss
+++ b/html/css/scss/_variables.scss
@@ -9,3 +9,4 @@ $object-background: #f9f9f9;
$object-border: #e9e9e9;
$mobile-max-width: 650px;
+$desktop-min-width: 768px; \ No newline at end of file
diff --git a/html/css/style.css b/html/css/style.css
index 2e0648e..d9d59dd 100644
--- a/html/css/style.css
+++ b/html/css/style.css
@@ -1,2 +1,2 @@
-html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box}.clear{clear:both}.clearfix:before,.container:before,article #content:before,article #content footer:before,.clearfix:after,.container:after,article #content:after,article #content footer:after{clear:both;display:table;content:""}.xcode .hide-in-xcode{display:none}body{font:62.5% -apple-system-font,"Helvetica Neue",Helvetica,sans-serif;background:#f2f2f2}h1,h2,h3{font-weight:300;color:gray}h1{font-size:2em;color:#000}h4{font-size:13px;line-height:1.5;margin:21px 0 0}a{color:#08c;text-decoration:none}pre,code{font-family:Source Code Pro,Monaco,Menlo,Consolas,monospace;word-wrap:break-word}pre>code,.method-declaration code{display:inline-block;font-size:.85em;padding:4px 0 4px 10px;border-left:5px solid rgba(0,155,51,.2)}pre>code:before,.method-declaration code:before{content:"Objective-C";display:block;font:9px/1 -apple-system-font,"Helvetica Neue",Helvetica,sans-serif;color:#009b33;text-transform:uppercase;letter-spacing:2px;padding-bottom:6px}pre>code{font-size:inherit}table,th,td{border:1px solid #e9e9e9}table{width:100%}th,td{padding:7px}th>:first-child,td>:first-child{margin-top:0}th>:last-child,td>:last-child{margin-bottom:0}.container{max-width:980px;padding:0 10px;margin:0 auto}@media(max-width:650px){.container{padding:0}}header{position:fixed;top:0;left:0;width:100%;z-index:2;background:#414141;color:#fff;font-size:1.1em;line-height:25px;letter-spacing:.05em}header #library-title{float:left}header #developer-home{float:right}header h1{font-size:inherit;font-weight:inherit;margin:0}header p{margin:0}header h1,header a{color:inherit}@media(max-width:650px){header{position:absolute}header .container{padding:0 10px}}aside{position:fixed;top:25px;left:0;width:100%;height:25px;z-index:2;font-size:1.1em}aside #header-buttons{background:rgba(255,255,255,.8);margin:0 1px;padding:0;list-style:none;text-align:right;line-height:32px}aside #header-buttons li{display:inline-block;cursor:pointer;padding:0 10px}aside #header-buttons label,aside #header-buttons select{cursor:inherit}aside #header-buttons #on-this-page{position:relative}aside #header-buttons #on-this-page .chevron{display:inline-block;width:14px;height:4px;position:relative}aside #header-buttons #on-this-page .chevron .chevy{background:#878787;height:2px;position:absolute;width:10px}aside #header-buttons #on-this-page .chevron .chevy.chevron-left{left:0;-webkit-transform:rotateZ(45deg) scale(.6);transform:rotateZ(45deg) scale(.6)}aside #header-buttons #on-this-page .chevron .chevy.chevron-right{right:0;-webkit-transform:rotateZ(-45deg) scale(.6);transform:rotateZ(-45deg) scale(.6)}aside #header-buttons #on-this-page #jump-to{opacity:0;filter:alpha(opacity=0);font-size:16px;position:absolute;top:5px;left:0;width:100%;height:100%}article{margin-top:25px}article #content{background:#fff;border:1px solid #e9e9e9;padding:15px 25px 30px;font-size:1.4em;line-height:1.45;position:relative}@media(max-width:650px){article #content{padding:15px 10px 20px}}article #content .navigation-top{position:absolute;top:15px;right:25px}article #content .title{margin:21px 0 0;padding:15px 0}article #content p{color:#414141;margin:0 0 15px}article #content th p:last-child,article #content td p:last-child{margin-bottom:0}article #content main ul{list-style:none;margin-left:24px;margin-bottom:12px;padding:0}article #content main ul li{position:relative;padding-left:1.3em}article #content main ul li:before{content:"\02022";color:#414141;font-size:1.08em;line-height:1;position:absolute;left:0;padding-top:2px}article #content footer .footer-copyright{margin:70px 25px 10px 0}article #content footer p{font-size:.71em;color:#a0a0a0}.index-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}@media(max-width:650px){.index-container{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}}.index-container .index-column{-webkit-box-flex:1;-webkit-flex:1 1 33%;-ms-flex:1 1 33%;flex:1 1 33%}.section-specification table{width:auto}.section-specification table th{text-align:left}.method-title{margin-left:-15px;margin-bottom:8px;-webkit-transition:margin-left .3s ease-out;transition:margin-left .3s ease-out}.section-method.hide .method-title{margin-left:0}.method-title code{font-weight:400;font-size:.85em}.method-info{background:#f9f9f9;border-bottom:1px solid #e9e9e9;margin:0 -25px;padding:20px 25px 0;-webkit-transition:height .3s ease-out;transition:height .3s ease-out;position:relative}.method-info .pointy-thing{background:#fff;height:10px;border-bottom:1px solid #e9e9e9;margin:-20px -25px 16px}.method-info .pointy-thing:before{display:inline-block;content:"";background:#f9f9f9;border:1px solid #e9e9e9;border-bottom:0;border-right:0;position:absolute;left:21px;top:3px;width:12px;height:12px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.method-info .method-subsection{margin-bottom:15px}.method-info .method-subsection .argument-name{width:1px;text-align:right}.method-info .method-subsection .argument-name code{color:gray;font-style:italic;font-weight:400}.section-method.hide .method-info{height:0!important;overflow:hidden;display:none}.section-method.hide.animating .method-info{display:block}.section-method.animating .method-info{overflow:hidden}@media print{body{background:#fff;padding:8px}header{position:static;background:#fff;color:#000}aside{display:none}.container{max-width:none;padding:0}article{margin-top:0}article #content{border:0;background:#fff;padding:15px 0 0}article #content .title{margin-top:0;padding-top:0}.method-info,.method-info .pointy-thing{background:#fff}}.xcode header,.xcode aside{display:none}.xcode .container{padding:0}.xcode article{margin-top:0}.xcode article #content{border:0;margin:0}.xcode .section-method.hide .method-info,.xcode .section-method.hide.animating .method-info,.xcode .section-method.animating .method-info{height:auto!important;overflow:visible;display:block}.xcode .section-method.hide .method-title{margin-left:-15px}
-/*# sourceMappingURL=to.css.map */ \ No newline at end of file
+html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box}.clear{clear:both}.clearfix:before,.container:before,article #content:before,article #content footer:before,.clearfix:after,.container:after,article #content:after,article #content footer:after{clear:both;display:table;content:""}.xcode .hide-in-xcode{display:none}body{font:62.5% -apple-system-font,"Helvetica Neue",Helvetica,sans-serif;background:#f2f2f2}@media (max-width: 650px){body{background-color:#fff}}h1,h2,h3{font-weight:300;color:#808080}h1{font-size:2em;color:#000}h4{font-size:13px;line-height:1.5;margin:21px 0 0 0}a{color:#08c;text-decoration:none}pre,code{font-family:"Source Code Pro",Monaco,Menlo,Consolas,monospace;word-wrap:break-word}pre>code,.method-declaration code{display:inline-block;font-size:.85em;padding:4px 0 4px 10px;border-left:5px solid rgba(0,155,51,0.2)}pre>code:before,.method-declaration code:before{content:"Objective-C";display:block;font:9px/1 -apple-system-font,"Helvetica Neue",Helvetica,sans-serif;color:#009b33;text-transform:uppercase;letter-spacing:2px;padding-bottom:6px}pre>code{font-size:inherit}table,th,td{border:1px solid #e9e9e9}table{width:100%}th,td{padding:7px}th>:first-child,td>:first-child{margin-top:0}th>:last-child,td>:last-child{margin-bottom:0}.container{max-width:980px;padding:0 10px;margin:0 auto}@media (max-width: 650px){.container{padding:0}}header{position:fixed;top:0;left:0;width:100%;z-index:2;background:#414141;color:#fff;font-size:1.1em;line-height:25px;letter-spacing:.05em}header #library-title{float:left}header #developer-home{float:right}header h1{font-size:inherit;font-weight:inherit;margin:0}header p{margin:0}header h1,header a{color:inherit}@media (max-width: 650px){header .container{padding:0 10px}}aside{position:fixed;top:25px;left:0;width:100%;height:25px;z-index:2;font-size:1.1em}aside #header-buttons{background:rgba(255,255,255,0.8);margin:0 1px;padding:0;list-style:none;text-align:right;line-height:32px}aside #header-buttons li{display:inline-block;cursor:pointer;padding:0 10px}aside #header-buttons label,aside #header-buttons select{cursor:inherit}aside #header-buttons #on-this-page{position:relative}aside #header-buttons #on-this-page .chevron{display:inline-block;width:14px;height:4px;position:relative}aside #header-buttons #on-this-page .chevron .chevy{background:#878787;height:2px;position:absolute;width:10px}aside #header-buttons #on-this-page .chevron .chevy.chevron-left{left:0;transform:rotateZ(45deg) scale(0.6)}aside #header-buttons #on-this-page .chevron .chevy.chevron-right{right:0;transform:rotateZ(-45deg) scale(0.6)}aside #header-buttons #on-this-page #jump-to{opacity:0;font-size:16px;position:absolute;top:5px;left:0;width:100%;height:100%}article{margin-top:25px}article #content{background:#fff;border:1px solid #e9e9e9;padding:15px 25px 30px 25px;font-size:1.4em;line-height:1.45;position:relative}@media (max-width: 650px){article #content{padding:15px 10px 20px 10px;border:none}}article #content .navigation-top{position:absolute;top:15px;right:25px}article #content .title{margin:21px 0 0 0;padding:15px 0}article #content p{color:#414141;margin:0 0 15px 0}article #content th p:last-child,article #content td p:last-child{margin-bottom:0}article #content main ul{list-style:none;margin-left:24px;margin-bottom:12px;padding:0}article #content main ul li{position:relative;padding-left:1.3em}article #content main ul li:before{content:"\02022";color:#414141;font-size:1.08em;line-height:1;position:absolute;left:0;padding-top:2px}article #content footer .footer-copyright{margin:70px 25px 10px 0}article #content footer p{font-size:.71em;color:#a0a0a0}.index-container{-webkit-flex-direction:column;flex-direction:column}@media (min-width: 768px){.index-container{display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap}}.index-container .index-column{-webkit-flex:1 1 33%;flex:1 1 33%}.section-specification table{width:auto}.section-specification table th{text-align:left}.method-title{margin-left:-15px;margin-bottom:8px;transition:margin-left .3s ease-out}.section-method.hide .method-title{margin-left:0}.method-title code{font-weight:400;font-size:.85em}.method-info{background:#f9f9f9;border-bottom:1px solid #e9e9e9;margin:0 -25px;padding:20px 25px 0 25px;transition:height .3s ease-out;position:relative}.method-info .pointy-thing{background:#fff;height:10px;border-bottom:1px solid #e9e9e9;margin:-20px -25px 16px -25px}.method-info .pointy-thing:before{display:inline-block;content:"";background:#f9f9f9;border:1px solid #e9e9e9;border-bottom:0;border-right:0;position:absolute;left:21px;top:3px;width:12px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg) }.method-info .method-subsection{margin-bottom:15px}.method-info .method-subsection .argument-name{width:1px;text-align:right}.method-info .method-subsection .argument-name code{color:#808080;font-style:italic;font-weight:400}.section-method.hide .method-info{height:0 !important;overflow:hidden;display:none}.section-method.hide.animating .method-info{display:block}.section-method.animating .method-info{overflow:hidden}@media print{body{background:#fff;padding:8px}header{position:static;background:#fff;color:#000}aside{display:none}.container{max-width:none;padding:0}article{margin-top:0}article #content{border:0;background:#fff;padding:15px 0 0 0}article #content .title{margin-top:0;padding-top:0}.method-info,.method-info .pointy-thing{background:#fff}}.xcode header,.xcode aside{display:none}.xcode .container{padding:0}.xcode article{margin-top:0}.xcode article #content{border:0;margin:0}.xcode .method-info,.section-method.hide .xcode .method-info{max-height:auto;overflow:visible}.xcode .method-info.hiding,.section-method.hide .xcode .method-info.hiding{display:block}
+
diff --git a/html/hierarchy.html b/html/hierarchy.html
index cb18586..2ba7884 100644
--- a/html/hierarchy.html
+++ b/html/hierarchy.html
@@ -97,7 +97,7 @@
<footer>
<div class="footer-copyright">
- <p class="copyright">Copyright &copy; 2015 ccgus. All rights reserved. Updated: 2015-11-10</p>
+ <p class="copyright">Copyright &copy; 2017 ccgus. All rights reserved. Updated: 2017-06-07</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
diff --git a/html/index.html b/html/index.html
index d5f3b86..15933e5 100644
--- a/html/index.html
+++ b/html/index.html
@@ -97,7 +97,7 @@
<footer>
<div class="footer-copyright">
- <p class="copyright">Copyright &copy; 2015 ccgus. All rights reserved. Updated: 2015-11-10</p>
+ <p class="copyright">Copyright &copy; 2017 ccgus. All rights reserved. Updated: 2017-06-07</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
diff --git a/html/js/script.js b/html/js/script.js
index ca915ee..4074361 100644
--- a/html/js/script.js
+++ b/html/js/script.js
@@ -46,10 +46,11 @@ function fixScrollPosition(element) {
info.style.height = (infoContainer.clientHeight + 40) + "px";
fixScrollPosition(element);
element.classList.toggle("hide");
-
+ if (element.classList.contains("hide")) {
+ e.preventDefault();
+ }
setTimeout(function() {
element.classList.remove("animating");
- info.style.height = "auto";
}, 300);
});
});