Questions tagged [inappstorewindow]

INAppStoreWindow : NSWindow subclass that mimics the appearance of the main window in the Mac App Store application.

INAppStoreWindow is an NSWindow subclass that mimics the appearance of the main window in the Mac App Store application, with an enlarged titlebar and centered traffic lights.

enter image description here

3 questions
7
votes
1 answer

NSSplitView divider on INAppStoreWindow title bar

I'm trying to create a Reeder/Sparrow-like UI to handle the content of my app. Currently I use an NSSplitView with two NSViews inside (the one on the left is the list of content and the other on the right is the "inspector"). What I would like to…
once
  • 73
  • 2
4
votes
0 answers

Centering NSWindow's buttons (traffic lights) on OS X 10.10 Yosemite

In the WWDC '14 sessions, it is explained how to add subviews to a NSWindow title bar, which helps defining a custom height of the title bar. However, I cannot find a way to center the window control buttons (traffic lights) vertically centered. I…
Raffael
  • 1,119
  • 10
  • 20
0
votes
1 answer

InAppStoreWindow, how to reposition the NSView in NSWindow's title bar when resize?

I'm using InAppStorewindow (https://github.com/indragiek/INAppStoreWindow) to cuztomize my NSWindows's title bar. What i'm trying to do is to add a logo (image) to my title bar in center position: NSSize logoSize = self.logo.frame.size; NSRect…
Josh
  • 692
  • 2
  • 9
  • 38