PropertyGrid like control in Mac OS - macos

is there any control in Mac OS like Microsoft PropertyGrid or I need to create it by hand from other simple controls?

No, there's nothing like this in AppKit.
When someone asked this question before, one of the responses mentions a framework called InspectorKit. The original link is broken, but here's a fork: https://github.com/thmghtd/InspectorKit.framework
Or you could create something yourself using components like NSForm and NSTableView.
UIKit for Cocoa Touch does implement something like this in the Settings app.

Related

Develop an iPhoto-like cocoa app for mac OSX

I plan to develop a mac OSX app that has a UI similar to that of iPhoto - a panel on the left and a grid view of images on the right. I am thinking of using NSSplitView to create two panels and using NSCollectionView for the grid.
I guess this must be a pretty popular and common UI pattern for mac apps. I am new to cocoa development. Can anyone with previous experience point me to any related cocoa code samples and design document?
Thanks a lot in advance.
N.B.
This missing piece here is an NSOutlineView in source list mode, put that in your left pane. But otherwise seems like a good place to start.
You might also be interested to see what the developer of Sonora approached this problem; although this is a music app the layout is almost the same.

Cocoa - XCode style notification window

Is the semi-transparant notification window which XCode 4 shows on Snow Leopard and on Lion a standard Cocoa control or is it something custom? I've seen more and more apps with similarly styled popups, and don't want to go about reinventing something if a much cleaner implementation exists in Cocoa. If this is a standard control, could someone tell me the name or point me to the documentation for it?
This is the popup window I am referring to:
This is custom but Matt Gemmell has sample code at http://mattgemmell.com/source. It's called RoundedFloatingPanel.

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.

Graph view like iAd producer

Is there a way to use the same tree graph component as Apple uses for iAd producer? An equivalent would be fine, but if it's already in the cocoa framework, can somebody point to the specific component?
There's a framework for iPhone and Mac called Core Plot, available on Google Code. However, if you're looking to put graphs in the iAd itself, you'd need to find a Javascript-based framework.
Ah, you're looking for a visual layout control. Sorry, the only thing I know of like that is "EFLaceView", but there's no reliable download link to it anywhere. If you google it, you might find it. EFLaceView is a bit different from what's shown in the screenshot (it's more like what you see in Quartz Composer), but it's pretty similar.
Edit: Aha, there's a link to it here: any Cocoa control code that I can use that acts as a patch bay?

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