Finally, I put the "saveDocument" in the "NIBDidLoad" method, with an
"afterDelay:0". I was reluctant to use this "afterDelay:0" (I wish there were a
method called "performOnNextRunLoop"). This smells like a hack !!!
It was easier to call the "saveDocument" than to subclass NSDocumentController,
Call me on my mobile.
From: colasj...@yahoo.fr
To: quinceymor...@rivergatesoftware.com
To: cocoa-dev@lists.apple.com
Sent: Mon, Mar 24, 2014
Subject: Re: Re : Re: Saving while opening with NSDocument
Finally, I put the "saveDocument" in the "NIBDidLoad" method, with an
"afterDelay:0". I was rel
On Mar 24, 2014, at 10:05 AM, Colas B wrote:
>
> Finally, I put the "saveDocument" in the "NIBDidLoad" method, with an
> "afterDelay:0". I was reluctant to use this "afterDelay:0" (I wish there were
> a method called "performOnNextRunLoop"). This smells like a hack !!!
> It was easier to call t
On Mar 22, 2014, at 2:18 AM, Remco Poelstra wrote:
> How can I make sure that some custom drawing method get's called?
Call -setNeedsDisplay on the layer (layers are valid by default)
--
David Duncan
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple
I recently had to switch away from using NSFetchedResultsController. My
replacement code is all working correctly, but for some reason, MOST of my row
deletions don't animate. I've tried setting the animation style to auto and
bottom. Most of them simply disappear with no animation. On some occa
Ah! I had a spurious -reloadData call that was trouncing everything else.
On Mar 24, 2014, at 14:28 , Rick Mann wrote:
> I recently had to switch away from using NSFetchedResultsController. My
> replacement code is all working correctly, but for some reason, MOST of my
> row deletions don't an
I'm creating an NSViewController subclass by calling -init, and at no time
passing a name for nibNameOrNil. According to the docs, this should result in
an exception, but it's building my view based on the .xib of the same name
without a problem.
Nice, but confusing. What's it supposed to do?
On Mon, Mar 24, 2014, at 05:41 PM, Rick Mann wrote:
> I'm creating an NSViewController subclass by calling -init, and at no
> time passing a name for nibNameOrNil. According to the docs, this should
> result in an exception, but it's building my view based on the .xib of
> the same name without a p
On Mar 24, 2014, at 17:53 , Kyle Sluder wrote:
> On Mon, Mar 24, 2014, at 05:41 PM, Rick Mann wrote:
>> I'm creating an NSViewController subclass by calling -init, and at no
>> time passing a name for nibNameOrNil. According to the docs, this should
>> result in an exception, but it's building m
General advice from my experience:
1. My standard practice has always been to simply override nibName, and call
alloc] init]. The majority of the time, view-related properties that need to
created that you might normally stick in -initXYZ, I put in -loadView after
calling super. (Burn awakeFr
Hi List,
What is the best way to understand the Cocoa application crashes? Some times
my application is getting crashed, while clicking on the NSButtons, but it is
not always and very rarely. It is happening in the production, not in the
staging environment.
0 CoreFoundation
On Mar 24, 2014, at 10:25 PM, Appa Rao Mulpuri wrote:
> What is the best way to understand the Cocoa application crashes? Some times
> my application is getting crashed, while clicking on the NSButtons, but it is
> not always and very rarely. It is happening in the production, not in the
> s
Thanks for the reply Jens.
On 3/25/14 11:06 AM, "Jens Alfke" wrote:
>
>On Mar 24, 2014, at 10:25 PM, Appa Rao Mulpuri
>wrote:
>
>> What is the best way to understand the Cocoa application crashes? Some
>>times my application is getting crashed, while clicking on the
>>NSButtons, but it is n
On Mar 24, 2014, at 10:48 PM, Appa Rao Mulpuri wrote:
> Agreed, Since this exception is getting rarely. Do we have any provision
> to extend the stack trace to print in which method the object is getting
> deallocated in our class?
Look up NSZombieEnabled, although that’s not really something y
14 matches
Mail list logo