Re: Constraining window width to scrolling contents with autolayout

2015-05-25 Thread Jonathan Hull
I believe this is where the constraint priorities come in. The window size will be affected by constraints with priorities larger than 500 and may override constraints under 500. Also, when dealing with ScrollViews it can get a bit tricky, so it helps to add a single view inside the scrollView

10.10 replacement for SMJobCopyDictionary

2015-05-25 Thread Gerriet M. Denkmann
How to translate this into 10.10 without deprecation warnings? CFDictionaryRef diref = SMJobCopyDictionary( kSMDomainSystemLaunchd, “de.mdenkmann.MyTool” ); if ( diref == nil ) // MyTool is not running Gerriet. ___ Cocoa-dev mailing list (

Re: 10.10 replacement for SMJobCopyDictionary

2015-05-25 Thread Kyle Sluder
On Mon, May 25, 2015, at 06:13 AM, Gerriet M. Denkmann wrote: > How to translate this into 10.10 without deprecation warnings? > > CFDictionaryRef diref = SMJobCopyDictionary( kSMDomainSystemLaunchd, > “de.mdenkmann.MyTool” ); > if ( diref == nil ) // MyTool is not running The point of

Re: Copy test docs to Simulator App's Documents folder?

2015-05-25 Thread Michael David Crawford
I'm still trying to load the simulator with some sample files for my app's Documents folder. I'm able to put documents in the Documents folder for my app on my iPad. I can use the Devices window to copy my .xcappdata folder to my project heirarchy. I can select it to be added to my simulated app

Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?

2015-05-25 Thread Greg Parker
> On May 23, 2015, at 6:26 PM, Jens Alfke wrote: > >> On May 23, 2015, at 3:31 PM, Jens Alfke > > wrote: >> >> I’m not sure I can simplify this into a test case, but I’ll try. > > FYI, I’ve boiled it down into a small test case and submitted it as > rdar://21090194

Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?

2015-05-25 Thread Greg Parker
On May 23, 2015, at 4:54 PM, Ken Thomases wrote: > > On May 23, 2015, at 12:54 PM, Jens Alfke wrote: > >> On May 23, 2015, at 9:20 AM, Greg Parker wrote: >>> >>> free() does that sometimes. If zombies doesn't find anything then try guard >>> malloc. >> >> Good suggestion! I’d forgotten abo

Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?

2015-05-25 Thread Daniel DeCovnick
Do you have an OpenRadar for it? Sounds like a fascinating bug. Daniel On May 23, 2015, at 6:26 PM, Jens Alfke wrote: > >> On May 23, 2015, at 3:31 PM, Jens Alfke wrote: >> >> I’m not sure I can simplify this into a test case, but I’ll try. > > FYI, I’ve boiled it down into a small test ca