Copy of NSDictionary is cleared when the original is cleared. Why?

2009-03-12 Thread fclee
Why is myDict empty? {I've checked via debugger po} It's a COPY of textDictionary, that had been cleared. Here's my code: + (NSDictionary *)getTextData { NSDictionary *myDict = [textDictionary copy]; [self resetDataCache]; return myDict; } // end getText(). + (void)resetDataCache {

How do I pop/release from within a subView back to my original/calling routine?

2009-03-01 Thread fclee
I have a mental block, here... a bit lost: I've finished doing stuff within a subView that I generated and wish to exit dealloc (pop) to the previous view (where I was). Here's where I've started, created the subView, did work within the SubView and now which to exit: -

Re: How do I pop/release from within a subView back to myoriginal/calling routine?

2009-03-01 Thread fclee
Solution: I used the NSNotification class to send a note to the calling class to remove the source view. It works: I can pop out of the subView now. Ric. On 03/01/2009 12:10 fc...@dialup4less.com wrote .. I have a mental block, here... a bit lost: I've finished doing

Encryption: Simplest method to encrypt a SQLite DB file...?

2009-01-23 Thread fclee
I would like to: 1) Encrypt/Encode a SQLite DB file from the command line (or via an application) and 2) De-Encrypt/Decode the same SQLite DB from within Cocoa/iPhone via a key of some sort. Scenario: I'm developing a game using data values stored within a SQLite DB file. I don't want

Re: Encryption: Simplest method to encrypt a SQLite DB file...? {iPhone}

2009-01-23 Thread fclee
Environment: iPhone I'm particularly concerned with 'data viewing'. Think of the data as answers to a quiz. I worry that some hacker could copy distribute the data (rules) on the internet, and in essence, cheat the game. Being that ... iPhone is far more restrictive towards tampering..., Is

Re: Encryption: Simplest method to encrypt a SQLite DB file...?

2009-01-23 Thread fclee
This is within an iPhone environment, where the entire game logic rules are stored within the application bundle. We're using SQLite as the preferred storage 'bin'. But I don't want hackers peek inside and spoil the game. I figured that I could encode the SQLite DB file via my MacBook Pro

iPhone UIView: How do I animate the addition/entrance of a window's subview?

2009-01-08 Thread fclee
Background: @interface ScanView : EAGLView AbstractViewProtocol, ScannerDelegate --- subclass of UIView. - The following code is typical for loading the 'scanView' subView into its parent window: [window addSubview:scanView]; // ...this is what I'm doing now. The end result is

Can we discuss iPhone development yet?

2008-10-01 Thread fclee
I just got notified that Apple has dropped the NDA: http://www.iphoneatlas.com/2008/10/01/apple-drops-nda-for-released-iphone-software/ I wonder what are liberties are; concerning development questions. Ric. ___ Cocoa-dev mailing list

Programmatically place cursor within NSTextField

2008-08-13 Thread fclee
How can I programmatically position the cursor to an arbitrary position with a NSTextField? For example, placing a cursor within the parentheses '('...')' of a phone number? Regards, Ric. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: Advanced Mac OS X Bootcamp

2008-06-02 Thread fclee
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/fclee%40dialup4less.com This email

Re: Leopard (10.5+): Any Upper-Level (Cocoa) access to Mail?

2008-06-02 Thread fclee
I would like to talk to Mail.app / ditto for (NDA - aware) iPhone platform. Ric. On 06/02/2008 08:53 Michael Watson wrote .. Are you trying to talk to Mail.app, or are you looking for a generic e- mail framework? -- m-s On 02 Jun, 2008, at 11:34, [EMAIL PROTECTED] wrote: I'm

Leopard (10.5+): Any Upper-Level (Cocoa) access to Mail?

2008-06-02 Thread fclee
I'm searching for a Cocoa/ObjC routine to access/check Mail; specifically #read #unread mail messages. Is there such a routine or need I go do a BSD Mail access? So far, I've found the NSMailDelivery.h within the message.framework. But much of the code appears to be deprecated for OS 5 beyond.

