• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[SOLVED] Re: Is the button group in Safari a general widget ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] Re: Is the button group in Safari a general widget ?


  • Subject: [SOLVED] Re: Is the button group in Safari a general widget ?
  • From: Aaron Lewis <email@hidden>
  • Date: Sat, 24 Jan 2015 11:33:16 +0800

Hi all,

@Jon
Thanks! I just tried UIToolBar, it's exactly what I wanted.

@Fritz
Sorry, I came from Qt world, I'm getting myself familiarised with the
UI Control terms .. I'll use the right terms next time

I meant iOS but I thought these UI Controls are available in both OSX
and iOS so I didn't mention it .. I'll be clear about that next time.

P.S I also tried NSSegmentedControl as you suggested, but UIToolBar
looks more like it

On Sat, Jan 24, 2015 at 12:47 AM, Fritz Anderson
<email@hidden> wrote:
> On 23 Jan 2015, at 10:20 AM, Aaron Lewis <email@hidden> wrote:
>
>> I've seen a lot of apps like Safari. 5 buttons in the bottom
>>
>> Is that a common widget? I couldn't find it on google
>
>
> (Notes ~ “widget” doesn’t have the same meaning in iOS/OS X frameworks that it does on other platforms. You mean “control.” Jonathan Hull just suggested the UIToolbar family, which is an excellent suggestion. I wrote this assuming you were asking about OS X. Because you hadn’t said otherwise. The fundamentals about what’s available, what has to be custom made, and how to ask questions are the same.)
>
> Perhaps you could put what you want to do less telegraphically?
>
> Five buttons on the bottom is not like [desktop] Safari, we can’t use “a lot of apps” as a guide to examples, and if you’re talking about the design of your own application, how many there are and where doesn’t matter. Buttons exist. You can have five of them. You can put them anywhere, singly or together. That is common.
>
> I am guessing that you mean something like NSSegmentedControl [if AppKit]. Apple [often] has a special appearance for segmented controls in its own applications, which are built with private code.
>
> Many developers want that look, but it’s not in AppKit [UIKit]. You have to make your own, or find a third-party library that gives you what you want. Maybe you can get better search results if you try the terms “segmented control Mac”. [Or “… iOS”.]
>
>
>         — F
>



--
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
  • Next by Date: Re: What's up with the Cocoa Text System?
  • Previous by thread: Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
  • Next by thread: Detecting Managed Object Property Change From Undo Redo
  • Index(es):
    • Date
    • Thread