How to create this kind of panels in Cocoa? - cocoa

Github released their own native client on the Mac. Upon launching the client, you will get this welcome panel:
In Cocoa framework, how to create something like it?
On a side note, they don't use Cocoa. They use Chameleon Project

An NSImageView would display a background image just fine ...

Related

can we open any image in editor in iOS8?

in iOS8,
what developers need to do to use image editor which is introduced in iOS8.
Let's say I have an image in our app and i want to open in editor environment, can we do it using photo framework or any other framework. if Yes, then please suggest something.

Full screen-like Mail.app compose pane

If you compose a message in Mail.app in full screen you get something that looks like a modal view controller on iPad. But what is it in the Mail application on OSX Lion? How do you accomplish something like that?
Is it something custom made for mail? Or is it something that's available to all developers?
No, unfortunately there isn't. But I guess it isn't too hard to code.
Just create a new window and add it as a sub-window of your main window using the addChildWindow:ordered: method.
You can do the animation with setFrame:display:animate:

Building a WP7 app with tiles using standard controls

I would like to build an app with an interface with touch-enabled tiles similar to WP7 home screen tiles with a background color and different textblocks. Do you know how can I do it using standard controls? Are there already made user controls that can be used for this?
Creating something like the home/start screen could be confusing to users. (You wouldn't create a PC app which looks like a desktop.) Creating something like the hub experiences may be more appropriate.
Have a look at the HubTile in the toolkit. It was created for just this scenario.

How to implement a UITabBar view in Mac OS X applications?

In my Mac application I'd like to implement a view that simulates UITabBar from iOS.
What's the preferred way to implement this? Use NSOutlineView , NSTableView, or something else?
For a native Mac app, the equivalent of a UITabBar is an NSTabView. If you want to go for the iOS look, you either have to roll your own with some NSView subclass or take a look at UMEKit.
Chameleon may also be an option, but it currently doesn't implement UITabBar, this might change in the future.
If you want to follow a trend of making your Mac app with the UIKit look-and-feel
you might want to take a look at the Chameleon Project - note the status of the project on the developer's blog. However, the project source is on github now, and people are helping out.

How to create a cocoa app windows like tweetie

I'm new to cocoa app dev, and I'm searching a solution to create a windows like the tweetie main windows with a left tool bar and a panel that point to the selected icon.
like this screenshot : http://i.stack.imgur.com/qvxWu.jpg
could anyone help me?
It's likely that a lot of the Tweetie UI is implemented using custom controls. You'll want to look into subclassing NSView and how to handle drawing and mouse events. There's nothing built into the Cocoa framework for this.
The NSView documentation has info on view programming, drawing, and event handling. If you're new to Cocoa, you may want to start off with something built in, though, as this will be a lot of work (and requires a pretty good understanding of how the framework works).

Resources