Skip to content
This repository was archived by the owner on Apr 25, 2019. It is now read-only.

Commit 2448e9b

Browse files
committed
Added docset file, install instructions
1 parent 249e666 commit 2448e9b

14 files changed

+21
-5
lines changed
Binary file not shown.

Library/INK.bundle/Info.plist

-184 Bytes
Binary file not shown.

Library/INK.bundle/button_pressed.png

1.16 KB
Loading
1.07 KB
Loading

Library/INK.bundle/help.png

44 Bytes
Loading

Library/INK.bundle/[email protected]

-22 Bytes
Loading
114 Bytes
Loading

Library/INK.bundle/[email protected]

-446 Bytes
Loading

Library/INK.bundle/inklogo.png

-27 Bytes
Loading

Library/INK.bundle/[email protected]

239 Bytes
Loading

Library/INK.framework/Versions/A/Headers/Ink.h

+10-5
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@
139139
when the current action is completed.
140140
141141
@see return
142-
@see returnBlob
143-
@see returnWithError
142+
@see returnBlob:
143+
@see returnWithError:
144144
145145
@return Returns if the current app should return.
146146
*/
@@ -149,6 +149,7 @@
149149

150150
/**
151151
Bring up the Ink workspace to allow the user to return to the calling application.
152+
152153
This method should be called when the user completes an Ink workflow but the
153154
action is one where there is no data to return (i.e. INKActionType_View)
154155
@@ -166,19 +167,23 @@
166167

167168
/**
168169
Bring up the Ink workspace and allow the user to continue their workflow with new data.
170+
169171
This method should be called whenever the user completes a workflow and they have new
170172
data to work with, for example for an edit action.
171173
172174
Before calling this, check the appShouldReturn method.
175+
@param blob The new data that was a result of the user completing the desired action.
173176
@see appShouldReturn
174177
*/
175178
+ (void)returnBlob:(INKBlob*)blob;
176179

177180
/**
178181
Bring up the Ink workspace and allow the user to continue their workflow but show an error.
182+
179183
This method should be called when an error occurred when the current app tried to complete the request.
180184
181185
Before calling this, check the appShouldReturn method.
186+
@param error The error that occurred when trying to execute the desired action.
182187
@see appShouldReturn
183188
*/
184189
+ (void)returnWithError:(NSError*)error;
@@ -213,7 +218,7 @@
213218
loading spinner, so the faster you can return the blob data the better.
214219
215220
@param UTI The Uniform Type Identifier of the blob, used to filter the aciton list.
216-
@param dynamicBlob The block that will be called on a background thread to retrieve the blob.
221+
@param block The block that will be called on a background thread to retrieve the blob.
217222
*/
218223
+ (void)showWorkspaceWithUTI:(NSString *)UTI dynamicBlob:(INKDynamicBlobBlock)block;
219224

@@ -235,11 +240,11 @@
235240
Opens the Ink workspace with a late-binding blob and a return handler.
236241
237242
This method is a combination of the capabilities of showWorkspaceWithBlob:onReturn: and showWorkspaceWithUTI:dynamicBlob:
238-
@see showWorkspaceWithBlob:onReturn
243+
@see showWorkspaceWithBlob:onReturn:
239244
@see showWorkspaceWithUTI:dynamicBlob:
240245
241246
@param UTI The Uniform Type Identifier of the blob, used to filter the aciton list.
242-
@param dynamicBlob The block that will be called on a background thread to retrieve the blob.
247+
@param block The block that will be called on a background thread to retrieve the blob.
243248
@param returnBlock The block to be called with the user finishes their current workflow and returns back to this app.
244249
*/
245250
+ (void)showWorkspaceWithUTI:(NSString *)UTI dynamicBlob:(INKDynamicBlobBlock)block onReturn:(INKActionCallbackBlock)returnBlock;

Library/INK.framework/Versions/A/INK

0 Bytes
Binary file not shown.

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ The Ink mobile framework for iOS. Connect your app with others to enable new wor
55

66
Visit [http://inkmobility.com/developers/ios/docs](http://inkmobility.com/developers/ios/docs) for instructions on getting started
77

8+
To install the docset file into Xcode, run `./install_docs.sh`. Note that you'll have restart Xcode for the documentation to show up.
9+
810
Changelog
911
v0.4.0: Initial release. 8/13/13

install_docs.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
INSTALL_DIR=~/Library/Developer/Shared/Documentation/DocSets
3+
ARCHIVE=com.inkmobility.Ink-iOS-Framework-0.4.0
4+
CUR_DIR=`pwd`
5+
cp "Docs/$ARCHIVE.xar" "$INSTALL_DIR/."
6+
cd "$INSTALL_DIR"
7+
xar -xvf "$ARCHIVE.xar"
8+
rm "$ARCHIVE.xar"
9+
cd "$CUR_DIR"

0 commit comments

Comments
 (0)