Re: restricting InterfaceOrientations

2014-08-07 Thread Gerriet M. Denkmann
On 8 Aug 2014, at 12:14, Roland King wrote: > >>> >>> >>> Why not just put them in the Deployment Info in the General tab so they go >>> in the plist file like you’ve been meant to since .. not sure .. iOS6 >>> perhaps. >> >> My Info.plist contains: >> >> Supported interface orientations

Re: restricting InterfaceOrientations

2014-08-07 Thread Roland King
>> >> >> Why not just put them in the Deployment Info in the General tab so they go >> in the plist file like you’ve been meant to since .. not sure .. iOS6 >> perhaps. > > My Info.plist contains: > > Supported interface orientations = > > UIInterfaceOrientationPortrait > UIInte

Re: restricting InterfaceOrientations

2014-08-07 Thread Gerriet M. Denkmann
On 8 Aug 2014, at 11:39, Quincey Morris wrote: > On Aug 7, 2014, at 20:50 , Gerriet M. Denkmann wrote: > >> Problem: on iPhone the DetailView does not make sense in landscape (iPad is >> fine with landscape). > > A while back I went through some self-immolation trying to sort out a similar

Re: restricting InterfaceOrientations

2014-08-07 Thread Gerriet M. Denkmann
On 8 Aug 2014, at 10:57, Roland King wrote: > >> On 8 Aug 2014, at 11:50 am, Gerriet M. Denkmann wrote: >> >> Master-Detail app on iOS. Universal, Xcode (Targets, General) allows all >> orientations. >> >> Problem: on iPhone the DetailView does not make sense in landscape (iPad is >> fine

Re: restricting InterfaceOrientations

2014-08-07 Thread Quincey Morris
On Aug 7, 2014, at 20:50 , Gerriet M. Denkmann wrote: > Problem: on iPhone the DetailView does not make sense in landscape (iPad is > fine with landscape). A while back I went through some self-immolation trying to sort out a similar difficulty. I don’t remember the details, but it’s not just

Subject:

2014-08-07 Thread Peter Edberg
On Aug 7, 2014, at 8:51 PM, cocoa-dev-requ...@lists.apple.com wrote: > Date: Thu, 07 Aug 2014 18:31:45 -0500 > From: Kyle Sluder > To: cocoa-dev@lists.apple.com > Subject: Re: NSNumberFormatter negative and NSWindowsLatin1 > Message-ID: > <1407454305.344597.150374101.4d345...@webmail.messag

NSProgressIndicator (bar) still displays when stopped

2014-08-07 Thread Daryle Walker
I have a bar-style NSProgressIndicator that has its “Display When Stopped” turned off and (initially) Indeterminate turned on. It (almost) properly updates when a load is going on: //= - (void)notifyOnProgressStarted:(NSNotification *)notification // WebViewProgressStartedNotification {

Re: restricting InterfaceOrientations

2014-08-07 Thread Roland King
> On 8 Aug 2014, at 11:50 am, Gerriet M. Denkmann wrote: > > Master-Detail app on iOS. Universal, Xcode (Targets, General) allows all > orientations. > > Problem: on iPhone the DetailView does not make sense in landscape (iPad is > fine with landscape). > > Fix1: added supportedInterfaceOrie

restricting InterfaceOrientations

2014-08-07 Thread Gerriet M. Denkmann
Master-Detail app on iOS. Universal, Xcode (Targets, General) allows all orientations. Problem: on iPhone the DetailView does not make sense in landscape (iPad is fine with landscape). Fix1: added supportedInterfaceOrientations to DetailViewController, but this did never get called. "When the

Re: Getting Segue from TableView

2014-08-07 Thread Gerriet M. Denkmann
On 8 Aug 2014, at 04:03, Mike Abdullah wrote: > > On 7 Aug 2014, at 15:06, Gerriet M. Denkmann wrote: > >> iOS app, Master - Detail. >> Master has TableView, when one tabs a table row, a segue to the Detail View >> is performed. >> >> The problem: >> Sometimes when the app starts, there is

Re: NSNumberFormatter negative and NSWindowsLatin1

2014-08-07 Thread Kyle Sluder
On Thu, Aug 7, 2014, at 03:28 PM, Peter Edberg wrote: > Seems like the bug here is trying to save the file as WindowsLatin1. I'm not sure how you intended this to be interpreted. If you meant it in the sense of "the bug involves saving as WindowsLatin1", then I agree. The saving process should han

Re: NSTextField Binding

2014-08-07 Thread Roland King
> On 8 Aug 2014, at 5:06 am, Sean McBride wrote: > > On Thu, 7 Aug 2014 14:32:47 -0600, koko said: > >> I have bound an NSTextField’s value binding to a property in class A > > Make sure the property is not weak, which doesn't support KVO. Weak properties support KVO just the same as strong p

Re: NSTextField Binding

2014-08-07 Thread koko
On Aug 7, 2014, at 2:55 PM, Ken Thomases wrote: > _How_ did you update the property? You must do it in a KVO-compliant manner, > which usually means calling the setter. I believe this is KVO-compliant … but I could be wrong ! @interface Controller : NSObject { int height; } @property

Re: NSTextField Binding

2014-08-07 Thread Sean McBride
On Thu, 7 Aug 2014 14:32:47 -0600, koko said: >I have bound an NSTextField’s value binding to a property in class A Make sure the property is not weak, which doesn't support KVO. >There are no warnings or error messages. You could try turning on NSBindingDebugLogLevel. See TN2124. Cheers, --

Re: Getting Segue from TableView

2014-08-07 Thread Mike Abdullah
On 7 Aug 2014, at 15:06, Gerriet M. Denkmann wrote: > iOS app, Master - Detail. > Master has TableView, when one tabs a table row, a segue to the Detail View > is performed. > > The problem: > Sometimes when the app starts, there is only one item in the TableView. In > this case I want to seg

Re: NSNumberFormatter negative and NSWindowsLatin1

2014-08-07 Thread Jens Alfke
> On Aug 7, 2014, at 1:28 PM, Peter Edberg wrote: > > This is intentional. The character is ‘−’ U+2212 MINUS SIGN with UTF-8 > representation 0xE2 0x88 0x92. Many locales prefer the proper Unicode minus > sign for negative numbers, instead of using U+002D HYPHEN-MINUS. Yup, this is typographi

Re: NSTextField Binding

2014-08-07 Thread Keary Suska
On Aug 7, 2014, at 2:32 PM, koko wrote: > I have bound an NSTextField’s value binding to a property in class A > > I update the property in class A but the NSTextField does not reflect the > update. > > There are no warnings or error messages. > > Where should I look to understand / resolve

Re: NSTextField Binding

2014-08-07 Thread Ken Thomases
On Aug 7, 2014, at 3:32 PM, koko wrote: > I have bound an NSTextField’s value binding to a property in class A > > I update the property in class A but the NSTextField does not reflect the > update. > > There are no warnings or error messages. > > Where should I look to understand / resolve

NSTextField Binding

2014-08-07 Thread koko
I have bound an NSTextField’s value binding to a property in class A I update the property in class A but the NSTextField does not reflect the update. There are no warnings or error messages. Where should I look to understand / resolve this? -koko

Re: NSNumberFormatter negative and NSWindowsLatin1

2014-08-07 Thread Peter Edberg
This is intentional. The character is ‘−’ U+2212 MINUS SIGN with UTF-8 representation 0xE2 0x88 0x92. Many locales prefer the proper Unicode minus sign for negative numbers, instead of using U+002D HYPHEN-MINUS. Seems like the bug here is trying to save the file as WindowsLatin1. - Peter E On

How do I hide a shorter control that's peeking out?!

2014-08-07 Thread Daryle Walker
Following up on the thread “How do I hide/show a status bar” (first Message-ID: 4d26a392-4051-4fd9-8bc8-82ea42890...@mac.com), I added a top border bar and moved my URL text field to it. I then added a not-yet-active progress indicator bar next to the text field. The two controls are verticall

Getting Segue from TableView

2014-08-07 Thread Gerriet M. Denkmann
iOS app, Master - Detail. Master has TableView, when one tabs a table row, a segue to the Detail View is performed. The problem: Sometimes when the app starts, there is only one item in the TableView. In this case I want to segue to the DetailView programatically, because there is nothing to ch

Re: How do I hide/show a status bar?

2014-08-07 Thread Uli Kusterer
On 06 Aug 2014, at 20:31, Ken Thomases wrote: > That seems like it would result in ambiguous layout to me. You might want to > make the constraint between the status text and the web view required so that > it's always below that and just weaken the one between the status text and > the bottom