Core Data: relationship 'too large' when saving

2009-09-24 Thread Frederick Bartram
lly a size problem? 2) can someone point me to relevant documentation? Many thanks. Frederick Bartram *- * Stop spam before it gets to your mailbox! Support blocklists. * I use http://www.spamcop.net/. * my PGP key id: 0x63fa758 keyserver: http://

Core Data: relationship 'too large' when saving

2009-09-24 Thread Frederick Bartram
My bad. I apologize for wasting bandwidth. Problem had nothing to do with relation set size. *- * Stop spam before it gets to your mailbox! Support blocklists. * I use http://www.spamcop.net/. * my PGP key id: 0x63fa758 keyserver: http://keyserver1.

Re: Core Data: relationship 'too large' when saving

2009-09-24 Thread Frederick Bartram
which I had been working when, in fact, the application was behaving 'correctly'. No bug, No foul. Note to self: Make sure error messages contain sufficient identifying information! Frederick Bartram *- * Stop spam before it gets

Re: NSMenuItem & NSRuleEditor

2009-09-27 Thread Frederick Bartram
There is very little documentation on NSRuleEditor. :( First, you need to distinguish between a 'criterion' and a 'display value' although they may be the same kind of classes. The criterion is a kind of identifier and the display value is what is actually shown. It is also helpful to think

RE: CoreData async fetch request

2009-10-03 Thread Frederick Bartram
Is there a way to do an asynchronous fetch request against Core data returning partial results? Try spawning the fetch in a background thread. There is an example of this in the CoreData sample project 'BackgroundFetching'. You will need to read up on the threading issues as in "don't share co

Re: Best way to compare CGFloats (Rick B.)

2010-06-30 Thread Frederick Bartram
I am stuck with floats (doubles, to be precise) comparison. Machine 'real-numbers' such as floats and doubles should be thought of as intervals or neighborhoods near the mathematical number. Tests for 'equality' of machine reals should never use machine equality '==' operators. 'Equality'

Re: What's the point of @properties?

2010-09-24 Thread Frederick Bartram
mechanism to expose state and methods as mechanisms to operate on that state. Just my $0.02. Frederick Bartram, long-time bitpusher. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Re: The cost of using objects rather than plain C variables

2013-07-07 Thread Frederick Bartram
> Is there any hope in the future to be able to store simple types like int or > floats in NSArrays? Have you tried using NSData to store C-arrays? *----- * Frederick Bartram * PGP key id: 0x63fa758 keyserver: http://keyserver.pgp.com */ smi

How is image drawing rate effected by image resolution and size?

2008-08-05 Thread Frederick Bartram
I am having difficulty understanding the issues involved in image drawing speed. I have a large, ~10K x 10K image in a scrolling view. The image is loaded as a PNG file into an NSImageView from a nib. I am getting large differences in the image drawing speed that I do not understand. The

Re: Cocoa-dev Digest, Vol 6, Issue 183

2009-01-31 Thread Frederick Bartram
On Jan 31, 2009, at 5:57 PM, cocoa-dev-requ...@lists.apple.com wrote: Can anyone tell me if the maximum speedup using parallel programming on multicore processors is BOUNDED by: (A) number of processers (as on a single core processor). (B) number of processors X number cores / processor. I

Re: Cocoa-dev Digest, Vol 10, Issue 633

2013-10-03 Thread Frederick Bartram
methods. In my own code, I think that I have migrated completely to the use of GCD. -- Rick *--------- * Frederick Bartram * PGP key id: 0x63fa758 keyserver: http://keyserver.pgp.com */ signature.asc Descript