Click here to support Nimbus development and make a donation at www.pledgie.com !
An iOS framework whose growth is bounded by O(documentation).
NIInterapp Class Reference

Overview

An interface for interacting with other apps installed on the device.

Definition at line 27 of file NIInterapp.h.

Methods

Safari
(BOOL) + safariWithURL:
Google Maps
(BOOL) + googleMapAtLocation:
(BOOL) + googleMapAtLocation:title:
(BOOL) + googleMapDirectionsFromLocation:toLocation:
(BOOL) + googleMapWithQuery:
Phone
(BOOL) + phone
(BOOL) + phoneWithNumber:
SMS
(BOOL) + sms
(BOOL) + smsWithNumber:
Mail
(BOOL) + mailWithInvocation:
YouTube
(BOOL) + youTubeWithVideoId:
App Store
(BOOL) + appStoreWithAppId:
iBooks
(BOOL) + iBooksIsInstalled
(BOOL) + iBooks
(NSString *) + iBooksAppStoreId
Facebook
(BOOL) + facebookIsInstalled
(BOOL) + facebook
(BOOL) + facebookProfileWithId:
(NSString *) + facebookAppStoreId
Twitter
(BOOL) + twitterIsInstalled
(BOOL) + twitter
(BOOL) + twitterWithMessage:
(BOOL) + twitterProfileForUsername:
(NSString *) + twitterAppStoreId
Instagram
(BOOL) + instagramIsInstalled
(BOOL) + instagram
(BOOL) + instagramCamera
(BOOL) + instagramProfileForUsername:
(NSURL *) + urlForInstagramImageAtFilePath:error:
(NSString *) + instagramAppStoreId
Custom Application
(BOOL) + applicationIsInstalledWithScheme:
(BOOL) + applicationWithScheme:andAppStoreId:
(BOOL) + applicationWithScheme:andPath:
(BOOL) + applicationWithScheme:appStoreId:andPath:

Method Documentation

+ (BOOL) safariWithURL: (NSURL *)  url

Opens the given URL in Safari.

Definition at line 49 of file NIInterapp.m.

+ (BOOL) googleMapAtLocation: (CLLocationCoordinate2D)  location

Opens Google Maps at the given location.

Source for URL information: http://mapki.com/wiki/Google_Map_Parameters.

Definition at line 65 of file NIInterapp.m.

+ (BOOL) googleMapAtLocation: (CLLocationCoordinate2D)  location
title: (NSString *)  title 

Opens Google Maps at the given location with a title.

Definition at line 74 of file NIInterapp.m.

+ (BOOL) googleMapDirectionsFromLocation: (CLLocationCoordinate2D)  fromLocation
toLocation: (CLLocationCoordinate2D)  toLocation 

Opens Google Maps with directions from one location to another.

Definition at line 84 of file NIInterapp.m.

+ (BOOL) googleMapWithQuery: (NSString *)  query

Opens Google Maps with a generic query.

Definition at line 95 of file NIInterapp.m.

+ (BOOL) phone

Opens the phone app.

Definition at line 110 of file NIInterapp.m.

+ (BOOL) phoneWithNumber: (NSString *)  phoneNumber

Make a phone call with the given number.

Definition at line 116 of file NIInterapp.m.

+ (BOOL) sms

Opens the phone app.

Definition at line 135 of file NIInterapp.m.

+ (BOOL) smsWithNumber: (NSString *)  phoneNumber

Start texting the given number.

Definition at line 141 of file NIInterapp.m.

+ (BOOL) mailWithInvocation: (NIMailAppInvocation *)  invocation

Opens mail with the given invocation properties.

Definition at line 162 of file NIInterapp.m.

+ (BOOL) youTubeWithVideoId: (NSString *)  videoId

Opens the YouTube video with the given video id.

Definition at line 197 of file NIInterapp.m.

+ (BOOL) appStoreWithAppId: (NSString *)  appId

Opens the App Store page for the app with the given ID.

