Re: MKMapView: Can't keep annotations from flashing during an update. Ideas?

2012-06-27 Thread Conrad Shultz
On Jun 26, 2012, at 7:38 PM, Joe Wollard wrote: Out of curiosity, why are you manually removing them in the first place? MKMapView should be handling that logic for you as I understand it. If its for performance, the docs say to make sure you dequeue the MKAnnotationView instead of

Moving from popup to text field cell in table view core data binding causes exception

2012-06-27 Thread Peter
Hi, I am currently working on a quick and dirty CD database-like app using core data, very early in the development. I have two entities with properties and a relationship: (1) recording performer recording date relationship: recording-work (to-1, i.e. every recording contains one work) (2)

Exiting cleanly the init method under ARC

2012-06-27 Thread Tito Ciuro
Hello, Under non-ARC, an init method may be implemented like this: - (id)init { self = [super init]; if (self) { if (somecondition != good) { [self release]; return nil; } // Initialize ivars here as usual... } return

Re: Exiting cleanly the init method under ARC

2012-06-27 Thread Quincey Morris
On Jun 27, 2012, at 09:12 , Tito Ciuro wrote: However, if something critical happens within the init method when ARC is activated, what would be the proper way to exit? Would it look like this?: - (id)init { self = [super init]; if (self) { if (somecondition != good) {

Re: Exiting cleanly the init method under ARC

2012-06-27 Thread Tito Ciuro
Thanks Quincey! On Jun 27, 2012, at 9:54 AM, Quincey Morris wrote: On Jun 27, 2012, at 09:12 , Tito Ciuro wrote: However, if something critical happens within the init method when ARC is activated, what would be the proper way to exit? Would it look like this?: - (id)init { self =

Re: Moving from popup to text field cell in table view core data binding causes exception

2012-06-27 Thread Fritz Anderson
On 27 Jun 2012, at 10:51 AM, Peter wrote: Now, I'd like to replace the popup cell by a text field cell, to simply show the title - but for the life of me, I can't understand why it seems to be impossible to setup a binding to the property title (or any other) of the entity work. Binding

Re: Moving from popup to text field cell in table view core data binding causes exception

2012-06-27 Thread Peter
Thank you Fritz (and also for your books on Xcode, BTW), I found that content in the error message totally cryptic, seemingly unrelated to the respective settings in IB. I have torn everything down again and recreated it in between - and what used not to work before works now. I simply got

10.6 SDk and 10.5 Deployment

2012-06-27 Thread koko
Ok, so what is the real truth regarding using a base SDK of 10.6 and a deployment target of 10.5? The blogosphere says this cannot be done and Apple says it is OK. We have issues running a 10.6 SDK build on a 10.5.8 system. We have a certain percentage of customers who are on 10.5.8. Who

Re: 10.6 SDk and 10.5 Deployment

2012-06-27 Thread Kyle Sluder
On Jun 27, 2012, at 12:53 PM, koko wrote: Ok, so what is the real truth regarding using a base SDK of 10.6 and a deployment target of 10.5? The blogosphere says this cannot be done and Apple says it is OK. We have issues running a 10.6 SDK build on a 10.5.8 system. We have a certain

Re: 10.6 SDk and 10.5 Deployment

2012-06-27 Thread Robert Martin
Did this for years for a client -a few years ago- with no problems, though you don't mention what issues you have - which makes it impossible to help. So *obviously* it can be done - any problems kind of depends on what you're doing - which you don't mention. Rob On Jun 27, 2012, at 3:53

Handling Smart Zoom gesture?

2012-06-27 Thread Graham Cox
Hi all, I'm adding touch gestures to my app. In the System Prefs, I notice a feature called Smart Zoom which is a double-tap with two fingers. How does one receive this event in a view? --Graham ___ Cocoa-dev mailing list

Re: Bidirectional, Manual Binding in custom control

2012-06-27 Thread Jerry Krinock
On 2012 May 21, at 21:52, Quincey Morris wrote: On May 21, 2012, at 20:44 , Jerry Krinock wrote: -(void)setRating:(float)rating { // Stuff to make reverse binding work… NSDictionary* bindingsInfo = [self infoForBinding:@rating] ; id object = [bindingsInfo

Re: Bidirectional, Manual Binding in custom control

2012-06-27 Thread Quincey Morris
On Jun 27, 2012, at 22:12 , Jerry Krinock wrote: On May 21, 2012, at 20:44 , Jerry Krinock wrote: -(void)setRating:(float)rating { // Stuff to make reverse binding work… NSDictionary* bindingsInfo = [self infoForBinding:@rating] ; id object = [bindingsInfo