Putting a window in main menu xCode - xcode

Is there a way to place a window in the main Menu on xCode?
Also, is there a decent way for a beginner to learn objective C to create a User Interface?

You don't put windows on menus, in Cocoa. But you are certainly talking about a "view", which is a general container for subviews, buttons, images and alike.

Related

What Cocoa APIs should I be learning to build a UI similar to Tictoc? (pics included)

I really dig the way Tictoc anchors to its toolbar item but I'm not sure which APIs I should be learning to replicate that feature. The two things I'm hoping to learn are:
Adding an item to the system menu bar
Anchoring my window to the menu bar
Here's a screenshot for anyone who hasn't had a chance to use this app:
To add an item to the menu bar, check out NSStatusItem.
There are a few options for windows resembling the one in your screenshot, but I recommend Matt Gemmell's MAAttachedWindow. There's a link to it here, including a project which does the NSStatusItem thing.

Text tabbed interface new to Lion

I like the new tab interface displayed in the Lion “About This Mac” window. It's not gorgeous, but I think it's extremely useful in presenting information where icons would most probably fail to do a good job.
Question is: is that UI available from standard Cocoa components? I.e., can something similar to it be built with Xcode, without resorting to custom classes with custom drawing code?
Isn't that just a toolbar without images?

How can I create an iOS-style toolbar in my Mac Cocoa application?

Several iLife '11 applications on the Mac use iOS-style black toolbars. For instance, the toolbar at the bottom of this screenshot of iPhoto:
(source: pocket-lint.com)
This sort of look is available in the iOS SDK as "UITabBar."
I am wondering if there is an easy way to achieve this in my ordinary, non-iOS Mac application. If not, what would be the best way to go about creating this effect?
There's nothing that will give you this view out of the box. You'll need to build it yourself.
The simplest method would be to create a custom view with a gradient background and place monochrome buttons in it.
Better would be to create a set of classes similar to NSToolBar that handle positioning, highlighting etc. Even better, build it and then open-source it :-)
However, you'll have to build it yourself. Apart from NSButton there's not much that will help in the pre-existing objects.

Presenting multiple views sequentially - OS X

Following up on this question: Kiosk Applications - OS X programming - Multiple monitors
I'm an iPhone programmer just starting out with OS X programming, and I'd like to know how I can present multiple views sequentially.
What I basically need to do is - Have a welcome screen with a button called "Click here to continue". Once the user clicks that button, it needs to completely replace the view with another view presenting a table view of options that the user can choose from.
I actually need to create a couple more screens, but any help on how to get this basic setup can help me get started. The problem I'm having is almost all the mac application source code available on Apple's website seems to be oriented towards single window applications popping up multiple windows for any additional tasks.
Thanks,
Teja
I enjoyed using M3NavigationView from Martin Pilkington http://www.mcubedsw.com/dev
Basically it pushes and pops NSViewControllers on a stack and allows you to animate between them. I am doing this for a quick setup wizard on an app I am working on.
Make a tabless tab view, and put each of your views into one of the tab view items. In Interface Builder, each tab view item will have a view automatically, so you just need to put all of the subviews for that tab into that view.
You can then switch tabs from code—e.g., in response to the “Next” button.

How to implement gradient button bar in Cocoa

Some Cocoa applications (for instance, Mail and Automator) have a special control usually in the bottom of their window:
alt text http://img150.imageshack.us/img150/9084/picture2vm3.png
Could you share the best practices of making the same action bar with standard images and popup buttons?
Thanks.
You probably want BWToolkit

Resources