Re: -[UIApplication statusBarFrame] changes in iOS 8

2014-09-23 Thread Rick Mann
On Sep 22, 2014, at 18:38 , Roland King r...@rols.org wrote: On 23 Sep 2014, at 9:20 am, Rick Mann rm...@latencyzero.com wrote: I tried to find some documentation of a change, but can't It seems that the statusBarFrame returned in iOS 8 is different than in iOS 7. In landscape mode on

Binding to selection of NSArrayController

2014-09-23 Thread Jonathan Taylor
Hi all, I feel this should be a very simple question, but I am struggling with it - the tutorials and online info I can find is either 5 years out of date or seem to imply that I am doing everything right! In my code I have an NSMutableArray of “message” objects, each with a number of

Re: Binding to selection of NSArrayController

2014-09-23 Thread Jonathan Taylor
Ah brilliant, that’s fixed it - thanks very much! Makes sense in retrospect that I would have to do that, but hadn’t crossed my mind at the time. Cheers Jonny On 23 Sep 2014, at 17:26, Marek Hrušovský xhrus...@gmail.com wrote: This sounds like that selection from nstableview is not properly

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-23 Thread David Duncan
On Sep 22, 2014, at 7:16 PM, Herman Chan herman...@gmail.com wrote: Hi Ben, I have both in my app, both presenting from rootVC and just plain controller. I fish out the rootVC to get rid of warning like this Presenting view controllers on detached view controllers is discouraged”. So

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-23 Thread Herman Chan
Hi David, Here is my set up in term of view controllers. - (void) setUpTabbarController { self.tabBarController = [[MyTabbarViewController alloc] init]; ViewController *v1 = [[HubActivityViewController alloc] initWithNibName:nil bundle:nil]; ViewController *v2 =

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-23 Thread David Duncan
On Sep 23, 2014, at 10:45 AM, Herman Chan herman...@gmail.com wrote: Hi David, Here is my set up in term of view controllers. - (void) setUpTabbarController { self.tabBarController = [[MyTabbarViewController alloc] init]; ViewController *v1 = [[HubActivityViewController alloc]

Re: -[UIApplication statusBarFrame] changes in iOS 8

2014-09-23 Thread Greg Parker
On Sep 22, 2014, at 11:02 PM, Rick Mann rm...@latencyzero.com wrote: On Sep 22, 2014, at 18:38 , Roland King r...@rols.org wrote: On 23 Sep 2014, at 9:20 am, Rick Mann rm...@latencyzero.com wrote: I tried to find some documentation of a change, but can't It seems that the

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-23 Thread Herman Chan
Hi David, Yes, it was related to the PPRevealSideViewController, which I'll look into to see if I can fix it. However, I don't know if that's the problem with my original problem. That warning for detached view controller has been there for awhile through iOS 6 - 7 and it has been fine for

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-23 Thread David Duncan
On Sep 23, 2014, at 11:19 AM, Herman Chan herman...@gmail.com wrote: Hi David, Yes, it was related to the PPRevealSideViewController, which I'll look into to see if I can fix it. However, I don't know if that's the problem with my original problem. That warning for detached view

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-23 Thread Herman Chan
Hi David, Thanks! I wish I can reproduce this, but that's life. I'll try to get rid of the warning and see if it still crash in the wild. herman On 23 Sep 2014, at 14:25, David Duncan wrote: On Sep 23, 2014, at 11:19 AM, Herman Chan herman...@gmail.com wrote: Hi David, Yes, it was

ios 8 crashing on _updateInterfaceOrientationFromDeviceOrientation

2014-09-23 Thread Herman Chan
Hi all, Another mysterious iOS 8 crash I am getting, here is the crash log. Thread : Crashed: com.apple.main-thread 0 libobjc.A.dylib0x32bfbf46 objc_msgSend + 5 1 UIKit 0x289ba531 -[UIWindow _updateInterfaceOrientationFromDeviceOrientation:] + 152 2

Re: Binding to selection of NSArrayController

2014-09-23 Thread Lee Ann Rucker
On Sep 23, 2014, at 9:15 AM, Jonathan Taylor jonathan.tay...@glasgow.ac.uk wrote: [*] One slight glitch - if I add an object to the NSMutableArray then it does not immediately show up in the table, I have to call will/didChangeValueForKey on the property that returns the array. I

Re: Binding to selection of NSArrayController

2014-09-23 Thread Quincey Morris
On Sep 23, 2014, at 11:36 , Lee Ann Rucker lruc...@vmware.com wrote: On Sep 23, 2014, at 9:15 AM, Jonathan Taylor jonathan.tay...@glasgow.ac.uk wrote: [*] One slight glitch - if I add an object to the NSMutableArray then it does not immediately show up in the table, I have to call

Re: -[UIApplication statusBarFrame] changes in iOS 8

2014-09-23 Thread Rick Mann
I do, and did, but it's ever-more-demoralizing to report bugs and just have them fall into a black hole (which is how it feels for the vast majority of bugs. They're either duplicates, or behaves as designed, and they rarely get fixed). Doc feedback is worse, because there's no way to track

Re: ios 8 crashing on _updateInterfaceOrientationFromDeviceOrientation

2014-09-23 Thread Jens Alfke
On Sep 23, 2014, at 11:31 AM, Herman Chan herman...@gmail.com wrote: Hi all, Another mysterious iOS 8 crash I am getting, here is the crash log. Thread : Crashed: com.apple.main-thread 0 libobjc.A.dylib0x32bfbf46 objc_msgSend + 5 1 UIKit

Re: Binding to selection of NSArrayController

2014-09-23 Thread Jonathan Taylor
Thankyou both for your advice - it's good to have you set me right on that one. Fortunately mine is a relatively uncomplicated case, and so [NSArrayController add/removeObject:] should do the job nicely It feels a bit odd doing it that way, just because it makes the NSArray almost redundant

Changes to Core Data in iOS 8

2014-09-23 Thread Rick Mann
In iOS 7, my app works fine. In iOS 8, deleting an entity eventually works, but whereas in iOS 7 my UI would update and show the change, the change doesn't seem to have taken hold by this time in iOS 8. Basically, when the user deletes an entity, I delete it from the MOC (main thread), then

Strange and interesting text rendering phenomenon in UITextField with auto layout

2014-09-23 Thread Daniel Blakemore
I was trying to fix some (what I thought to be) minor alignment bugs that came up during QA for one of our apps, when I stumbled on one of the more strange bugs I've seen recently. In this app, the first screen presents you with the options to log in or create an account. The login screen is two

Re: Changes to Core Data in iOS 8

2014-09-23 Thread Kyle Sluder
On Sep 23, 2014, at 4:24 PM, Rick Mann rm...@latencyzero.com wrote: In iOS 7, my app works fine. In iOS 8, deleting an entity eventually works, but whereas in iOS 7 my UI would update and show the change, the change doesn't seem to have taken hold by this time in iOS 8. Basically, when

NSLinguisticTagger

2014-09-23 Thread Gerriet M. Denkmann
I have a problem with NSLinguisticTagger / CFStringTokenizer on iOS 8.0 OS X 10.9.5 (and iOS 7 and earlier) parses สีเหลือง quite rightly as two words: สี = colour and เหลือง = yellow. No dictionary will ever contain yellow colour. Every dictionary will contain yellow and colour. There are

Re: NSLinguisticTagger

2014-09-23 Thread Roland King
On 24 Sep 2014, at 1:02 pm, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: On 24 Sep 2014, at 11:46, Roland King r...@rols.org wrote: On 24 Sep 2014, at 12:31 pm, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: I have a problem with NSLinguisticTagger / CFStringTokenizer on iOS