开发者

Cocoa: Create iTunes/Things like Sidebar with Xcode 4.0

开发者 https://www.devze.com 2023-02-17 08:15 出处:网络
Does anyone know how I can create a iTunes/Things like Sidebar with Xcode 4.0 (Screenshot: http://i.stack.imgur.com/7uvCt.png)?

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 wit开发者_JAVA百科h 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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号