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 {
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 st
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:
- (void)glyphIconB
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 lapt
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...",
I
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 hack
Background:
@interface ScanView : EAGLView
<--- 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 a brief flash of void/black backgroun
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 (Cocoa-dev@lists
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)
Pleas
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 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
gt; http://www.bignerdranch.com/classes/advanced_mac_os_x.shtml
> ___
>
> 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/Unsubsc
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. co
I got this to work!
The following is the complete code.
All the authorization and data is supplied by the .xml test file that I have
stored within the App bundle.
Thanks all!
=
- (IBAction)startSOAP:(id)sender {
NSLog(@"\n{AppDelegate} startSOAP start");
// crea
> 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 sent t
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
> >
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
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 xmlst
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
reques
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):
Runni
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
; 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 sent to [EMA
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);
..
// Sen
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 NSURL.
le.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 sent to [EMAIL PROTECTED]
__
25 matches
Mail list logo