Latest 0.1.0
Homepage https://github.com/idme/IDmeDraggableLabel
License MIT
Platforms ios 5.0, requires ARC
Authors

A proof-of-concept on how to drag a UILabel object into a UIWebView input/text field

Background

This small library, developed in early 2014, allows you to drag a UILabel to any web input/text field. Upon doing so, the text in the UILabel is transferred to the input/text field in the webview.

Note

This is a proof of concept. The code isn’t clean nor is it documented. It’s offered as-is to be used freely in any project.

No further updates are planned.

Installation Instructions

CocoaPods Installation

pod 'IDmeDraggableLabel'

Manual Installation

Copy the IDmeSegmentedControl folder into your project.

Code Snippet

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    _window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];

    IDmeDraggableLabelController *draggableLabelController = [[IDmeDraggableLabelController alloc] initWithDraggableLabelText:@"Drag this Label" forWebsite:@"http://www.google.com/"];
    UINavigationController *controller = [[UINavigationController alloc] initWithRootViewController:draggableLabelController];
    [_window setRootViewController:controller];

    [_window makeKeyAndVisible];

    return YES;
}

Created and maintained by

Arthur Ariel Sabintsev

Latest podspec

{
    "name": "IDmeDraggableLabel",
    "version": "0.1.0",
    "summary": "A proof-of-concept on how to drag a UILabel object into a UIWebView input/text field.",
    "homepage": "https://github.com/idme/IDmeDraggableLabel",
    "platforms": {
        "ios": "5.0"
    },
    "source": {
        "git": "https://github.com/idme/IDmeDraggableLabel.git",
        "tag": "0.1.0"
    },
    "source_files": "IDmeDraggableLabel/*.{h,m}",
    "requires_arc": true,
    "authors": {
        "Arthur Ariel Sabintsev": "[email protected]"
    },
    "license": "MIT"
}

Pin It on Pinterest

Share This