How to make UISplitViewController behave ?

2015-10-11 Thread Gerriet M. Denkmann
iPad / iPhone Master-Detail app. iOS 9.0, Xcode 7.0 Rotating the iPad to Portrait my AppDelegate will receive a UIDeviceOrientationDidChangeNotification: 12:23:01.182 -[AppDelegate iPadHasTurned:] and does: UISplitViewControllerDisplayMode newMode = PrimaryOverlay splitV

Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar

2015-10-11 Thread Jens Alfke
> On Oct 11, 2015, at 2:07 PM, Jacek Oleksy wrote: > > The problem can be seen after creating a new project in XCode, adding > toolbar and putting a button on it (with proper style) and then > putting another button on the view. The height differs (24px vs 22px). A button in a toolbar is not an

Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar

2015-10-11 Thread Jacek Oleksy
On Fri, Oct 9, 2015 at 5:21 PM, Richard Charles wrote: > >> On Oct 9, 2015, at 7:41 AM, Jacek Oleksy wrote: >> >> HI All, >> I am creating custom toolbar and placing some buttons in it. I want it >> to look as close to native toolbar as possible (and no, sadly I cannot >> use NSToolbar). > > Are

Re: Data not retained in document based core data app with cocoa bindings

2015-10-11 Thread Richard Charles
> On Oct 11, 2015, at 2:41 AM, Devarshi Kulshreshtha > wrote: > > Looking for more clues :-| You may want to give up on storyboards and swift for the time being. There are a lot of older core data tutorials on the web that could possibly help you. You might also try a book by Hillegass. The

Re: CFBundleSupportedPlatforms issue

2015-10-11 Thread Rick C.
Thanks for all the help everyone. I’m still struggling here though. The binaries in my project are pre-compiled, so they are just under Resources. They are not targets and they are not being compiled in different projects. I thought -sectcreate was just a command-line tool but this seems to

Re: Data not retained in document based core data app with cocoa bindings

2015-10-11 Thread Devarshi Kulshreshtha
Thank you Richard, Jerry. I tried this binding: self.view.window.windowController.document.managedObjectContext and verified by opening the saved xml document in TextEdit, it showed saved info :) but when I am trying to open it using the created app, 'DocumentSample' in my case, it is not showing