Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6828039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:20:12+00:00 2026-05-26T22:20:12+00:00

I am looking for a 2D slider in Cocoa. It should be something similar

  • 0

I am looking for a 2D slider in Cocoa.

It should be something similar to this:

a busy cat
(source: wolfram.com)

which is Mathematica’s 2D slider look here. It seems that there is nothing like this in Xcode interface builder.

Basically my cocoa interface should show a room seen from above (the space where the 2d slider can move), and when I click on it, the 2D cursor moves to that location in the room.
Any ideas on how to do this?

An easy way would be to have 2 orthogonal 1D slider, but it’s not a nice looking solution.

Cheers!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T22:20:12+00:00Added an answer on May 26, 2026 at 10:20 pm

    The really simple way: subclass NSView, and use the Three-Method Approach to mouse event handling to record the current point (converted to whatever coordinate space you choose, such as 0,0 at the center). In -drawRect:, draw your intersecting lines and “knob” (either directly or by drawing a pre-rendered “knob.png” image, for example). Since NSView inherits from NSResponder, you can use the target/action mechanism to notify your controller when the view’s value changed due to a click or knob-drag.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a jquery plugin slider that can do something like this: http://hitmo-studio.com/contact.html#business-query
I am looking for a slider similar to what is on bing.com. All the
looking at this example of the jquery ui slider http://jqueryui.com/demos/slider/#steps i want to be
This is in regards to the following page: http://kinkarso.com/rayku/slider.html I'm looking to position the
I'm looking without success (maybe cause i don't know how to call this slider)
I'm looking for jquery slider with two arrow.Here is working of jquery slider with
I am looking to create a slider similar to the Yast Timetracker Slider in
I have this jQuery plugin called Easy Slider which I'm implementing on this site
I am looking for a fancy Slider control using JQuery/Javascript. The native JQuery slider
I'm looking to implement the jQuery UI so that the slider bar fills one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.