Hello,
We are interested in using the AddressBook framework (specifically, the people
picker view) but we haven't found a way with the CocoaPeoplePicker code example
to show remote contacts (via LDAP, Exchange, or CardDAV) under 10.6. Does the
Address Book framework not support remote contacts?
On Mar 30, 2010, at 4:01 PM, McLaughlin, Michael P. wrote:
> I have a Cocoa app (Leopard) which launches several Foundation Tool subtasks
> (since threads are not sufficient in this case). Currently, I terminate
> these subtasks via the app-delegate method
>
> -(NSApplicationTerminateReply)appl
On Mar 21, 2011, at 10:24 PM, Chris Hanson wrote:
> Ultimately, the solution will be to modify HessianKit -- or any other
> framework that presents an RPC-style interface[1] -- to follow the Cocoa
> convention of returning BOOL (or a non-nil/nil object reference) to indicate
> success or failu
On this page:
http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/Cocoa64BitGuide/ConvertingExistingApp/ConvertingExistingApp.html#//apple_ref/doc/uid/TP40004247-CH5-SW5
Apple suggests using:
/Developer/Extras/64BitConversion/ConvertCocoa64 `find . -name '*.[hm]' | xargs`
Howe
On Aug 4, 2010, at 9:02 AM, Marcus Karlsson wrote:
> Hello.
>
> The subject of this thread is probably somewhat weird at first but let me
> explain.
>
> Let's say that I'm receiving data from the network and need to store it in a
> buffer. I need to store it until enough data has been collect
On Aug 30, 2010, at 11:29 AM, Vincent Habchi wrote:
> Hi everybody,
>
> just an enquiry regarding coding style. What is considered best:
>
> baz = [[[Foo alloc] init] autorelease];
> …
> return baz;
>
> or
>
> baz = [[Foo alloc] init];
> …
> return [baz autorelease];
>
> ?
According to the
On Sep 16, 2010, at 5:54 PM, Stevo Brock wrote:
> Great suggestion.
>
> Here's the full list of backtraces from the iPad (3.2.2)... Spin lock is in
> Thread 1 at the end...
>
> Thread 1 (thread 12035):
> #0 0x33af18a4 in spin_lock ()
> #1 0x33af21aa in pthread_once ()
> #2 0x33d795a2 in CG
On Oct 18, 2010, at 2:41 PM, glenn andreas wrote:
>
> On Oct 18, 2010, at 12:19 PM, Alex Kac wrote:
>
>> I'm fairly certain my problem here is that I wasn't thinking about unicode
>> terms here.
>>
>> What we are trying to do:
>> Shorten the AM/PM to just the first character in Western Langu
On Nov 23, 2010, at 12:55 PM, Philippe Strauss wrote:
> Hello Cocoa developpers,
>
> When using a CFRunLoopRun() event loop in a non-GUI daemon, what kind of
> resource and handler do you need to add to the loop for beeing able to
> process signals (unix signals) and not beeing stuck in:
>
>
On Nov 30, 2010, at 5:27 PM, Jean-Daniel Dupas wrote:
> And for completeness of the answer, here is when Apple recommends to use
> drawer:
>
> http://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGWindows/XHIGWindows.html%23//apple_ref/doc/uid/200
On Mar 24, 2008, at 10:57 AM, Jens Alfke wrote:
Distributed notifications aren't the same thing as NSNotifications,
even though Foundation tries to give them a similar API. Regular
notifications aren't available to other processes; a notification
has to be explicitly posted as distributed,
On Jan 16, 2009, at 5:00 PM, Allyn Bauer wrote:
Hello all,
I'm writing a fairly simple server <-> client app. The server
publishes a network name using Bonjour and clients get a list of
names. They choose one (for now). After this choice, I would like the
selection to somehow be saved using NSU
On Jan 30, 2009, at 2:08 AM, Rick Mann wrote:
Sorry for the cross-post, but I thought both these lists might have
advice to offer.
Please don't cross-post. Try one list, then the other.
I just dusted off an app I'd worked on several months ago. It used
to work fine (prior to 10.5.6), but
Hello,
Now that 10.5 allows one to maintain pointers to threads other than
the current thread, is it legal to call -threadDictionary for the non-
current thread? I ask because it is odd that Cocoa would allow access
to address space that the standard pthread_key/specific API would not
allo
On Mar 9, 2009, at 3:59 PM, Paul Kim wrote:
I have been using NSKeyedArchiver's +archivedDataWithRootObject:
method to create archives. Now, I want to create and read the same
archives but using a instances of NSKeyedArchiver and
NSKeyedUnarchiver instead of the class methods (so I can do
On Mar 11, 2009, at 2:42 AM, Ken Thomases wrote:
All irrelevant, as there's no need for any signaling of any run loop
input sources to allow timers to fire.
And the best source is the source:
http://www.opensource.apple.com/darwinsource/10.5.6/CF-476.17/CFRunLoop.c
static void __CFRunLoopTi
On Mar 11, 2009, at 3:15 PM, Rick Mann wrote:
According to the docs, acceptable time zone names include names like
"US/Pacific". What are the other names that can be used? Central,
Mountain, Atlantic? What's Hawaii's in this style?
I can't find "US/*" names in the list supplied by [NSTimeZ
On Mar 13, 2009, at 12:05 AM, Graham Cox wrote:
Minor problem, I think, but I'd like to get some advice about the
right way to approach this.
One of my classes can sometimes fail in -initWithCoder: - it relies
on certain resources being available and if it doesn't get them, I
thought I c
On Mar 18, 2009, at 6:05 PM, James Maxwell wrote:
I've got a really frustrating, and really silly problem.
I have some fairly complex machine learning code I'm working on.
I've noticed inconsistent output from a particular method. I'm doing
some fairly nasty array and matrix stuff, which i
On Mar 20, 2009, at 12:22 PM, Robbie Hanson wrote:
How can I know if a fired timer has already been "invalidated" using
setFireDate? Consider the following pseudo-code:
- (void)dequeueNextOperation
{
// IF there is another operation in the queue
// Dequeue and start opertati
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On May 6, 2009, at 11:49 AM, Jonathon Kuo wrote:
On May 4, 2009, at 8:12 PM, Ken Thomases wrote Re: 'A couple
NSRunLoop questions':
Every thread has exactly one run loop associated with it. You
don't create run loops nor do you remove them.
I have a DO-based application which uses a Class object as a root
proxy under 10.4- it works as expected. Objective-C 2.0 seems to have
broken this option because Class no longer responds to -
encodeWithCoder:.
I am not able to think of a reason for this regression, but perhaps
the new dyn
On Feb 23, 2008, at 11:17 AM, Luca Ciciriello wrote:
Hi All.
I've added to a cocoa project a .cpp file. In this file I've
implemented a multithreading system using POSIX. Now, from my cocoa
app's window I can use the functionality of the new added cpp file
(using a .mm file as interface
23 matches
Mail list logo