Drag-n-drop Programming For Os X

(Redirected from Drag-and-drop)
An image is dragged onto a web browser icon, which opens the image in the web browser.

In computergraphical user interfaces, drag and drop is a pointing device gesture in which the user selects a virtual object by 'grabbing' it and dragging it to a different location or onto another virtual object. In general, it can be used to invoke many kinds of actions, or create various types of associations between two abstract objects.

Cross-platform code builder and library manager. Continuous and IDE integration. Arduino and MBED compatible. Ready for Cloud compiling. Development Platforms - Embedded and Desktop development platforms with pre-built toolchains, debuggers, uploaders and frameworks which work under popular host OS: Mac, Windows, Linux (+ARM) Embedded Boards - Rapid Embedded Programming, IDE. Welcome to Drag ‘n Drops! We specialize in custom advertising solutions and rich media development. The best way to get a feel for our company is to jump right in and take a look at our projects.

As a feature, drag-and-drop support is not found in all software, though it is sometimes a fast and easy-to-learn technique. However, it is not always clear to users that an item can be dragged and dropped, or what is the command performed by the drag and drop, which can decrease usability.[1]

Actions[edit]

The basic sequence involved in drag and drop is:

  • Move the pointer to the object
  • Press, and hold down, the button on the mouse or other pointing device, to 'grab' the object
  • 'Drag' the object to the desired location by moving the pointer to this one
  • 'Drop' the object by releasing the button

Dragging requires more physical effort than moving the same pointing device without holding down any buttons. Because of this, a user cannot move as quickly and precisely while dragging (see Fitts' law). However, drag-and-drop operations have the advantage of thoughtfully chunking together two operands (the object to drag, and the drop location) into a single action.[2]Extended dragging and dropping (as in graphic design) can stress the mousing hand.

A design problem appears when the same button selects and drags items. Imprecise movement can cause an attempt to select an object to register as a dragging motion.

Another problem is that the target of the dropping can be hidden under other objects. The user would have to stop the dragging, make both the source and the target visible and start again. In classic Mac OS the top-of-screen menu bar served as a universal 'drag cancel' target. This issue has been dealt with in Mac OS X with the introduction of Exposé.

In Mac OS[edit]

Drag and drop, called click and drag at the time, was used in the original Macintosh to manipulate files (for example, copying them between disks[3] or folders.[4]). System 7 added the ability to open a document in an application by dropping the document icon onto the application's icon.

In System 7.5, drag and drop was extended to common clipboard operations like copying or moving textual content within a document. Content could also be dragged into the filesystem to create a 'clipping file' which could then be stored and reused.

For most of its history Mac OS has used a single button mouse with the button covering a large portion of the top surface of the mouse. This may mitigate the ergonomic concerns of keeping the button pressed while dragging.

In OS/2[edit]

The Workplace Shell of OS/2 uses dragging and dropping extensively with the secondary mouse button, leaving the primary one for selection and clicking.Its use like that of other advanced Common User Access features distinguished native OS/2 applications from platform-independent ports.

In HTML[edit]

The HTML5 working draft specification includes support for drag and drop.[5] HTML5 supports different kinds of dragging and dropping features including:

  • Drag and Drop texts and HTML codes
  • Drag and Drop HTML elements
  • Drag and Drop files

Based on needed action, one of the above types can be used. Note that when an HTML element is dragged for moving its current position, its ID is sent to the destination parent element; so it sends a text and can be considered as the first group.

Google's web-based e-mail application Gmail supports drag-and-drop of images and attachments in the latest Google Chrome browser and Apple's Safari (5.x). And Google Image search supports drag & drop.

On a touch screen[edit]

Touch screen interfaces also include drag and drop, or more precisely, long press, and then drag, e.g. on the iPhone or Android home screens.

iOS 11 implements a drag-and-drop feature which allows the user to touch items (and tap with other fingers to drag more) within an app or between apps on iPads.[6] On iPhones, the functionality is only available within the same app that the user started the drag.[7]

In end-user programming[edit]

Drag and drop is considered an important program construction approach in many end-user development systems. In contrast to more traditional, text-based programming languages, many end-user programming languages are based on visual components such as tiles or icons that are manipulated by end users through drag-and-drop interfaces. AgentSheets,[8] a programming environment for kids, introduced the modern notion of drag and drop blocks programming providing 4 core affordances: 1) Blocks that are end-user composable, 2) blocks are end-user editable, 3) blocks can be nested to represent tree structures, 4) blocks are arranged geometrically to define syntax. Drag and drop is also featured in many shader editing programs for graphics tools, such as Blender.[9] Drag and drop also features in some video game engines, including Unreal Engine, GameMaker Studio, Construct 2 and, with expansion, Unity (game engine).

