Re: IB Objects Overlap once compiled

2013-06-27 Thread YT
Oh yeah I forgot about that distinction. I switched the display from a Retina to non-retina and it no longer causes overlaps. Thanks YT On Jun 27, 2013, at 7:11 PM, Dennis wrote: > If this is for iOS, I would guess that you've laid out your view for a 4" > Retina display, and you're runni

Re: IB Objects Overlap once compiled

2013-06-27 Thread Dennis
If this is for iOS, I would guess that you've laid out your view for a 4" Retina display, and you're running it in a simulator with 3.5" inch display. The pushing up in this case would be due to constraints or auto-resizing. On Jun 27, 2013, at 6:58 PM, YT wrote: > So... I layout objects in t

Re: UnitTest: object Should be Dealllocated

2013-06-27 Thread Jeffrey Robert Kelley
I used Mike Ash’s excellent MAZeroingWeakRef before we had weak references. For unit tests, you could turn on all of its private API introspection, since it’s not shipping code. Jeff Kelley slauncha...@gmail.com | @SlaunchaMan | jeffkelley.org On Jun 27, 2013, at 7:18 PM, Martin Wierschin wr

IB Objects Overlap once compiled

2013-06-27 Thread YT
So... I layout objects in the IB and everything appears spaced without any overlapping. Once I compile and run objects at the bottom of the view get pushed up resulting in object overlaps. I've been looking carefully in the inspectors for some sort of value that would cause this but so far I'

Something keeps toggling slow animations

2013-06-27 Thread Rick Mann
I've noticed in the past that suddenly slow animations would be turned on in the simulator. I'm not selecting that in the menus, it just happens. In the last hour it's been happening a lot. I turn them off, build a few times, then they're suddenly on again. Is there some meta-key launch magic I

Re: UnitTest: object Should be Dealllocated

2013-06-27 Thread Martin Wierschin
>> How can I create a Unit Test which tests such cases, e.g.: >> >> Foo* foo; >> @autoreleaspool { >> foo = [Foo new]; >> [foo doSomething]; >> foo = nil; // should deallocate foo >> } >> ASSERT_DEALLOCATED_TRUE(foo); > > Create a __weak reference to foo and assert that it is nil? That'

Transient property KVO on private queue context save

2013-06-27 Thread Rick Mann
I have an Entity with a transient UIImage* property "image." The getter and setter manage an iVar and read and write the image data to disk as a PNG file. So, I create an Entity in my main MOC, observe the image property on it, then hand it to a child MOC to do some processing. The child fetches

Re: KVO on a key path with nil intermediate properties

2013-06-27 Thread Sean McBride
On Wed, 26 Jun 2013 18:51:34 -0700, Rick Mann said: >Can one set up KVO on a property of a property if the intermediate one >is nil, and then get notified when either changes? In practice, it seems >not, as I don't get notified for either the intermediate property or the >leaf property. As you di

voiceover question

2013-06-27 Thread Rick C.
Hi, Apparently in my app when it is launched with VoiceOver running and the user tries to use Control-Option-M to access the menu it does not work. By quitting VoiceOver and relaunching it works fine. I have also confirmed this. Any idea on why this would happen? I certainly never did anyth