# Simple-Share for iOS

## Overview
Simple-Share is an easy drop-in library for sharing on iOS.

### Supported Shares
- Facebook (iOS 4/5 uses facebook sdk, iOS 6 uses integrated social framework)
- Twitter (iOS 5 only)
- Mail
- Safari

## Instructions
First checkout the submodules:
```bash
git submodule init
git submodule update
```
Then run ```./build.sh``` and drop the libsimple-share.a file into your Xcode project.
Copy the include folder also to your project and set the "Header Search Path" to this folder.

you can share an URL to Facebook with this single line:

```objective-c
[facebookShare shareUrl:[NSURL URLWithString:@"http://www.felixschulze.de"]];
```

Twitter:
```objective-c
[simpleTwitterShare shareText:@"Some text to share"];
```

Mail:
```objective-c
[simpleMailShare shareText:@"Some text" subject:@"Some subject" isHTML:NO];
```



## Sample App
The project also includes a sample iOS App

## License
Apache License, Version 2.0 - See LICENSE
# Simple-Share for iOS

## Overview
Simple-Share is an easy drop-in library for sharing on iOS.

### Supported Shares
- Facebook (iOS 4/5 uses facebook sdk, iOS 6 uses integrated social framework)
- Twitter (iOS 5/6 only)
- Mail
- Safari

## Instructions
First checkout the submodules:
```bash
git submodule init
git submodule update
```
Then run ```./build.sh``` and drop the libsimple-share.a file into your Xcode project.
Copy the include folder also to your project and set the "Header Search Path" to this folder.

you can share an URL to Facebook with this single line:

```objective-c
[facebookShare shareUrl:[NSURL URLWithString:@"http://www.felixschulze.de"]];
```

Twitter:
```objective-c
[simpleTwitterShare shareText:@"Some text to share"];
```

Mail:
```objective-c
[simpleMailShare shareText:@"Some text" subject:@"Some subject" isHTML:NO];
```



## Sample App
The project also includes a sample iOS App

## License
Apache License, Version 2.0 - See LICENSE
Add iOS6 social twitter support
Add iOS6 social twitter support