How to schedule an autonomous (SMTP/FAX) service.

2008-05-21 Thread fclee
Greetings: What is the preferred way to programmatically schedule a SEND/FAX event, (preferably via Cocoa)? I could supply the necessary parameters data, perhaps stored in User Defaults or a flat file. 1) The event must be able to fire regardless of parent application (parent app.

Re: NSURLRequest : Unable to Quit App after Syn call to Server.

2008-05-16 Thread fclee
On 05/15/2008 17:56 Jens Alfke wrote .. ...You should call [NSApp terminate: self] instead. I did that; and repeated it. I'm running in debug mode. The program works till I QUIT via [NSApp terminate:self]. Now I'm getting (via gdb console {Running as a Cocoa App on my MacBookPro): RunningÂ…

Re: NSURLRequest : Unable to Quit App after Syn call to Server. SOLVED???

2008-05-16 Thread fclee
I needed to modify the default 'GET' Response of the NSURLRequest to a 'POST'... So I changed 'NSURLRequest' to a 'NSMutableURLRequest' to modify the HTTPMethod: // --- // 2) Create the request. NSMutableURLRequest *theRequest=[NSMutableURLRequest

Cocoa: How do I send/receive XML within a HTTP connect?

2008-05-16 Thread fclee
Hello, I'm having trouble determining the best path to follow. Here's the schema in a nutshell: [Mac XML/SOAP - Server] .. where an HTTP Post connection is created and a post/reply is synchronously generated. I want to use Cocoa to do the equivalent in Java: StreamConnection

Re: Cocoa: How do I send/receive XML within a HTTP connect?

2008-05-16 Thread fclee
I should add... Does the NSMutableURLRequest actually send the XML data to the server? Via the NSMutableURLRequest class, I can alter the HTTP Body, etc. However, I need to send a SOAP/XML envelope receive a XML response. I don't see where in the NSNetworking docs that I can send a SOAP/XML to

Re: Cocoa: How do I send/receive XML within a HTTP connect?

2008-05-16 Thread fclee
On 05/16/2008 11:18 Jens Alfke wrote .. On 16 May '08, at 10:59 AM, [EMAIL PROTECTED] wrote: Do I use NSURLConnection to actually TRANSMIT RECEIVE XML data to the Server like this? serverData = [NSURLConnection sendSynchronousRequest:theRequest

Re: Cocoa: How do I send/receive XML within a HTTP connect?

2008-05-16 Thread fclee
Subscription: http://lists.apple.com/mailman/options/cocoa-dev/fclee%40dialup4less.com This email sent to [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

NSURLRequest : Unable to Quit App after Syn call to Server.

2008-05-15 Thread fclee
Greetings: The Cocoa code below works. I get data back from the server. However, I'm unable to QUIT this application after this particular routine passes through. I checked the Activity Monitor and can see a bunch of threads still in session: Call graph: 1922 Thread_2503 1922

Can I use NSString classes SYNCHRONOUSLY?

2008-05-14 Thread fclee
Greetings: I need to mimic the following synchronous Java routine: StreamConnection xmlstream = null; HttpConnection connection = null; .. xmlstream = (StreamConnection)Connector.open(SOAP_SERVER_URL + ;deviceside=false,Connector.READ_WRITE,true); .. // Send

Re: Can I use NSString classes SYNCHRONOUSLY?

2008-05-14 Thread fclee
://lists.apple.com/mailman/options/cocoa-dev/fclee%40dialup4less.com This email sent to [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Using ObjC to access SOAP/WSDL server

2008-05-04 Thread fclee
/cocoa-dev/fclee%40dialup4less.com This email sent to [EMAIL PROTECTED] ___ 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

Re: Using ObjC to access SOAP/WSDL server

2008-05-04 Thread fclee
Thanks for the reply. I've been doing research and found the NSURL... classes appear to do what I was looking for: Accessing data from a server using a SOAP envelope. 1) The server provides me with a URL (no port# given; just the http URL). 2) I can set/adjust the authority parameters via