Skip to main content

All Questions

0 votes
1 answer
110 views

Drag And Swap Two UIScrollViews (Hover & Swap Effect)

I am creating a photo editor in my app and working on a multiple picture layout option. Currently when the user takes a picture, I display their image in UIImageView nested in a UIScrollView. The ...
Aggressor's user avatar
  • 13.5k
1 vote
0 answers
210 views

How to drag and drop files from my application to the Finder

If I want to drag a text label starting on mouse down event to the Finder in plain c++ (I can mix it with objective c), how can this be done? I have tried this code when mixing c++ and objective c ...
user3811459's user avatar
0 votes
1 answer
537 views

How to do drag and drop on subviews on NSScrollView ? Exactly same as LaunchPad

I have searched a lot. But confused, so i come here to solve my query. I want to make view which is exactly same as LaunchPad of mac os. having expertise on iOS programming not on mac. This is my ...
Solid Soft's user avatar
  • 1,912
0 votes
1 answer
66 views

Implementation of Code Snippet toolbar in cocoa

Does anyone have any suggestions on how to implement in Cocoa a library like in Xcode with drag and drop similar to the code snippets library? I'd like to implement a library which would drag pre-...
user3932488's user avatar
-7 votes
1 answer
87 views

how to Drag UIImage from scrollview to View

I create 5 Uiimage inside scrollview and want to Drag Uimage from scrollview to view to Back image (bottom) But I can't make it Anyone can help me for code or easy example please PS. I ...
Phongsathon Phorbun's user avatar
4 votes
2 answers
1k views

Receiving NSDraggingDestination messages with a WKWebView

I'm porting an OS X app which was using WebView to using WKWebView, the new "modern WebKit API" introduced in OS X Yosemite. My previous WebView subclass supported dropping files onto it by first ...
Antoine Quint's user avatar
0 votes
3 answers
97 views

In iOS7, cannot drag ImageView out of the constraints of parent view to main body?

In iOS, when dragging an UIImageView (red square) using UIPanGestureRecognizer in a scrollview (bar at bottom within another UIImageView), I cannot drag out of the constraints of the bar into the main ...
0--'s user avatar
  • 221
5 votes
1 answer
980 views

With which method has Apple replaced "dragImage:"?

I have an app where I allow the user to drag/drop some data from an NSView, with a custom drag image under the cursor. I just updated to the Xcode 6 beta, and now my drag/drop code won't compile. ...
original_username's user avatar
0 votes
1 answer
218 views

Carrying a touch event from beginning to end in Sprite Kit

I am trying to create an app that creates a sprite node when the touch begins, drags it when the user's finger moves, and drops it when the touch has ended. What I have now simply creates a new sprite ...
cocoamoco's user avatar
2 votes
1 answer
2k views

(iOS) Drag and drop, Snap to grid, Check proper area

I've read all the stuff about drag'n'drop and gestureRecognizer but haven't found the solution. I got "gamefield" 10x10 and I want to implement drag'n'drop with snap to grid and check if element ...
Palindrome's user avatar
3 votes
1 answer
1k views

How do I drag and drop into an NSOutlineView without specifying the row location?

I'm pretty new to Cocoa, and I'm developing an application that does drag/drop from and into NSOutlineView. I've implemented "outlineView:validateDrop:proposedItem:proposedChildIndex", and "...
kevinlee's user avatar
0 votes
0 answers
94 views

How to update label (NSTextfield) without IBAction?

I’m trying to implement а simple mechanic: after draging а file, pass it’s name to lable. But I couldn’t understand how to do this. Here is my code: H file: #import <Cocoa/Cocoa.h> @interface ...
stereojump's user avatar
2 votes
1 answer
877 views

Drag and Drop from the Finder to a NSTableView weirdness

I'm trying to understand how best to impliment drag and drop of files from the Finder to a NSTableView which will subsequently list those files. I've built a little test application as a proving ...
dwkns's user avatar
  • 2,409
0 votes
2 answers
403 views

Drag and drop from Collectionview into ContactViewController doesn't work on iPad

I'm developing an app which uses splitView. I'm using two items in splitView (Called them Customer and Supplier). When I click on one of them I just use one viewController to display (called it: ...
lee's user avatar
  • 8,085
0 votes
1 answer
83 views

UICollectionView in view controller

I am looking for a possibility to drag and drop an image in a collection view cell to a UIImageView in the same view controller but outside of the collection view. The cv is below 5 collection views ...
user3444188's user avatar

15 30 50 per page
1
3 4
5
6 7
16