Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rxwei/xldragdrop
Deprecated. Code from 2012.
https://github.com/rxwei/xldragdrop
Last synced: 15 days ago
JSON representation
Deprecated. Code from 2012.
- Host: GitHub
- URL: https://github.com/rxwei/xldragdrop
- Owner: rxwei
- Created: 2011-12-20T06:25:37.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-09-08T11:09:56.000Z (over 12 years ago)
- Last Synced: 2024-11-11T22:34:19.345Z (2 months ago)
- Language: Objective-C
- Homepage:
- Size: 193 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
README
XLDragDropCreated by Richard Wei on 11-11-21.
Copyright (c) 2011 Xinranmsn Labs. All rights reserved.This is an encapsulation of NSView Drag & Drop APIs (NSDraggingDestination). If you want to add functionalities like dragging files in, consider to use XLDragDrop.
This is written with ARC (Objective-C Automatic Reference Counting) enabled, and therefore does not support either gcc or llvm-gcc. Please use Apple LLVM Compiler (3.0 or later).
Build. Add XLDragDrop.framework to your project.
Implementation:
Initialize XLDragDropView with -initWithFrame:normalBackgroundImageName:. Don't forget to set highlightedBackgroundImageName and acceptedBackgroundImageName after initialization. Then implement delegate methods in your controller class.