Re: Where is the preset?

2010-07-04 Thread unixo
You can change company name with this command (issue it in terminal):

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions 
'{ORGANIZATIONNAME = A Great Company;}'

admin username is the current logged user, if I'm wrong

regards
unixo

On Jul 4, 2010, at 1:51 AM, rramage wrote:

 Please forgive this newbie question.  When I create a new
 header  implementation file, it adds a header comment that
 says in part:
 
 //
 //  Created by admin on 30/06/10.
 //  Copyright __MyCompanyName__ 2010. All rights reserved.
 //
 
 Where and how do I change admin and __MyCompanyName__ so
 I don't have to change every file after the creating?
 
 Thank you,
 Ronald 
 ___
 
 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 your Subscription:
 http://lists.apple.com/mailman/options/cocoa-dev/unixo%40devzero.it
 
 This email sent to un...@devzero.it

___

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 your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: How to retrieve a vCard during an ISyncSession?

2010-07-01 Thread unixo
My need is to retrieve a vCard given a ISyncChange record identifier.
Does anyone know if there is a relationship between the two IDs?

Thanks in advance

On 30/giu/2010, at 08.34, Laurent Cerveau wrote:

 Why would you want to retrieve the vCard? The sync engine can give you all 
 attributes for a record. Or maybe AddressBook framework is more suited to 
 your needs
 
 laurent 
 
 Sent from my road phone
 
 
 On Jun 30, 2010, at 7:59 AM, unixo un...@devzero.it wrote:
 
 Hi,
 
 I'm writing a sync client which pulls Contacts entity from sync server; an 
 unique identifier is associated with each record: given an ID, is there a 
 way to load the corresponding vCard from address book?
 
 Even if data are similar (except for suffix :ABPerson), I can't find a 
 record using recordsMatchingSearchElement: method.
 ISyncChange UID: 04854671-4DD3-41C8-9601-3AE65C1AAEA1
 AddressBook UID: C8CD9946-D629-4CD1-90A4-F270190AC4A0:ABPerson
 
 Any ideas?
 
 Thanks in advance!___
 
 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 your Subscription:
 http://lists.apple.com/mailman/options/cocoa-dev/lcerveau%40me.com
 
 This email sent to lcerv...@me.com

___

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 your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


How to retrieve a vCard during an ISyncSession?

2010-06-30 Thread unixo
Hi,

I'm writing a sync client which pulls Contacts entity from sync server; an 
unique identifier is associated with each record: given an ID, is there a way 
to load the corresponding vCard from address book?

Even if data are similar (except for suffix :ABPerson), I can't find a record 
using recordsMatchingSearchElement: method.
ISyncChange UID: 04854671-4DD3-41C8-9601-3AE65C1AAEA1
AddressBook UID: C8CD9946-D629-4CD1-90A4-F270190AC4A0:ABPerson

Any ideas?

Thanks in advance!___

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 your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


CoreData and memory leaks

2010-06-21 Thread unixo
In my coredata application, I noticed a weird behavior when closing document 
windows; to be sure this was not related with some memory leaks introduced by 
me, I created a new document-based coredata project, without adding any kind of 
customization.

I did the following test, even if it's not a scientific approach:
- I run the application, then launched Activity Monitor and filtered by this 
application name;
- I created a lot of new documents and closed them all.

I noticed that, after closing all the documents, real memory occupation 
increased compared to the startup; I did the previous two steps again, and 
memory occupation increased a little bit more.

Is it normal that this kind of application (coredata) does this way?

Best regards
unixo

___

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 your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: CoreData and memory leaks

2010-06-21 Thread unixo
 Maybe.

Remember that I'm using a brand new application, without any custom code.
Maybe? What can it depend on?

 Did you try running it in Instruments using the object alloc  leaks 
 instruments? For various reasons, Activity Monitor is a poor memory debugging 
 tool. Instruments, OTOH, will show you what is really going on.

Yes, I did, no leaks were detected.


___

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 your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com