Latest 0.1.0
Homepage https://github.com/KimDarren/FBQuoteWebView
License MIT
Platforms ios 7.0, requires ARC
Dependencies FBSDKShareKit
Frameworks Foundation, UIKit
Authors
CocoaPods works badge MIT License

blue_book: Share the contents in the web view as QUOTE to Facebook.

Overview screenshot

Before Installation

FBQuoteWebView uses the Facebook SDK (FBSDKShareKit).

If your project is not optimized to Facebook yet, you have to follow the Facebook iOS getting start guide.

Installation

Use CocoaPods.

pod 'FBQuoteWebView'

Usage

Just initialize and use FBQuoteWebView same as UIWebView.

NSString *demoURLString = @"https://github.com/KimDarren/FBQuoteWebView";
NSURL *demoURL = [NSURL URLWithString:demoURLString];
NSURLRequest *request = [[NSURLRequest alloc] initWithURL:demoURL];

_webView = [[FBQuoteWebView alloc] init];
[_webView loadRequest:request];

// Customizable menu title.
_webView.menuTitle = @"Share Quotes";

So simple, right?

Demo

There is a simple DEMO PROJECT using FBQuoteWebView in Demo directory.

pod install before run the demo project.

Screenshots

  • If users highlight any sentences in the FBQuoteWebView, they can see the Share To Facebook item.

    Demo Screenshot 1

  • By touching the item, users can share the link with the QUOTE that they highlighted.

    Demo screenshot 2

License

FBQuoteWebView is under MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "FBQuoteWebView",
    "version": "0.1.0",
    "summary": "Share the contents in the web view as QUOTE to Facebook.",
    "homepage": "https://github.com/KimDarren/FBQuoteWebView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "KimDarren": "korean.darren@gmail.com"
    },
    "source": {
        "git": "https://github.com/KimDarren/FBQuoteWebView.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Classes/*.{h,m}",
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "dependencies": {
        "FBSDKShareKit": [
            "~> 4.11.0"
        ]
    }
}

Pin It on Pinterest

Share This