Re: Storing a password (iPhone)

2009-05-04 Thread Nicko van Someren
On 1 May 2009, at 04:58, Jelle De Laender wrote: What is the best way to store a password on the iPhone? I can't take the MD5 hash because I need to be able to work with the original password. Should I create a custom class (with 2 strings) and save them with NSKeyedArchiver with the idea:

Re: Getting the message text of a mail

2009-04-26 Thread Nicko van Someren
Without wanting to discuss undocumented APIs, you might want to Google 'GPGMail' as an example of a plug-in for Mail.app which adds support for using the Open Source GPG mail encryption code. The plug-in makes a fairly good stab at being compatible across a number of versions of Mail.app a

Re: Screen Savers

2009-04-10 Thread Nicko van Someren
On 10 Apr 2009, at 12:46, Dave Keck wrote: To get the path to a bundle that's loaded inside an arbitrary process, I create a stub subclass of NSObject (let's call it MyStubClass) and simply call [NSBundle bundleForClass: [MyStubClass class]]; This technique is the most straightforward way I kno

Re: Set user agent for NSURL

2008-11-17 Thread Nicko van Someren
On 17 Nov 2008, at 09:10, Scott Anguish wrote: On 17-Nov-08, at 12:50 AM, Mr. Gecko wrote: Hello I am working on a website crawler and I am needing to make a user agent string so people who monitoring who visits can know that my crawler visited. It sounds like you're getting data just us

Re: SecKeyGeneratePair export Public Key and OpenSSL API

2008-11-06 Thread Nicko van Someren
On 4 Nov 2008, at 15:59, Jacopo Mangiavacchi wrote: I need to export a public key generated with the SecKeyGeneratePair API and send it to a WebServices (written in PHP) that using the OpenSSL API must encrypt something using this key and return back the ciphered value to the cocoa client.

Re: Compare images in Cocoa

2008-10-31 Thread Nicko van Someren
On 31 Oct 2008, at 03:21, Pierce Freeman wrote: Hi everyone. I am wondering if there is some way to compare two images in Cocoa, and then somehow spit out a percent of how similar they are. The only way I could think of is comparing every pixel, but this seems like it would take a long time

Re: Parsing xml files in Cocoa applications

2008-10-31 Thread Nicko van Someren
On 30 Oct 2008, at 09:29, Paul Reilly wrote: There is also some good sample code on the iPhone Developer site, called SeismicXML which shows how to parse an XML document. It is worth noting that while the event-driven NSXMLParser class is available on the iPhone, NXSMLDocument and its frie

Re: inter-object communication

2008-10-29 Thread Nicko van Someren
On 29 Oct 2008, at 06:30, Charles Steinman wrote: From: Albert Jordan <[EMAIL PROTECTED]> What is the recommended way for Object B to inform Object A that it is done processing a request for the following scenario? Object A has a list of phone numbers to send SMS messages Object B implements

Re: Can we ask iPhone questions yet?

2008-10-28 Thread Nicko van Someren
On 28 Oct 2008, at 15:18, I. Savant wrote: On Tue, Oct 28, 2008 at 11:13 AM, Nicko van Someren <[EMAIL PROTECTED]> wrote: I saw Scott's message about taking complaints to dev relations, and his comment about things being 'off topic' but my reading of those messages (

Re: Can we ask iPhone questions yet?

2008-10-28 Thread Nicko van Someren
On 28 Oct 2008, at 14:52, I. Savant wrote: On Tue, Oct 28, 2008 at 10:42 AM, Nicko van Someren <[EMAIL PROTECTED]> wrote: As such I don't see any reason whatsoever why people should not post questions about about Cocoa Touch on this list. That said, perhaps the moderators

Re: Can we ask iPhone questions yet?

2008-10-28 Thread Nicko van Someren
On 28 Oct 2008, at 10:51, Colin Barrett wrote: On Tue, Oct 28, 2008 at 1:27 AM, Torsten Curdt <[EMAIL PROTECTED]> wrote: IMO that does not really answer the question :) You are legally able to yes, assuming you have accepted the new NDA. However, as I understand it, your post would be off t

Re: List Guidelines and Resources

2008-06-06 Thread Nicko van Someren
On 27 May 2008, at 09:30, Scott Anguish wrote: [thanks to mmalc for posting the guidelines.. they've been recently updated and the new version is below] Scott, For the benefit of those who have been on the list a while, perhaps when you update the guidelines you would be so kind as to post

Re: Custom Core Image filter help

2008-02-21 Thread Nicko van Someren
On 20 Feb 2008, at 18:07, Daniel Thorpe wrote: Hey Nicko, thanks for getting back to me... No problem! I am having some problems with my kernel code however, which I've changed as you suggested (I had already done this in my Obj-C implementation)... This is my kernel code: ...