All Questions
20
questions
0
votes
1
answer
280
views
NSOutlineView drag&drop (next to an item) doesn't work for complex items
My basic sample works well for item represented by standard ObjC classes.
See initialisation of self.list in sample below:
- (void) updateViews;
{
NSDictionary *firstParent = [NSDictionary ...
0
votes
0
answers
358
views
NSView based NSTableView – strange bouncing rows for Drag and Drop with NSTableViewDraggingDestinationFeedbackStyleGap
I have a view-based instance of NSTableView for which I’ve been changing the draggingDestinationFeedbackStyle, as most NSTableView Drag and Drop questions have been updated with reference to this ...
0
votes
2
answers
131
views
NSTabView blocking file-drop events active on underlying Window.
I have successfully implemented a file-drop functionality in my app. The Application window has a few NSTabView objects where dropping on them does not work. Anywhere else in the window the file-drop ...
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 ...
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-...
1
vote
3
answers
5k
views
Storyboard won't make button action
For some reason I can't drag and drop from my storyboard button into my View Controller class.
All of the classes are named correctly, and I've tried logging out of my computer, shutting it down, and ...
0
votes
1
answer
103
views
Trigger an event when a UIButton is dragged to a certain point of the screen? Objective C
How would I trigger an event when a draggable button is dragged to a certain point on the screen?
UIButton *btn1 = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[btn1 setFrame:CGRectMake(10.0f, ...
0
votes
2
answers
3k
views
how to drag dynamically created UIImageview in obj c (xcode)
i have gone through the many tutorials to drag an image on screen using touchesmoved method
but most of them are not for dynamically created imageviews
in my project i created 5 UIImageview ...
1
vote
2
answers
262
views
Touches Ended for Multiple Images
I have a application in which I drag and drop images from a scrollview to an area to change the image of that area when an image from the scrollview is dropped onto the area the image changes.
My ...
1
vote
2
answers
890
views
Add Array of Images to a UIScrollView ObjectiveC
I did weeks of searching and finally found an example on Github that suited my needs. It was a trash drag example. I have now edited the example to my needs.
I now have only one problem. in my ...
0
votes
2
answers
2k
views
How to Drag an Image with Gesture Recognition Xcode
I have made a little test to drag views in a UIScrollView to UIView where I can call any action.
I'm trying to be able to make the image I made in the UIScrollView Draggable. I have not been able to ...
0
votes
1
answer
2k
views
Getting 2 Images to Drag in View Xcode
I have 2 images in a view and I applied a drag touch function to the images, and when the image collides with the image at the top of the view it gives you an alert and changes the image at the top of ...
2
votes
1
answer
283
views
NSURL without %
I'm implementing my drag&drop method. How can I get NSUrl without % where spaces should be? I convert NSUrl to NSString later, but I can't tell NSString to replace % with space, because there is ...
4
votes
4
answers
3k
views
Drag&Drop NSURL without "file://"
I'm implementing my drag&drop method. I need that when user drags something on my app window I can get that file URL. NSURL needs to be converted to char. Thats OK. But how to remove file:// from ...
5
votes
1
answer
1k
views
Mac app - drag and drop files into a menubar application
My inspiration for this project is the Droplr and CloudApp mac menubar applications. I have been attempting to implement the code explained here.
However, when I implement the code, the menubar ...