has overhead, if you make it much larger
> than 100 you have the save overhead less often but you have to scan more
> in-memory objects, it's a compromise.
> 1000 checks and inserts a second seems .. about ok to me and if you make
> sure and save the context regularly, you should be
Hi Roland, in fact indices table exists (for DDArticle entity):
Enter SQL statements terminated with a ";"
sqlite> .tables
ZDDARTICLE Z_METADATA Z_PRIMARYKEY
sqlite> .indices ZDDARTICLE
ZDDARTICLE_ZMESSAGEID_INDEX
ZDDARTICLE_ZPARENT_INDEX
With my macbook pro insertion of 30k articles took ab
On Sat, Feb 13, 2010 at 4:06 AM, Roland King wrote:
> That's not a horrible solution, except for the feeling that core data ought
> to let you do what you want without having to implement your own UUID cache.
> I'm still a bit surprised that a lookup for an object by one attribute is
> taking so
I've tried to make an alternative method. I'll try to describe it.
I would to use a second an auxiliary index where to save my uuid<->objectURI;
results are better, so I try to make a summary of the problem and the solution.
If anyone have a better idea I'll be happy to talk about it :)
I've abou
On Feb 12, 2010, at 2:05 PM, Roland King wrote:
> 1) does this uuid need to be something you generate externally and then set
> onto the object? Each core data object already has an objectID which is
> guaranteed unique in the database, can you make use of that one instead? You
> are allowed t
Hello,
I would use CoreData in order to mantain an archive of objects: each object
contains an attribute called "uuid"; in the same db only one object can have
the same attribute value. This mean I should validate the proposed new object
to insert and check if the another object with the same uu
Hello, I have a stream of data (some messages) from a socket and I
need to save it in a CoreData db. I would to optimize this thing by
using more than a managedobjectcontext for each N messages arrived.
The problem is that I need to link these message between
(parent/childs). How can I check if a m
hello I'm using a custom NSCell in order to draw some elements in an
NSTableView. I've created a simple tableview with 2 row. However my
draws is always put on first row while the second one is empty.
This my code for NSOutlineView delegate http://pastebin.com/m7f5f8a0f
while this is for my NSCell
view...but if I could draw directly on PDFPage
it will be the best solution. I've tried to subclass PDFView but
nothing and PDFPage does not have necessary methods (or I have not
found it).
On Sat, Mar 7, 2009 at 10:19 PM, Antonio Nunes wrote:
> On 7 Mar 2009, at 10:51, malcom wrote:
Hello,
is possible to draw NSBezierPath inside a PDFPage? How?
Thanks
___
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.c
Hello guys
Is possible to get the components of a PDFPage? I should to take
images and text from the page and put each of these inside a file.
Any suggestion?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or mo
Hello,
I'm working on a subclass of NSCell that draws a custom style progress bar.
Everything works fine, it draws correctly and I've made the code to
make indeterminate animation (the method should be called by a timer).
So I've created a NSTimer in my NSCell subclass, but when I try to run
the pr
problem related to server? can I
fix it?
Thanks a lot
malcom
___
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
Hel
The program engine itself should run both on iPhone and Mac platform
so I can't use CoreData (and in fact the same thing is for DataCrux).
I'm looking at sqlitepersistentobjects but seems to be in beta. Anyone
used it yet?
On Tue, Nov 11, 2008 at 1:52 PM, I. Savant <[EMAIL PROTECTED]> wrote:
>> I'
Hello List,
I'm searching for a things like ActiveRecord for Ruby in Objective-C
(but I don't want to use Core-Data).
Anyone can point me to the right solution? I've taken a look at
http://www.cocoadev.com/index.pl?DataCrux but seems to be adbandoned.
Thanks
Hello Lists,
I'm using NSURLConnection and NSURLRequest to make connection to a
server. Now I would to implement Proxy server connection but I cannot
find something about it inside the docs. Anyone can point to me to the
right way?
Thanks a lot.
_
Dear List,
I'm working with CoreData. I need to insert lots of objects and make
relationship with these and I've decided to perform this operation
deteaching a new thread that pool an NSArray where data is placed.
This thread make the object and insert it in a second managed object
context,
Hello to all!
What's the correct way in Core Data to save a stream of data?
This is the problem.
Suppose to have lots of packets each of these can be linked to a
parent and could have one or more childrens.
You can receive these packets ordered (so you can receive the parent
of message only in a me
Ok I've just found a solution.
Make a new NSString object with a copy of the textview string and pass it.
NSString *tmp = [[NSString alloc] initWithString: [[view textStorage] string]];
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do n
I've noticed a strange thing.
If I take my NSString from an NSTextField it seems to works, while if
I use textStorage] string] from an NSTextView it simply put an empty
string or still remain the old value into the NSManagedObject (however
with GDB the textStorage] string] return the correct value)
s, insert, deletes? Need I to fetch
this entity instead of taking it from draftObject relationship?
Thanks a lot.
malcom
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Conta
21 matches
Mail list logo