Re: UIApplication terminate?

2010-03-16 Thread Peter Blazejewicz
Hello Steve, On Tue, Mar 16, 2010 at 9:41 AM, Steve Cronin wrote: > Folks; > > I have an iPhone application that is used for a very specific purpose. > > After perusing and modifying data the user is given the option to effectively > [Cancel]  or  [Save] > > After they have made their decision t

Re: NSXMLParser question about duplicate nodes

2010-01-06 Thread Peter Blazejewicz
orKey:kForecastElementHightKey]]]; [outputStr appendString:[NSString stringWithFormat:@"%@: %...@\n", kForecastElementTextKey, [forecast valueForKey:kForecastElementTextKey]]]; [outputStr appendString:[NSString stringWithFormat:@"%@: %...@\n"

Re: Threading issues with ivars

2010-02-02 Thread Peter Blazejewicz
u just sending message to nameLabel = which is actually nil in your -(void)updateLabels method, regards, Peter Blazejewicz On Tue, Feb 2, 2010 at 1:49 PM, Andreas Grosam wrote: > Hello, > > I have the following issue: > > > There is a label "nameLabel" which text needs to

Re: iPhone: UIWebView scroll position

2010-02-09 Thread Peter Blazejewicz
tance (stringByEvaluatingJavaScriptFromString)? Like: [NSString stringWithFormat: @"window.scrollTo(0, %d);" value]? kind regards, Peter Blazejewicz On Tue, Feb 9, 2010 at 8:10 PM, Eric E. Dolecki wrote: > I'd like to be able to have a user tap an area which will scroll the &g

Re: [iPhone 3.1] navigationItem.backBarButtonItem weirdness

2010-02-10 Thread Peter Blazejewicz
Hi John, your selector is missing colon: @selector(back:) for method: -(IBAction)back:(id)sender hth, regards, Peter Blazejewicz On Thu, Feb 11, 2010 at 1:10 AM, John Michael Zorko wrote: > > Hello, all ... > > I've a question about the UINavigationController backBarBu

Re: [iPhone 3.1] NSInvocation on main thread?

2010-02-11 Thread Peter Blazejewicz
Hi John, NSInvocation can be invoked on main thread as any NSObject subclass simply by performing selector on itself on main thread, However I think you're looking for custom additions similar to that one blogged here (Dave Dribin's blog): http://www.dribin.org/dave/blog/archives/2008/05/22/invoke_

Re: iPhone: UIWebView not displaying until scrolled?

2010-02-11 Thread Peter Blazejewicz
ity = 1.0; maybe that is some different issue that somehow became apparent on your web view use, regards, Peter Blazejewicz On Thu, Feb 11, 2010 at 8:40 PM, Eric E. Dolecki wrote: > I am animating a UIWebView after it's loaded - but it doesn't display > anything unless I scroll i

Re: Dock position and size

2010-02-14 Thread Peter Blazejewicz
dock positions using preferences, then wrap it through api of your choice, hth, regards, Peter Blazejewicz ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: Dock position and size

2010-02-14 Thread Peter Blazejewicz
er wrote: > On Sun, Feb 14, 2010 at 11:08 AM, Peter Blazejewicz > wrote: >> and change dock positions using preferences, then wrap it through api >> of your choice, > > Changing the Dock position is not your application's business. > > --Kyle Sluder > _

Re: [iPhone] Why can't a UITextField be its own delegate?

2009-07-26 Thread Peter Blazejewicz
Hi WT, have you tried - to avoid everything discussed in thread - to use implementation like below one? For what you want it could be more proper avoiding discussed issues and at the same time it hides everything into your subclass (wrapped delegate class details are hidden into module): #import

Re: CFHTTP +authentication

2009-01-25 Thread Peter Blazejewicz
hi John, On Jan 25, 2009, at 8:21 PM, John Michael Zorko wrote: Hello, all ... I guess this is more of a Core Foundation question, but it still seemed more apropos to this list than Carbon-dev. Please let me know if i'm wrong :-) there is better group then Carbon-dev: http://lists.apple.

Re: release static pointers

2009-01-26 Thread Peter Blazejewicz
hi Christian, On Jan 26, 2009, at 11:25 AM, Christian Giordano wrote: I'm wondering if and how the pointer to the statement will be released. In the code samples I saw there is no trace of the releasing (in this case, sqlite3_finalize(statement)). This is the example: http://icodeblog.com/wp-

Re: -stringByEvaluatingJavaScriptFromString: return value iphone

2009-01-31 Thread Peter Blazejewicz
ring:htmlCode baseURL:nil]; } - (void)webViewDidFinishLoad:(UIWebView *)webView { NSString *scriptCode = @"google.language.isTranslatable(\"en\")"; NSString *translatable = [webView stringByEvaluatingJavaScriptFromString:scriptCode]; NSLog(@"isTranslatable: %@

Re: -stringByEvaluatingJavaScriptFromString: return value iphone

2009-01-31 Thread Peter Blazejewicz
hi Marco, I'm not John Resig (http://ejohn.org/) but I would not assume that "return o" will actually evaluate to javascript object/function call, I would rather script: NSString *scriptCode = @"\"Hello\""; or: NSString *scriptCode = @"(function(){return \"hello\";})();"; but I would also fir

Re: Tab

2009-02-03 Thread Peter Blazejewicz
hi Stefan, have you considered using standard (in terms of Apple HIG) Dock item and/or Apple's menu bar item? To get insight on menu bar items see that 3rd party compilation list: http://menu.jeweledplatypus.org/#/ http://menu.jeweledplatypus.org/meta/ If anything vast majority of developers u

Re: Where to declare/initialise an NSOperationQueue

2009-02-14 Thread Peter Blazejewicz
single operation just executed in background thread within your controller? (performSelectorInBackgroundThread:withObject:) regards, Peter Blazejewicz On Feb 14, 2009, at 7:49 AM, Jacob Rhoden wrote: Hi Guys, I have been starting to use NSOperationQueue. I have ended up with one put in each

Re: Safari Download Security Alerts

2008-12-11 Thread Peter Blazejewicz
hi Dave, that's not Safari unique feature. That's system-wide component. In your Xcode documentation window type "file quarantine" or navigate to Guides>Security>Security Overview>Security Services #File Quarantine regards, Peter Blazejewicz On Dec 11, 2008, at 1

Re: Cocoa <- > PHP <-> MySQL

2009-03-03 Thread Peter Blazejewicz
synchronous ones and you could find it more efficient or better suited for your application to use asynchronous requests with NSURLConnectionDelegate (that part is quite good documented in documentation that ships with Xcode I think), regards, Peter Blazejewicz On Mar 3, 2009, at 10:50 AM

Re: sending emails using URLRequest and php

2009-04-15 Thread Peter Blazejewicz
ge through Cocoa/Cocoa Touch client side code very nicely starting from GET requests, regards, Peter Blazejewicz ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mod

Re: High Scores local to iPhone app

2009-05-05 Thread Peter Blazejewicz
Data concepts - as I assume you're targeting iPhone SDK as well, regards, Peter Blazejewicz ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderato

Re: How to use CFReadStrem and abort read stream normally?

2009-05-26 Thread Peter Blazejewicz
ase(myStream); kind regards, Peter Blazejewicz ___ 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/Upda