On Sep 29, 2011, at 22:52 , Jim Correia wrote:
Core Data’s undo stack does allow you to undo past the last save point. And
if it didn’t, it would remove actions from the undo manager, resulting in a
disabled undo menu, not leave a bunch of actions on the undo stack that would
generate
On Sep 30, 2011, at 12:06 AM, Quincey Morris wrote:
The actual failure scenario I described has 2 necessary conditions. One is a
save boundary. The other is the flushing of cached property information for
the deleted object. The latter is difficult to cause, especially in a trivial
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 9/29/11 10:50 PM, Greg Guerin wrote:
Gordon Apple wrote:
There must already be an array for the table, so just iterate
the
array every
minute or whatever (single repeating timer), compare the times to
[NSDate date} and start or shut down
On 30 Sep 2011, at 08:19, Conrad Shultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 9/29/11 10:50 PM, Greg Guerin wrote:
Gordon Apple wrote:
There must already be an array for the table, so just iterate
the
array every
minute or whatever (single repeating timer), compare
I am not sure I get your first sentence right, but rather than relying on the
automatic delegate notification mechanism, you might want to actively subscribe
to the notification. You can do so from any object, not just a delegate.
[[NSNotificationCenter defaultCenter] addObserver:self
Damon,
Firstly there is no official way to do this, all the solutions you see in the
wild are hacks of one sort or another.
Having said that, I had to implement what you are asking for (overlays on
icons) and did it via SIMBL. Unfortunately I can't share code or say too much
about what what
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 9/30/11 12:29 AM, Thomas Davie wrote:
When the user updates a timer, one is forced to re-sort the
array and reposition the index (under the above implementation).
Why would you need to resort? Just remove, and reinsert.
OK, I'll grant you
On Sep 30, 2011, at 00:17 , Jim Correia wrote:
You are assuming that the only place this information can exist is in the row
cache itself. The information can exist anywhere. At the risk of
over-trivializing the problem—It’s just code™.
All the information necessary to resurrect the
Thanks for the discussion. What I implemented last night was what Graham had
suggested. I simply bind my table column values to an NSArrayController
controller and observed by KVO in my set box object. It works great. I think
this is also what Conrad had meant as well. Simply changing the
You specify a URL for the persistent store when you create it. Just find the
store at that URL.
-Heath
On Sep 30, 2011 12:33 AM, Luke Sneeringer lukesneerin...@gmail.com
wrote:
Hey all,
I am working on writing my first Core Data application. I made an entity,
did some work to test it, and then
On 2011 Sep 30, at 00:06, Quincey Morris wrote:
However, there are a number of well-known examples of outrageousness. The
most relevant one that I can think of is that NSPersistentDocument was
originally released without (and may still not have, for all I know) support
for NSDocument's
I am currently performing image crossfades using the following method:
*
- (void)crossFadeMainImage:(UIImage *)image1 toImage:(UIImage *)image2 {
CABasicAnimation *crossFade = [CABasicAnimation animationWithKeyPath:@
contents];
crossFade.duration = 0.5;
crossFade.delegate = self;
On 30/09/2011, at 09:43, cocoa-dev-requ...@lists.apple.com wrote:
From: Matt Gough devlists...@gmail.com
Date: 30 de setembro de 2011 05:21:06 BRT
Firstly there is no official way to do this, all the solutions you see in the
wild are hacks of one sort or another.
Having said that, I had
Hello
I have an editable NSTextField subclass, which overrides these two methods
and returns NO there. I have placed an Edit Box (nstextfield) in Interface
Builder, whose class is set to this custom subclass with these two
overridden nsresponder methods.
when I run the application, I can still
I had a couple of followup questions concerning the approach used by SMJobBless
in developing a secure helper tool.
In the How It Works section in the ReadMe, it states:
4. Requiring the user to authorize the privileged helper tool only once the
first time it's used
This is what I believe
If you want answer, you should try the darwin-dev list.
SMJobBless is not cocoa specific, and so is off-topic on this list, and IIRC,
the engineer in charge of the ServiceManagement framework is a darwin-dev
subscriber.
Le 30 sept. 2011 à 16:01, Eric Gorr a écrit :
I had a couple of followup
Le 30 sept. 2011 à 16:01, Eric Gorr a écrit :
I had a couple of followup questions concerning the approach used by
SMJobBless in developing a secure helper tool.
In the How It Works section in the ReadMe, it states:
4. Requiring the user to authorize the privileged helper tool only
On Sep 29, 2011, at 4:41 PM, Kyle Sluder wrote:
[...snip...]
A general issue I have with asynchronous saving: what if the save
operation fails? The user has now made additional changes, but their
Save a Version operation did not create a version for them. So now
they can't roll back to
On Sep 30, 2011, at 10:34 AM, Jean-Daniel Dupas wrote:
Le 30 sept. 2011 à 16:01, Eric Gorr a écrit :
I had a couple of followup questions concerning the approach used by
SMJobBless in developing a secure helper tool.
In the How It Works section in the ReadMe, it states:
4.
On Sep 30, 2011, at 8:47 AM, Kevin Perry wrote:
On Sep 29, 2011, at 4:41 PM, Kyle Sluder wrote:
[...snip...]
A general issue I have with asynchronous saving: what if the save
operation fails? The user has now made additional changes, but their
Save a Version operation did not create a
I had asked about running a modal dialog at app start.
Perhaps a different approach. All I need to do is not display the main window
until the modal finishes. I have set in IB visible at launch no. Perhaps I do
not understand this setting as the main window displays without any specific
On Sep 30, 2011, at 5:41 AM, Jerry Krinock wrote:
I'm still working on this issue, trying to find the trigger which moves my
corner case into the corner, hoping for a workaround. It's tedious because
of different operations and states.
But you have a pretty reliable way to reproduce the
Le 30 sept. 2011 à 18:14, Eric Gorr a écrit :
On Sep 30, 2011, at 10:34 AM, Jean-Daniel Dupas wrote:
Le 30 sept. 2011 à 16:01, Eric Gorr a écrit :
I had a couple of followup questions concerning the approach used by
SMJobBless in developing a secure helper tool.
In the How It
On Sep 30, 2011, at 1:00 PM, Jean-Daniel Dupas wrote:
Le 30 sept. 2011 à 18:14, Eric Gorr a écrit :
On Sep 30, 2011, at 10:34 AM, Jean-Daniel Dupas wrote:
Le 30 sept. 2011 à 16:01, Eric Gorr a écrit :
I had a couple of followup questions concerning the approach used by
SMJobBless
On Sep 30, 2011, at 10:05 AM, Eric Gorr mail...@ericgorr.net wrote:
On Sep 30, 2011, at 1:00 PM, Jean-Daniel Dupas wrote:
As I understand it, you have to bless the job only once, not at each launch,
so you shouldn't have to request the authorization each time.
It would be interesting if
That's interesting.
So, how would one go about checking to see whether or not SMJobBless needed to
be called?
I suppose one would need to check the version number of the installed job vs.
the one in the application package.
I also suppose one would also try to connect with the helper tool
On Sep 30, 2011, at 09:21, koko wrote:
I had asked about running a modal dialog at app start.
Perhaps a different approach. All I need to do is not display the main
window until the modal finishes. I have set in IB visible at launch no.
Perhaps I do not understand this setting as the
So, it looks like one can call SMJobCopyDictionary with kSMDomainSystemLaunchd
and, in the case of the SMJobBless sample code, com.apple.bsd.SMJobBlessHelper
to determine whether or not the helper tool has been installed.
What I am still not sure about is how to check the version number of the
On 2011 Sep 30, at 09:42, Jim Correia wrote:
But you have a pretty reliable way to reproduce the bug, right?
Thank you, Jim. Yes, it takes several minutes but is scripted.
Have you broken at the point of objc_exception_throw for the
NSObjectInaccessibleException and examined what,
I've found the workaround, at least.
Objects are in a tree formation with parent and children relationships. Delete
Rule is Cascade.
Steps to reproduce:
• Open a particular document which contains 4 objects
Root1
OldObject2
OldObject3
OldObject4
• Insert 3 new
Well, it turned out to be not that bad to check the version numbers. The trick
was to use CFBundleCopyInfoDictionaryForURL so one could get the info.plist
from the helper tool. In any case, for those who might be interested, I have
included the code below I used to check the installed helper
Hmm. I never did that...but perhaps that's my problem?
My code looks like...
MyAppDelegate* delegate = [[NSApplication sharedApplication] delegate];
NSManagedObjectContext* db = [delegate managedObjectContext];
NSEntityDescription* entity = [NSEntityDescription entityForName:
Nevermind, what you said sparked a light bulb. I'm looking at the code in my
app delegate now. I think I'm on the right track.
Thanks for your help!
Regards,
Luke
On September 30, 2011, at 15:31 , Luke Sneeringer wrote:
Hmm. I never did that...but perhaps that's my problem?
My code looks
Ok, so the code to do the code sign check I am using is below. Furthermore, I
have my version of the SMJobBless app with these checks at:
http://ericgorr.net/cocoadev/SMJobBless.zip
The only remaining question is whether or not there is a better way or whether
the code-sign check is
On Sep 30, 2011, at 13:22 , Jerry Krinock wrote:
The trick is the order in which they are deleted. If the child NewObject7 is
deleted before its parent NewObject6, Undo will succeed. If the parent is
deleted first, Undo will fail. In my app, the order is random due to
enumerating an
Please don't use SIMBL it causes grief for users and they don't know why.
It messes with other applications.
On Sep 30, 2011, at 3:21 AM, Matt Gough wrote:
Damon,
Firstly there is no official way to do this, all the solutions you see in the
wild are hacks of one sort or another.
Having
Hi Damon,
On Sep 29, 2011, at 12:39 PM, Damon Allison wrote:
Hello,
I am researching options for integrating with Finder. In particular, I would
like my application to provide file and directory icon overlays similar to
how Dropbox.app overlays green and blue images on top of file and
On Sep 29, 2011, at 10:51 AM, Sean McBride wrote:
On Thu, 29 Sep 2011 09:12:31 -0600, koko said:
Thanks to all for suggestions.
I was unaware that crash reports were routed to our iTunes Connect
account . Question here, we distribute through the App Store as well
other means. So, will
On 2011 Sep 30, at 14:39, Quincey Morris wrote:
It would be interesting to know this: if you manually break the parent-child
relationships before actually deleting either the parent or the child, does
the order of the deletions matter?
Invoking either -setParent:nil or -setChildren:nil on
39 matches
Mail list logo