Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

GreySyntax/mGrab

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is mGrab?

mGrab is a miniature API wrapper for TinyGrab '2.0', this was origonally developed by NSPwn for SB2Cloud. This is designed to work within SpringBoard on iOS so yeah it might not work for you.

How do i use it?

The implementation file is self explanatory. [mGrab error] will contain the last error message, [mGrab url] will return the url of the last upload.

mGrab *grab = [[mGrab alloc] initWithEmail:@"testuser@yoursite.com" andPassword:@"password"];

if (! [grab login])
{
	//Failed to login
	return NO;
}

NSString *url = [grab upload:@"/Users/somebody/Desktop/NicePicture.png"];

if (url != nil)
{
	//Sweet everything worked, url returned
	return url;
}

NSLog(@"mGrab error: %@", [mGrab error]);
return @"";

About

TinyGrab class for iOS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.