No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This project is aimed to be an easy way for iOS developers to add APP.NET sharing to their own applications. It is designed to look and behave similar to the iOS5 TWTweetComposeViewController / Tweet Sheet. I built it as a way to add sharing to our Discovr apps and a new app we have on the way :)

Step 1 Step 2 Step 3


Like the API this code is alpha and subject to a lot of changes. I wouldn't ship an app with this code until the API is out of alpha and we can be sure the endpoints won't change.

Compiling the example project.

Getting the code

git clone
cd AppDotNetSheet
git submodule update --init

Adding your app credentials

touch iOS-Example/iOS-Example/Credentials.h

Now create a new app at the APP.NET developer site and add your details to Credentials.h:

#import <Foundation/Foundation.h>
static NSString* const kAppDotNetClientId = @"your_client_id";
static NSString* const kAppDotNetCallbackURL = @"http://yourcallback";
static NSString* const kAppDotNetScopes = @"write_post stream";

Open the project

open iOS-Example/iOS-Example.xcodeproj/

Adding to your project

After you have created your project add this repository to it, e.g. as a submodule:

git submodule add AppDotNetSheet

You'll also need AFNetworking:

git submodule add AFNetworking

Then drag the AppDotNetClient and AppDotNetSheet folders into your app.

Initialise the client with your details from the APP.NET developer site.

#import "AppDotNetClient.h"
[AppDotNetClient initWithClientId:kAppDotNetClientId
                        andScopes:[kAppDotNetScopes componentsSeparatedByString:@" "]];

And finally show the control:

AppDotNetComposeViewController* controller = [[AppDotNetComposeViewController alloc] init];
[self presentModalViewController:controller animated:NO];


If you are a designer or developer please jump in and help out.

  • Test, test, test
  • Internationalisation / Localisation
  • Multiple users
  • Update design to better match TWTweetComposeViewController.
  • Better error handling.
  • Validate tokens.
  • Images.


Ask away on APP.NET of course I'm @stuartkhall, or I'm the same handle on Twitter @stuartkhall