omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Dialog view with letter scrubbing

    Pythonista
    4
    5
    3428
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scj643
      scj643 last edited by

      A dialog view with a side letter slider to quickly find items starting with a letter would be nice. Like how it works in the stock music app.

      1 Reply Last reply Reply Quote 1
      • JonB
        JonB last edited by

        I believe this is possible using objc. You would have to implement a few delegates in objc. I checked (using a delegate with a custom getattr to see what calls the TableView sends to the delegate object) and the various index delegate methods are not implemented in the ui module, so we have to use obj_util.

        Phuket2 1 Reply Last reply Reply Quote 0
        • scj643
          scj643 last edited by

          The main point is to have it in the dialogs module for easy use.

          1 Reply Last reply Reply Quote 0
          • Phuket2
            Phuket2 @JonB last edited by

            @JonB , I am hoping one of the new ui elements @omz will make at some point is the alphabetical letter scrubber(the kicker for him is supporting locale settings 😱) . Actually, I think it's my least liked Apple iOS interface element in terms of its implementation. But it's often great to have it. And I also don't have a better idea. It would not make sense we will see it in dialogs before its apart of ui

            1 Reply Last reply Reply Quote 0
            • shaun-h
              shaun-h last edited by

              If you are talking about the list of values down the right hand side of a tableview. I have created a uitableview implementation with objc_utils it doesn't currently implement a delegate or all of the data source protocol but might help you out if you want to implement your own.

              https://gist.github.com/shaun-h/e86a8a3b5ea2ca16f136

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB Forums | Contributors