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

  • SEARCH
  • Home
  • 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 782593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:24:36+00:00 2026-05-14T20:24:36+00:00

I need to be able to make a token field with draggable elements like

  • 0

I need to be able to make a token field with draggable elements like the Mac clock format panel (see the following image).

Thanks so much, Alex.

Token Field

  • 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-14T20:24:36+00:00Added an answer on May 14, 2026 at 8:24 pm

    They’re called token fields. Apple has a guide for them. (Without knowing any more details of your goals, that’s about as precise as I can get.)

    Edit

    I noticed the edits to your question. You want something that behaves like System Preference’s date panel. Here’s a breakdown of what I imagine is happening:

    • In the “Time Elements* section, there are objects (models) that implement the pieces of data you can use in the text field (hours, minutes, seconds, etc.).
    • There is also an associated view for drawing these elements in the same style as the token (maybe taken from something in Cocoa, maybe a custom view).
    • NSTokenField objects can accept arbitrary objects, as well as strings. So you can drag these objects from the “Time Elements” section onto the token field. The token field’s delegate than handles these non-string objects.

    The guide linked above contains the information for handling non-string elements in token fields. I imagine all you need to do is create models for the data parts you want to represent, and then render them using a (possibly custom) view.

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

Sidebar

Ask A Question

Stats

  • Questions 508k
  • Answers 508k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer For your custom action assembly you need a config file… May 16, 2026 at 4:13 pm
  • Editorial Team
    Editorial Team added an answer Android exceptions are usually visible at LogCat view, it is… May 16, 2026 at 4:13 pm
  • Editorial Team
    Editorial Team added an answer Dupe with plenty of material to solve your problem: Positioning… May 16, 2026 at 4:13 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm currently building a Java daemon that will need to be able to sign
I need to make kind of a game in Java but I am a
I have database schema for an integration project in which I need to be
I'm terribly new to web development. I'm trying to make a pretty simple site
I'm going to write my first non-Access project, and I need advice on choosing
I need to write a captcha service for the integration software I am working
In C++ , is it possible to make a multi-statement macro with nested if
I'm looking for a way to pass some sort of credentials or Authorization token
I got a contact form, I need to filter some words. I'm doing it
I'm experiencing the same problem in this previous stackoverflow.com post . Specifically, I seem

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.