Examples[edit]

A common example is dragging an icon on a virtual desktop to a special trashcanicon to delete a file.

Further examples include:

  • Dragging a data file onto a programicon or window for viewing or processing. For instance, dropping an icon that represents a text file into a Microsoft Word window signifies 'Open this document as a new document in Word'
  • Moving or copying files to a new location/directory/folder,
  • Adding objects to a list of objects to be processed,
  • Rearranging widgets in a graphical user interface to customize their layout,
  • Dragging an attribute onto an object to which the command is to be applied,
    • e.g. dragging a color onto a graphical object to change its color,
  • Dragging a tool to a canvas location to apply the tool at that location,
  • Creating a hyperlink from one location or word to another location or document.
  • Most word processors allow dragging selected text from one point to another.
  • Dragging a series of code blocks such as in Blender for designing shaders and materials.

See also[edit]

References[edit]

  1. ^Jakob Nielsen, 'Top-10 Application-Design Mistakes,' http://www.useit.com/alertbox/application-mistakes.html (19 February 2008).
  2. ^Buxton, W. (1986). 'Chunking and Phrasing and the Design of Human-Computer Dialogues'. Proceedings of the IFIP World Computer Congress. pp. 475–480. Archived from the original on 7 June 2004.
  3. ^'Disk Swapper's Elbow'. folklore.org.
  4. ^'The Grand Unified Model (2): The Finder'. folklore.org.
  5. ^'HTML5 W3C Working Draft'. w3.org.
  6. ^'iPad Drag and Drop, Multitasking, and Split View in iOS 11: Everything you need to know!'. iMore. Retrieved 10 October 2017.
  7. ^Vincent, James (7 June 2017). 'The iPhone is also getting drag and drop with iOS 11'. The Verge. Retrieved 23 June 2017.
  8. ^'Moving Beyond Syntax: Lessons from 20 Years of Blocks Programing in AgentSheets'(PDF). Journal of Visual Languages and Sentient Systems. Archived from the original(PDF) on 28 April 2019. Retrieved 29 November 2018.
  9. ^'Render – Blender Reference Manual'. blender.org. Archived from the original on 23 March 2015. Retrieved 24 January 2014.
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Drag_and_drop&oldid=966166490'

Scottish cross-platform programming specialist RunRev has announced the first open source edition of its LiveCode 6.0 rapid application development platform.

White Papers

  • Getting Cloud Management Right
  • 2020 Trends to Watch: Cybersecurity
More >>

Reports

  • The New Face of IT Automation
  • State of Cybersecurity Incident Response
More >>Programming

Webcasts

  • The Changing Face of Threat Intelligence
  • Emerging Security Threats Your Enterprise Should Be Aware Of
More >>

Suitable for building both mobile and desktop apps, LiveCode 6.0 comes just five weeks after the close of a successful Kickstarter campaign, which succeeded in raising $750,000 to fund development.

Drag-n-drop Programming For Os X 11

As well as being the company's first free Community Edition, LiveCode 6.0 also brings with it several performance improvements with the promise of better image caching and better workflow, with autocomplete added to the message box and a new Project Browser interface. A selection of minor updates and bug fixes have also been addressed.

LiveCode 6.0 is released under the GPL3 license and this allows anyone interested in developing mobile apps to do so with the LiveCode Community Edition. This freedom comes with the caveat that users must also release their app source code for public access.

Drag-n-drop Programming For Os X 7

This Community Edition of LiveCode 6.0 can be used to build apps for Windows, Mac OS, Linux, iOS, and Android. There are also server versions available here for Linux, Mac OS X, and Windows (to deliver web content) as well.

With a drag-and-drop interface and easy-to-learn English-like language, the firm says that LiveCode puts the power of programming in the hands of students, business professionals, and novice developers, regardless of their familiarity with programming.

Drag And Drop Programming

RunRev CEO Kevin Miller said, 'By introducing the first open source version to the community, we're introducing significant new features that our customers have been asking for, all designed to improve productivity and workflow. For users new and old, LiveCode 6.0 is our most exciting release yet and will truly change the way people learn and establish careers around programming and development.'