Re: iOS; how to "connect" to 3G

2012-10-18 Thread Kyle Sluder
On Thu, Oct 18, 2012, at 01:25 PM, M Pulis wrote: > Thanks! > > Not using anything low level... hence the surprise we actually use > it to determine if our login url is reachable; if not we work > "offline". I'll take a deeper look at what we are doing there. You can't use Reachability to

Re: iOS; how to "connect" to 3G

2012-10-18 Thread M Pulis
Thanks! Not using anything low level... hence the surprise we actually use it to determine if our login url is reachable; if not we work "offline". I'll take a deeper look at what we are doing there. Gary On Oct 18, 2012, at 1:12 PM, David Duncan wrote: On Oct 18, 2012, at 12:55 PM,

Re: iOS; how to "connect" to 3G

2012-10-18 Thread David Duncan
On Oct 18, 2012, at 12:55 PM, M Pulis wrote: > My iOS app uses the Reachability sample code to detect network availability > to work "offline" or "online". > > When using 3G, we get to the "connectionrequired" state. What to do then? We > try a login to our web site and that fails. > > WIFI w

iOS; how to "connect" to 3G

2012-10-18 Thread M Pulis
My iOS app uses the Reachability sample code to detect network availability to work "offline" or "online". When using 3G, we get to the "connectionrequired" state. What to do then? We try a login to our web site and that fails. WIFI works great, but we need 3G also. What am I missing or sh

Re: Associate icon with file ext. / quick look

2012-10-18 Thread Seth Willits
On Oct 18, 2012, at 4:04 AM, Jean Suisse wrote: > Thank you for your reply. I am not familiar with the topic, but if I > understand you correctly, what you say implies that : > > 1. The icon for the file type must be the same than the icon for the app. > 2. If my app generates three files of dif

Re: Cross-fading between layers

2012-10-18 Thread Corbin Dunn
On Oct 18, 2012, at 9:53 AM, Kyle Sluder wrote: > On Oct 18, 2012, at 8:50 AM, Gabriel Zachmann wrote: > >> So far, I am fading out an existing layer, and fading in a new layer by the >> following 5 lines of code: >> >> [CATransaction begin]; >> [CATransaction setAnimationDuration: fading_

Re: Cross-fading between layers

2012-10-18 Thread Kyle Sluder
On Oct 18, 2012, at 8:50 AM, Gabriel Zachmann wrote: > So far, I am fading out an existing layer, and fading in a new layer by the > following 5 lines of code: > > [CATransaction begin]; > [CATransaction setAnimationDuration: fading_duration]; > [mainLayer_ replaceSublayer: currentLayer_

Cross-fading between layers

2012-10-18 Thread Gabriel Zachmann
About a week ago I have posted about my problem with (not) cross-fading Core Animation layers in Mountain Lion. Perhaps, my post was too long ;-) Perhaps I forgot to mention that I did google quite bit, but didn't understand what the best solution would be in my case. So far, I am fading out an

Re: How to send fetchrequest to main context from a local context on a separate thread?

2012-10-18 Thread Mike Abdullah
On 18 Oct 2012, at 16:01, Koen van der Drift wrote: > After some more searching I came to the following plan. > > 1. get the main context from another thread as follows: > > AppDelegate *appDelegate = [[NSApplication sharedApplication] delegate]; > NSManagedObjectContext *mainContext = [appD

Re: How to send fetchrequest to main context from a local context on a separate thread?

2012-10-18 Thread Koen van der Drift
After some more searching I came to the following plan. 1. get the main context from another thread as follows: AppDelegate *appDelegate = [[NSApplication sharedApplication] delegate]; NSManagedObjectContext *mainContext = [appDelegate managedObjectContext]; 2. use performSelectorOnMainThrea

RE: Draw a nsview with nsbutton cell

2012-10-18 Thread Sanjay Arora
Thanks. That works like a charm! Regards Sanjay -Original Message- From: Graham Cox [mailto:graham@bigpond.com] Sent: 18 October 2012 12:15 PM To: Sanjay Arora Cc: Cocoa Dev Subject: Re: Draw a nsview with nsbutton cell On 18/10/2012, at 4:05 PM, Sanjay Arora wrote: > Is there a