How to handle files and folders structure after dragging from Finder [closed] - cocoa

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I need to create a simple app that allow user to drag and drop multiple files and folder into some tree list and then display them to user.
A good example of what I need:
What best component should I use?
I just want to take advice before I start.

Your question is too broad, but I'll point you the right direction:
• For your data model, you'll want to use NSTreeController
• For your view, NSOutlineView.
Here are some examples:
• Apple's SourceView - https://developer.apple.com/library/mac/samplecode/SourceView/Introduction/Intro.html
• http://daemonconstruction.blogspot.in/2012/03/simplest-nstreecontroller-example.html

Related

Need UI/UX Design layout name [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am an UI newbie. Can any one please tell what is the "layout" name or what is the layout design called in which the travel portal Cleartrip.com is designed. It has got a "left hand side option" like Flights, Hotel etc in vertical fashion and "right hand side selection" with their accompanied parameters. I know it is minimalist design but is there any specific sort of "name" which is called for this sort for design? I will be very obliged to get answers from experts.
I would describe it as a 3 column fixed width layout with menu navigation on the left column, body/content in the middle and and informational banners on the right column.

Is there any alternative short name for controller [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Is there any alternative short name for controller, I feel this very general word is a little long for typing.
I think people sometimes use Ctrl as a short hand for control, but this is often in the context of Controls like buttons and check boxes.
In MFC (and wxWidgets), they tend to call the Controller class the App, e.g. as in GraphicApp.

Handling dragging files from Finder into a limited-index NSTableView [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have an existing NSTableView set up to accept filename dragging from finder. I need to limit the TableView to 10 entries max.
If a user drags in more files than the available slots, should I accept the drop and skim off any excess files, or should I reject the drop?
I'd say, fill the remaining slots but reject the drop. Return YES from -validateDrop:... but NO from -acceptDrop:....
That way, there will be some indication to the user that not all entries were added, but you'll helpfully add the items which can be added.

What's the recommended way to use "question mark" icon? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I develop a desktop application, and I'd like to add a "question mark" icon besides one of the textbox (that describes the meaning of that textbox).
My question is what's the common way to use the question mark:
Should I show the text when hovering on the question mark? e.g. using a tooltip?
Should I show the text just after clicking on the question mark?
Thank you!
I suggest you show the tooltip on hover. That is one click less for me as a user.
That aside another thing to consider while constructing a forms based user interface is to label the controls descriptively enough such that users don't need any further help beyond the component label. If the tooltip is your primary means of conveying the meaning of the control, you definitely have to rethink the form design. Basically don't use tooltips as an affordance, a placeholder with 2-3 words as additional description is a better first choice.
The only place where I see click to reveal tool-tips being really useful is in a touch interface.

Breakpoint isn't breaking [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Trying my hand at Mac Cocoa for the first time. Lion and XCode 4.1.
My little app is supposed to save a date and a task. I'm using 2 buttons, a scroll view, and an array controller. One button is for adding, the other for deleting.
The add button has no effect, and execution doesn't stop at a breakpoint in the handler. I know it's a broad question, but can anyone point me at what to look at? I think it's all wired correctly, but obviously not.
Make sure you actually connected your buttons to an action, either on a specific desired target or on the First Responder.

Resources