Thursday, October 13, 2011

What Have You Tried?

If you’re a developer and you’re about to ask another developer a technical question (on a forum, via email, on a chat channel, or in person), you’d better be ready to answer the question “What have you tried?”
This of course isn’t specific to software developers, but that’s my field and it’s thus the area in which I’m most familiar with the issue which motivated me to write this. I’m (sadly) quite sure that it applies to your own industry too, whatever that might be.

http://mattgemmell.com/2008/12/08/what-have-you-tried/ 

Stop Activity Indicator in Status Bar ?


Implement the UIWebViewDelegate in your class file that holds the UIWebView,
and insert the following two methods:
- (void)webViewDidStartLoad:(UIWebView *)webView

- (void)webViewDidFinishLoad:(UIWebView *)webView
 In the start method, place your:
 [UIApplication sharedApplication].networkActivityIndicator
Visible = YES;
 ... and in the finish, place:
 [UIApplication sharedApplication].networkActivityIndicator
Visible = NO;

Hope this helps!

Swift Operators - Basic Part 3 (Range operators in swift)

Range Operators: Closed Range operators  Half-Open Range Operators One-Sided Ranges Closed Range Operators:  a...b It defines...