Re: NSLinguisticTagger

2014-09-24 Thread Gerriet M. Denkmann
On 24 Sep 2014, at 23:57, 2551 <2551p...@gmail.com> wrote: > That's correct behaviour. There is no such word as เหลือง in Thai. It's a > particle that always exists as an adjunct to something else. Although สี is > a word on its own, เหลือง is not. Even when Thais speakers say something like

Re: Custom layout and constraints

2014-09-24 Thread Allan Odgaard
On 21 Sep 2014, at 22:51, Allan Odgaard wrote: 4. If allowsImplicitAnimation is enabled then my custom layout implementation is called a dozen times after the first (true) layout pass. This is problematic because then I’ll do layout (again) and effectively suppress the animation (although only

Re: Custom layout and constraints

2014-09-24 Thread Allan Odgaard
On 21 Sep 2014, at 18:18, Ken Thomases wrote: On Sep 21, 2014, at 9:10 AM, Allan Odgaard wrote: The problem seems to be that `layoutSubtreeIfNeeded` calls `resizeWithOldSuperviewSize:` (using the containing view’s size), but regardless of what’s passed to the view, it’ll set the entire fra

Re: ios 8 crashing on "_updateInterfaceOrientationFromDeviceOrientation"

2014-09-24 Thread Jens Alfke
> On Sep 24, 2014, at 10:52 AM, Herman Chan wrote: > > Sadly, I wasn't able to find any zombies in instruments. > > Just to make sure that I am doing this right, the step to find zombies are. I've never used zombies in Instruments; I think that's a separate thing from using it in Xcode. All y

Re: Strange and interesting text rendering phenomenon in UITextField with auto layout

2014-09-24 Thread Daniel Blakemore
I'll do that. I had meant to post here with a less involved explanation/project, but when it was all said and done, I guess it came together well enough to be easy to bug report. -- Daniel Blakemore Pixio Software ___ Cocoa-dev mailing list (Cocoa-dev@

Re: ios 8 crashing on "_updateInterfaceOrientationFromDeviceOrientation"

2014-09-24 Thread Herman Chan
Sadly, I wasn't able to find any zombies in instruments. Just to make sure that I am doing this right, the step to find zombies are. 1. In Xcode, Product -> Scheme -> Edit Scheme 2. Choose Debug -> Diagnostics -> Turn on "Enable Zombie Objects" 3. Make sure Profile is run in Debug scheme. 4

Re: Strange and interesting text rendering phenomenon in UITextField with auto layout

2014-09-24 Thread Jamie Montgomerie
This is a fantastic sample project. It’s really tidy, and it’s obvious how to reproduce the problem. Did you file a bug at bugreport.apple.com ? It’s a much better venue for bug reports than this list, which isn’t officially monitored by Apple for bug reports. Jami

Re: Crash while resizing window

2014-09-24 Thread Alex Zavatone
Stupid question, but is "r" ins or your variables? When the assertion is thrown, what is r? There is a report on this on forums.codeblocks.org. Google for cgregion.c. There is a suggestion to go to Settings -> Editor -> Code Completion -> Symbols Browser -> Disable Symbols Browser. GL. Se

Crash while resizing window

2014-09-24 Thread Andreas Mayer
Hi there. I get an assertion failure while programmatically resizing a window: Assertion failed: (r->shape != NULL), function assert_check_region, file Regions/CGRegion.c, line 28. Anyone has any idea what might be wrong and what I can do about it? I'll explain in more detail what I am do

Re: How to obtain target view frame (when animations are running)

2014-09-24 Thread Allan Odgaard
On 24 Sep 2014, at 14:29, Allan Odgaard wrote: I have implicit animations enabled which means that when my NSView’s -layout or -resizeSubviewsWithOldSize: methods are called, the frame property of the view reflects the animation’s current value, which means I place subviews in wrong locations

How to obtain target view frame (when animations are running)

2014-09-24 Thread Allan Odgaard
I have implicit animations enabled which means that when my NSView’s -layout or -resizeSubviewsWithOldSize: methods are called, the frame property of the view reflects the animation’s current value, which means I place subviews in wrong locations. How should I obtain the actual (target) frame?

Re: NSLinguisticTagger

2014-09-24 Thread 2551
That's correct behaviour. There is no such word as เหลือง in Thai. It's a particle that always exists as an adjunct to something else. Although สี is a word on its own, เหลือง is not. Even when Thais speakers say something like รถเหลือง, this is colloquial speech. Technically, it's รถสีเหลือง.

Re: programmatically control do not disturb in ios 8

2014-09-24 Thread Roland King
> On 24 Sep 2014, at 3:31 pm, Rick C. wrote: > > Hi, > > Does anyone know if there is a way to do this? Because there are some apps > out there that seem like they are doing this but I can’t find any api. > Thanks! > > rc No there's none. Not the kind of access to the device which Apple

programmatically control do not disturb in ios 8

2014-09-24 Thread Rick C.
Hi, Does anyone know if there is a way to do this? Because there are some apps out there that seem like they are doing this but I can’t find any api. Thanks! rc ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin request

Re: NSLinguisticTagger

2014-09-24 Thread Gerriet M. Denkmann
On 24 Sep 2014, at 12:23, Roland King wrote: Seems there are two classes of algorithms: Low class: CFStringTokenizer NSStringEnumerationByWords NSLinguisticTagger These get "我今天还没有去健身房" wrong, and are available on iOS. High class: Icu NSTextView (selectionRangeForProposedRange:granula

Re: Changes to Core Data in iOS 8

2014-09-24 Thread Rick Mann
On Sep 23, 2014, at 20:26 , Kyle Sluder wrote: > Have you checked the value of your MOC’s propagatesDeletesAtEndOfEvent > property on iOS 7 and iOS 8? Yeah, I checked. It's the same on both (true), but I didn't check what happens if I set it to false. > But more fundamentally, why aren’t you