Am 26.08.2009 um 01:21 schrieb Ben Trumbull:
When I use setRelationshipKeyPathsForPrefetching the fetch throws:
-[NSSQLAttribute inverseRelationship]: unrecognized selector sent
to instance 0x10ee150
Can you provide the entire stack trace at this point ? gdb use
future-break objc_except
Hi,
I get a "Could not merge changes"-error on save in a single moc app
(*). The docs state this is a problem of a multi-moc setup:
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreData/Articles/cdTroubleshooting.html
The error does not appear on every system and seem
On 29.10.2009, at 20:05, Ben Trumbull wrote:
I get a "Could not merge changes"-error on save in a single moc app
(*). The docs state this is a problem of a multi-moc setup:
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreData/Articles/cdTroubleshooting.html
Yes, the
more disadvantages to mention:
1. schema updates with every model change if you use an sql store (you
have to make a mapping for every single from version/ to version
combination you need to support)
2. multithreaded core data is very hard to get right (multiple
contexts, data merges)
3. pe
On 04.11.2009, at 12:15, Kai Brüning wrote:
>> 2. multithreaded core data is very hard to get right (multiple contexts,
>> data merges)
>
> Isn’t this true for multi threaded code in general?
> Seriously, the documentation explains how to structure multi threaded use of
> Core Data. This might
about SL)
regards
Ruotger Skupin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update you
Am 19.08.2009 um 18:38 schrieb Nick Zitzmann:
On Aug 19, 2009, at 4:13 AM, Ruotger Skupin wrote:
when fetching about 5000 objects from an sql store, Core Data is
very slow the very first time after a boot. When running the app
the first time it takes 50 to 90 seconds and when starting it
Am 19.08.2009 um 19:18 schrieb I. Savant:
Hmm ... time to hit the books if you haven't already:
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdPerformance.html#/
/apple_ref/doc/uid/TP40003468
Have you tried anything suggested there?
Fetch Limits: Not tri
Am 20.08.2009 um 04:38 schrieb M Pulis:
I got that, Bill, thank you.
The OP did not specify what particular sql store (we still do NOT
know) nor if he is compiled Universal, has any helper programs, etc,
he did however, describe symptoms I have seen with Rosetta. So I
simply proposed che
Am 20.08.2009 um 11:34 schrieb Ruotger Skupin:
Am 19.08.2009 um 22:00 schrieb Ben Trumbull:
I debugged it with some Snow Leopard magic and found out, that
firing
faults is very slow the first time after boot. When I use -[NSArray
filteredArrayUsingPredicate:] the fault firing is killing
Am 20.08.2009 um 22:28 schrieb Ben Trumbull:
setRelationshipKeyPathsForPrefetching
When I use setRelationshipKeyPathsForPrefetching the fetch throws:
-[NSSQLAttribute inverseRelationship]: unrecognized selector sent to
instance 0x10ee150
For the record: I do use one-way relationships
Ru
Am 24.08.2009 um 23:13 schrieb Ben Trumbull:
When I use setRelationshipKeyPathsForPrefetching the fetch throws:
-[NSSQLAttribute inverseRelationship]: unrecognized selector sent
to instance 0x10ee150
Can you provide the entire stack trace at this point ? gdb use
future-break objc_except
Hi,
I have an application which uses Core Data and handles sensitive
information. Is there an easy way to encrypt the on-disk persistent
store provided I'm reasonably fluent in libCrypto and do not want to
use an encrypted disk image?
Ruotger
_
Hi,
To protect sensitive user data I attach an encrypted disk image and
store the application data there.
I'm using hdiutil with the -passphrase option to create and attach
encrypted disk images. This is deprecated and obviously not the
correct way but quite frankly the man file for hdiut
Hi,
I've set up a NSPredicateEditor with a template that forms for example
a predicate like: [Gross Value] [is] [ ]
the format of the text field is set as Number in Interface Builder. If
I input 32.99 into the field I get a predicate like this:
grossAmount.amount == 32
Obviously the nu
Hi,
I've set up an NSPredicateEditor with a template that forms a
predicate like: [Gross Value] [is] [32.99]
the format of the text field is set as Number in Interface Builder. If
I input 32.99 into the field I get a predicate like this:
grossAmount.amount == 32
Obviously the number is r
Hi,
this is more of an open discussion topic than a concrete question but
hopefully someone has a good idea about this:
I got a bug report of a non-crash bug I cannot reproduce and where I
do not even know where to start looking. The only hint is a line in
the console.log:
*** -[NSCFDic
I would rather not try to teach my users gdb...
Ruotger
Am 09.07.2008 um 12:31 schrieb Joan Lluch (casa):
El 09/07/2008, a las 12:13, Ruotger Skupin escribió:
So an exception got thrown for a pretty obvious reason, but where?
Could be anywhere, even in WebKit (which we use). Is there any
Hi,
my app trashes files with -[NSWorkspace
performFileOperation:source:destination:files:tag:] and
NSWorkspaceRecycleOperation. This works flawlessly but users want undo.
NSWorkspace does not seem to allow undoing said file operation (or any
file operation for that matter). Correct me if
Hi Charles,
let me make sure I understand that.
I get the FSRef and the original path of the file and keep hold of the
information before trashing it with performFileOperation. When I
want it back, I resolve the FSRef and move it back to original location.
Ruotger
Am 11.07.2008 um 17
ution Charles proposed?
Ruotger
Am 11.07.2008 um 17:44 schrieb Gregory Weston:
Ruotger Skupin wrote:
my app trashes files with -[NSWorkspace
performFileOperation:source:destination:files:tag:] and
NSWorkspaceRecycleOperation. This works flawlessly but users want
undo.
NSWorkspace does not se
Hi,
I'm trying to use the Message Framework with Garbage Collection
enabled and it crashes deep down in the framework. With retain/release
it works fine. Am I correct in assuming that since it is deprecated
for 10.5 it can't be used with GC?
Is there anything that can be used instead?
Ru
lly in the
background, i.e. without opening a "mailto:"; url?
Ruotger
On 04.08.2008, at 20:28, Bill Bumgarner wrote:
On Aug 4, 2008, at 10:35 AM, Ruotger Skupin wrote:
I'm trying to use the Message Framework with Garbage Collection
enabled and it crashes deep down in the framework.
Hi,
just to let you know:
I'm trying to use the Message Framework with Garbage Collection
enabled and it crashes deep down in the framework.
I filed a bug: 6128812
You can [...] use Pantomime,
Pantomime is not GC-ready. I haven't tried to switch on CG and see
what happens though.
Ruot
Hi,
is there a way to get mouseMoved events in a view without it being the
focused view (and without getting the focus, of course)?
Thanks
Ruotger
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
Hi,
Is there a way to determine if a user (or an address depending on the
country) prefers the zip code first or the city name first, e.g.:
Apple
1 Infinite Loop
Cupertino, CA 95014
vs
Apple Computer GmbH
Dornacher Straße 3 D
85622 Feldkirchen
Germany
Probably one might want to figure out
Hi,
let's say I have four versions of my data model:
DataModel1.xcdatamodel
DataModel2.xcdatamodel
DataModel3.xcdatamodel
DataModel4.xcdatamodel (this is the current one)
and three model mapping files which always map from version n to
version n+1:
Mapping1to2.xcmappingmodel
Mapping2to3.xcm
Am 17.04.2008 um 02:30 schrieb Ben Trumbull:
Hi,
let's say I have four versions of my data model:
DataModel1.xcdatamodel
DataModel2.xcdatamodel
DataModel3.xcdatamodel
DataModel4.xcdatamodel (this is the current one)
and three model mapping files which always map from version n to
version n+
Hi,
this is going to sound like an angry rant but actually it isn't. I'm
simply a bit frustrated...
I have been trying to use UIScrollView to build an Photo app-like
image viewer. The view is supposed to show photos with swiping between
them, zooming and rotating with interface rotation.
Hi,
I'm resizing and moving the content of a UIScrollView in the -
scrollViewDidEndZooming:withView:atScale: method including the
removing/adding of views. This usually results in the content bouncing
more or less uncontrollable.
My question:
Is it possible to remove/abort *all* (really a
Hi Ben,
Be careful with your assumptions. Some Locales have the currency
symbol after the number, e.g. German:
1.234,56 €
(note the decimal separator between the 4 and the 5 for additional
scanning fun!)
Roddi
Am 16.02.2009 um 12:35 schrieb Ben:
I haven't checked the docs, but could y
12.02.2009 um 11:57 schrieb Ruotger Skupin:
Hi,
I'm resizing and moving the content of a UIScrollView in the -
scrollViewDidEndZooming:withView:atScale: method including the
removing/adding of views. This usually results in the content
bouncing more or less uncontrollable.
My question:
Hi,
I have a core data database with two contexts attached to it. One read-
only for the main thread and bindings, one read/write for a background
thread that takes data from the network and feeds it into the
database. I know this is an effed-up design you shouldn't copy, but it
won't chan
Hi Ben,
yes, there are some sporadic problems left in save: but these are
exception I can handle. The NSUndoManager crashes were totally beyond
my control, so this is going to help a lot.
Thanks
Ruotger
Am 08.10.2008 um 22:23 schrieb Ben Trumbull:
Ruotger,
This has less to do w
Hi Ron,
I wasn't clear enough on one point. The main thread context's undo
manager crashes (the posted backtrace), but changing the DB only
happens in the background thread. Assuming no binding changes the main
thread context, there shouldn't be anything to undo in the main thread
context
Hi,
Since Ron asked, let's move this to an own thread (no pun intended):
Am 08.10.2008 um 18:23 schrieb Ron Lue-Sang:
Hi,
I have a core data database with two contexts attached to it. One
read-only for the main thread and bindings, one read/write for a
background thread that takes data fr
Hi,
when comparing the class of two objects I usually do [obj1
isKindOfClass:[obj2 class]]. But if I say have the Class as an input
value to a method:
- (void) bla:(Class) inClass
{
if (/* inClass is an NSString */)
{
// do stuff
}
else if (/*
37 matches
Mail list logo