• 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
Re: Is the button group in Safari a general widget ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: Is the button group in Safari a general widget ?
  • From: Fritz Anderson <email@hidden>
  • Date: Fri, 23 Jan 2015 10:47:56 -0600

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


_______________________________________________

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


References: 
 >Is the button group in Safari a general widget ? (From: Aaron Lewis <email@hidden>)

  • Prev by Date: Re: Is the button group in Safari a general widget ?
  • Next by Date: Re: What's up with the Cocoa Text System?
  • Previous by thread: Re: Is the button group in Safari a general widget ?
  • Next by thread: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
  • Index(es):
    • Date
    • Thread