Re: Mac core data and iCloud example app

2011-10-16 Thread Martin Hewitson
Hi Marc, In fact I am doing that. He's the options dictionary for the persistent store creation. NSMutableDictionary *dict = [NSMutableDictionary dictionary]; [dict setObject:[NSNumber numberWithBool:YES] forKey:NSMigratePersistentStoresAutomaticallyOption]; [dict setObject:@".store" forKey:

Re: Mac core data and iCloud example app

2011-10-16 Thread Roland King
There's one in the iOS section of the dev forums posted by an Apple engineer. That's an updated version of the iPhone core data recipes. Theres a long thread after it about how hard it is to get it working which is worth a read if you have access. I would say at this point that it is pretty hard

Re: Mac core data and iCloud example app

2011-10-16 Thread Marc Respass
> Has anyone come across a sample app which demonstrates how to make a shoebox > core data app which works with iCloud? I've dug into the documentation but I > can't find any sample code. The "What's new in Core Data on Mac OS X" session > from WWDC 2011 hints at some things but doesn't show any

Re: Mac core data and iCloud example app

2011-10-16 Thread Jerry Krinock
On 2011 Oct 16, at 10:19, Martin Hewitson wrote: > Has anyone come across a sample app which demonstrates how to make a shoebox > core data app which works with iCloud? I've dug into the documentation but I > can't find any sample code. Martin, the newest Core Data sample app that we have was

Re: Checking for Internet Connection in an iApp

2011-10-16 Thread Jens Alfke
On Oct 16, 2011, at 2:45 PM, John Love wrote: > Maybe my method of "taking my connection" down may be in error -- I am simply > pushing off the "standby" button on my cable modem -- I have also just > unplugged the modem. That’s not an error, but it’s kind of a worst-case scenario for reachabi

Re: Arc and performSelector

2011-10-16 Thread Graham Cox
I think you understand why the warning is coming up. But I would suggest this is a factorisation too far. Do you need to employ this (to my eyes, rather strange) form of code so often that it is necessary to factor out the selector in/out code in the way you have? Why not just move the performS

Re: Checking for Internet Connection in an iApp

2011-10-16 Thread Kyle Sluder
On Sun, Oct 16, 2011 at 2:45 PM, John Love wrote: > I really have been just about everywhere, e.g., stack overflow.com and > iphonedevsdk.com and have really learned a lot … unfortunately, what I have > learned is that there are opposing opinions on how to best check for an > active internet co

Checking for Internet Connection in an iApp

2011-10-16 Thread John Love
I really have been just about everywhere, e.g., stack overflow.com and iphonedevsdk.com and have really learned a lot … unfortunately, what I have learned is that there are opposing opinions on how to best check for an active internet connection with respect to effectiveness and speed. Such com

IBOutlet getter/setter pattern question

2011-10-16 Thread Eeyore
I noticed that I many of my IBOutlets were only being used to modify the view from the viewDidLoad methods but which were not accessed later in my code. These outlets exist so that I can keep consistent appearance settings in a large number of nibs without actually editing each nib. As a simplif

Re: ARC conversion issue problem with Xcode 4.2

2011-10-16 Thread Quincey Morris
On Oct 16, 2011, at 10:13 , Sean Todd wrote: > Still not sure why the error message stated that the type of the property did > not match the type of the setter accessor though? My guess is that the @property causes the compiler to create an implicit declaration for the accessor, which includes

Re: Does XCode 3.2 Documentation Browser Stink?

2011-10-16 Thread Bayes Scott F
If any Apple docs folks are reading, I just want to put in some feedback: The Jump Bar is one of the best improvements to Xcode in a long while. The key feature for me is not so much the bread crumbs trail, though that's pretty valuable, but the instant hierarchic access to a bunch of st

Mac core data and iCloud example app

2011-10-16 Thread Martin Hewitson
Dear list, Has anyone come across a sample app which demonstrates how to make a shoebox core data app which works with iCloud? I've dug into the documentation but I can't find any sample code. The "What's new in Core Data on Mac OS X" session from WWDC 2011 hints at some things but doesn't show

Re: ARC conversion issue problem with Xcode 4.2

2011-10-16 Thread Sean Todd
On Oct 16, 2011, at 1:02 AM, Quincey Morris wrote: > On Oct 15, 2011, at 18:02 , Sean Todd wrote: > >> I am trying to convert a Core Data app which uses garbage collection to ARC. >> When I run the refactoring tool, I see issues like: >> >> Semantic Issue: Type of property 'person' does not ma

Re: 'Customize Toolbar...' menu item disabled

2011-10-16 Thread mark
On Oct 15, 2011, at 3:47 PM, mark wrote: I have a nib based toolbar in a window. I have set the customise toolbar flag to YES (in IB and programmatically). I have set the View menu items 'Customise Toolbar...' and 'Hide/Show Toolbar' to the first responder as directed in the documentation

Re: 'Customize Toolbar...' menu item disabled

2011-10-16 Thread Michael Babin
On Oct 15, 2011, at 3:47 PM, mark wrote: > I have a nib based toolbar in a window. > I have set the customise toolbar flag to YES (in IB and programmatically). > I have set the View menu items 'Customise Toolbar...' and 'Hide/Show Toolbar' > to the first responder as directed in the documentatio

Re: Use storyboard in iOS app

2011-10-16 Thread Don Quixote de la Mancha
On Sat, Oct 15, 2011 at 11:36 PM, Eric E Dolecki wrote: > Yup. Wish Xcode could convert down somehow when targeting lower because > storyboards are super awesome. You can still target earlier iOS releases as deployment targets. To do so, for Objective-C you check at runtime whether a class has

Re: Arc and performSelector

2011-10-16 Thread Quincey Morris
On Oct 16, 2011, at 00:23 , Gerriet M. Denkmann wrote: > I have this code: > > for( id aThing in someArray ) > { > if ( [ aThing respondsToSelector: @selector(setTitle:) ] ) > { > [ self replaceIn: aThing > readS

Arc and performSelector

2011-10-16 Thread Gerriet M. Denkmann
I have this code: for( id aThing in someArray ) { if ( [ aThing respondsToSelector: @selector(setTitle:) ] ) { [ self replaceIn: aThing readSelector: @selector(title) w

Arc and performSelector

2011-10-16 Thread Gerriet M. Denkmann
I have this code: for( id aThing in someArray ) { if ( [ aThing respondsToSelector: @selector(setTitle:) ] ) { [ self replaceIn: aThing readSelector: @selector(title) w