Cocoa: Create iTunes/Things like Sidebar with Xcode 4.0 - objective-c

Does anyone know how I can create a iTunes/Things like Sidebar with Xcode 4.0 (Screenshot: http://i.stack.imgur.com/7uvCt.png)?
I'm pretty new to this and tried to play around with NSSplitView and NSTableView, but I've no idea how to get the "Title" (like "Erfassen" or "Fokussieren") and the Badges with the Numbers ("8" in Eingang, "4" in Heute) in it.
Thanks a lot!

Here is another good pre-made solution:
https://github.com/perspx/PXSourceList

Use NSOutlineVIew instead of NSTableView. I suggest using a tutorial for doing this. It's pretty complicated to newbies.
http://www.osxentwicklerforum.de/index.php?page=Thread&postID=117417&highlight=sidebar#post117417

Related

How to display multiple images in Cocoa for OSX?

What I'm trying to achieve sounds pretty simple: regular simple window with a text field, view ,and a button.
In the field I'm placing the number (32 for example) and after I hit the button my view should be filled with 32 images. Don't really know how to accomplish this since I'm pretty new to Cocoa development.
So far I was just able to hardcode three NSViews and display 3 images at a time...which is not really what I want. So if anyone have any thoughts or hints I would totally appreciate it!
Thank you
You can use IKImageBrowserView. Take a look at ImageBrowser sample code.

master detail and single view application mixed

I am new here and new to iOS, so my apologies in advance if my question is silly.
I have just finished a course on iOS and Xcode and learnt how to build the different types of apps, like master-detail, tabbed or single view applications.
My question is : Is it possible to build an app that would be for example a master-detail app but would look like a tabbed one on one of the views and would look like a page-based on another view? In other words is it possible to create an app that would be a mix of several types ? I have Googled everywhere but I can't find anything. I may be using the wrong key words as on the top of that, I am French. I am not looking for precise explanations, just if somebody could point me in the right direction where to look and continue studying.
Thanks in advance and have a nice day.
Well am not sure if this is exactly what you are looking for but you can take a look at this example. Its a combination of UISplitViewController & UITabBarController
Custom UISplitViewController for iPad

Create a complex custom nstextfieldcell

I'm trying to create a custom NSTextFieldCell for a NSTableView. I want to do something like the email listing provided by Mail (example below).
I found some references here and here, but I'm not able to evolve.
I think that it's not as simple as a multiline text. I think the cell should have predefined places, like the timestamp on the upper right corner, the attchment icon, etc... This "placeholders" should be always at the same place, regardless the text size. I'm thinking about embeeded objects.
Please, could you help me? An example or sample code is very welcome.
EDIT: I'm looking for a MAC OS X Lion (10.7.x) solution.
Based on Monolo comment, I googled view-based table view. I found this excellent tutorial and followed it and I succeeded.
I also found this OS X Developer Library document regarding view-based programming guide. Very good too.

What would be the bet way to create a Front Row style menu?

I'm working on a little program and would like to implement a menu in the style that is used in the Front Row application. I know this is an extremely open ended question but what would be the best way to go about creating such a thing?
I thought I could maybe use a NSTableView but from the looks of it, that seems overly complicated to get the scrolling to work correctly.
I'm wondering if I should just code my own menu view from scratch but wouldn't really know where to begin to start that.
Any thoughts or pointers would be great.
Thanks,
Apple provides sample code that shows how to implement a fullscreen, list-like menu:
https://developer.apple.com/library/mac/#samplecode/CoreAnimationKioskStyleMenu/Introduction/Intro.html
The code uses no AppKit classes (like NSTableView). The UI is made with Core Animation.
Another good core animation sample to create Front Row like Menus can be found in the following blog post:
http://bill.dudney.net/roller/objc/entry/20080111

Library for displaying image sets on an iPad

I'm looking for some cool libraries out there to display a bunch of images in my iPad application.
I think they are already out there, and I don't have to start from scratch, but I can't find some good ones.
Check out AQGridView as well.
Check out KTPhotoBrowser, I use it in a universal app, and it works pretty good.
Also, search Github : Photo Gallery for more open-source solutions.
See the answers to these questions on Stack Overflow:
How To Create A Gallery on iOS
float:left in objective-c
There are probably more questions about the same subject. Seek and you shall find.
I would simply create a web page with all the images, and then display it using UIWebView.
Did you want to do the coding yourself?
I found the Apple example "LazyTableImages" to be a useful and elegant way to display many images in a table view. It's important to a) keep the scrolling nice and smooth, and b) not freeze the user interface while downloading.
Have you tried using a UIImageView?