Definition at line 500 of file NIInterapp.m.

+ (BOOL) iBooksIsInstalled

Returns YES if the iBooks application is installed.

Definition at line 212 of file NIInterapp.m.

+ (BOOL) iBooks

Opens the iBooks application.

If the iBooks application is not installed, will open the App Store to the iBooks download page.

Definition at line 218 of file NIInterapp.m.

+ (NSString *) iBooksAppStoreId

The iBooks App Store ID.

Definition at line 230 of file NIInterapp.m.

+ (BOOL) facebookIsInstalled

Returns YES if the Facebook application is installed.

Definition at line 244 of file NIInterapp.m.

+ (BOOL) facebook

Opens the Facebook application.

If the Facebook application is not installed, will open the App Store to the Facebook download page.

Definition at line 250 of file NIInterapp.m.

+ (BOOL) facebookProfileWithId: (NSString *)  profileId

Opens the Facebook profile with the given id.

Definition at line 262 of file NIInterapp.m.

+ (NSString *) facebookAppStoreId

The Facebook App Store ID.

Definition at line 269 of file NIInterapp.m.

+ (BOOL) twitterIsInstalled

Returns YES if the Twitter application is installed.

Definition at line 283 of file NIInterapp.m.

+ (BOOL) twitter

Opens the Twitter application.

If the Twitter application is not installed, will open the App Store to the Twitter download page.

Definition at line 289 of file NIInterapp.m.

+ (BOOL) twitterWithMessage: (NSString *)  message

Begins composing a message.

Definition at line 301 of file NIInterapp.m.

+ (BOOL) twitterProfileForUsername: (NSString *)  username

Opens the profile for the given username.

Definition at line 309 of file NIInterapp.m.

+ (NSString *) twitterAppStoreId

The Twitter App Store ID.

Definition at line 317 of file NIInterapp.m.

+ (BOOL) instagramIsInstalled

Returns YES if the Instagram application is installed.

Definition at line 397 of file NIInterapp.m.

+ (BOOL) instagram

Opens the Instagram application.

If the Instagram application is not installed, will open the App Store to the Instagram download page.

Definition at line 403 of file NIInterapp.m.

+ (BOOL) instagramCamera

Opens the Instagram camera.

Definition at line 415 of file NIInterapp.m.

+ (BOOL) instagramProfileForUsername: (NSString *)  username

Opens the profile for the given username.

Definition at line 422 of file NIInterapp.m.

+ (NSURL *) urlForInstagramImageAtFilePath: (NSString *)  filePath
error: (NSError **)  error 

Copies an image to a temporary path suitable for use with a UIDocumentInteractionController in order to open the image in Instagram.

The image at filePath must be at least 612x612 and preferably square. If the image is smaller than 612x612 then this method will fail.

Definition at line 430 of file NIInterapp.m.

+ (NSString *) instagramAppStoreId

The Instagram App Store ID.

Definition at line 488 of file NIInterapp.m.

+ (BOOL) applicationIsInstalledWithScheme: (NSString *)  applicationScheme

Returns YES if the supplied application is installed.

Definition at line 331 of file NIInterapp.m.

+ (BOOL) applicationWithScheme: (NSString *)  applicationScheme
andAppStoreId: (NSString *)  appStoreId 

Opens the supplied application.

If the supplied application is not installed, will open the App Store to the specified ID download page.

Definition at line 345 of file NIInterapp.m.

+ (BOOL) applicationWithScheme: (NSString *)  applicationScheme
andPath: (NSString *)  path 

Opens the supplied application.

Definition at line 354 of file NIInterapp.m.

+ (BOOL) applicationWithScheme: (NSString *)  applicationScheme
appStoreId: (NSString *)  appStoreId
andPath: (NSString *)  path 

Opens the supplied application, to the specified path.

If the supplied application is not installed, will open the App Store to the download page for the specified AppStoreId.

Definition at line 363 of file NIInterapp.m.

Generated for Nimbus by doxygen 1.7.4-20110629