Re: Customised NSCell leaves dirty traces while scrolling

2010-11-24 Thread Josh Yu
Try overriding NSCell - drawWithFrame:inView: IIRC this is called before - drawInteriorWithFrame:InView: The default implementation of - drawWithFrame:inView: is perhaps the source of your unwanted drawing. Regards Jonathan Mitchell Thanks Jonathan for your reply. I've tried replacing

Scroll/Position Image in Scrollview that is smaller than the Scrollview

2010-11-24 Thread Hado Hein
I have a project where something like a 'put your face in someone elses head' game is wanted. So I did a UIScrollView in IB and in code I attach the UIImageView of the picture. That works fine. With multitouch enabled zooming works fine, so does positioning of the enlarged picture. Then I''ve

Keeping data in sync across Mac and iPhone

2010-11-24 Thread Lorenzo Thurman
I have a customer request to sync application preferences between Macs and iPhone. The user may not have a MobileMe account, so Sync Services is not an option (or is it?). The user data would be stored in a plist on both platforms and I'm trying to find the best way to keep those in sync. Any and

NSString/NSFont/Dingbats and the SnowFlake symbol

2010-11-24 Thread Stephen Blinkhorn
Hi all, This seems like a lame question to be fair. I would like to be able to access the snowflake symbol from the 'Zapf Dingbats' font and simply draw it into a custom control applying attributes like font colour to it. Charecter details are: Name: 'SNOWFLAKE' Unicode: 2744 UTF8: E2

Re: Keeping data in sync across Mac and iPhone

2010-11-24 Thread Nick Zitzmann
On Nov 24, 2010, at 9:28 AM, Lorenzo Thurman wrote: I have a customer request to sync application preferences between Macs and iPhone. The user may not have a MobileMe account, so Sync Services is not an option (or is it?). Sadly, it isn't. There is no SyncServices framework on iOS. The

Re: NSString/NSFont/Dingbats and the SnowFlake symbol

2010-11-24 Thread Nick Zitzmann
On Nov 24, 2010, at 10:46 AM, Stephen Blinkhorn wrote: Hi all, This seems like a lame question to be fair. I would like to be able to access the snowflake symbol from the 'Zapf Dingbats' font and simply draw it into a custom control applying attributes like font colour to it.

Re: Keeping data in sync across Mac and iPhone

2010-11-24 Thread Ross Carter
On Nov 24, 2010, at 12:48 PM, Nick Zitzmann wrote: On Nov 24, 2010, at 9:28 AM, Lorenzo Thurman wrote: I have a customer request to sync application preferences between Macs and iPhone. The user may not have a MobileMe account, so Sync Services is not an option (or is it?). Sadly, it

Re: NSString/NSFont/Dingbats and the SnowFlake symbol

2010-11-24 Thread Stephen Blinkhorn
On 24 Nov 2010, at 12:02, Nick Zitzmann wrote: On Nov 24, 2010, at 10:46 AM, Stephen Blinkhorn wrote: Hi all, This seems like a lame question to be fair. I would like to be able to access the snowflake symbol from the 'Zapf Dingbats' font and simply draw it into a custom control

Re: NSString/NSFont/Dingbats and the SnowFlake symbol

2010-11-24 Thread Dave DeLong
You can also do: NSString * snowflake = @\u2744; Cheers, Dave On Nov 24, 2010, at 10:11 AM, Stephen Blinkhorn wrote: On 24 Nov 2010, at 12:02, Nick Zitzmann wrote: On Nov 24, 2010, at 10:46 AM, Stephen Blinkhorn wrote: Hi all, This seems like a lame question to be fair. I would

Re: NSString/NSFont/Dingbats and the SnowFlake symbol

2010-11-24 Thread Murat Konar
Beware the user that has removed all fonts that contain a snowflake... Maybe it would be better to roll your own. _murat On Nov 24, 2010, at 10:14 AM, Dave DeLong wrote: You can also do: NSString * snowflake = @\u2744; Cheers, Dave On Nov 24, 2010, at 10:11 AM, Stephen Blinkhorn

Re: Customised NSCell leaves dirty traces while scrolling

2010-11-24 Thread Jerry Krinock
On 2010 Nov 24, at 01:08, Josh Yu wrote: Problem solved. NEVER return float to heightOfRow - this will mess the whole table up. Not sure if it's a cocoa bug - but return integer at all times. I presume you're speaking of the value returned by the delegate method -tableView:heightOfRow:.

Re: NSString/NSFont/Dingbats and the SnowFlake symbol

2010-11-24 Thread Stephen Blinkhorn
On 24 Nov 2010, at 12:56, Murat Konar wrote: Beware the user that has removed all fonts that contain a snowflake... Yeah, I did wonder about such a thing. But why would anyone do a thing like that!? Stephen _murat On Nov 24, 2010, at 10:14 AM, Dave DeLong wrote: You can also do:

Re: Re: Keeping data in sync across Mac and iPhone

2010-11-24 Thread lorenzo7620
On Nov 24, 2010 11:48am, Nick Zitzmann n...@chronosnet.com wrote: On Nov 24, 2010, at 9:28 AM, Lorenzo Thurman wrote: I have a customer request to sync application preferences between Macs and iPhone. The user may not have a MobileMe account, so Sync Services is not an option

Re: NSString/NSFont/Dingbats and the SnowFlake symbol

2010-11-24 Thread Nick Zitzmann
On Nov 24, 2010, at 12:35 PM, Stephen Blinkhorn wrote: Beware the user that has removed all fonts that contain a snowflake... Yeah, I did wonder about such a thing. But why would anyone do a thing like that!? I wouldn't worry about it in this case. Zapf Dingbats is a system font

Re: NSString/NSFont/Dingbats and the SnowFlake symbol

2010-11-24 Thread Kyle Sluder
On Wed, Nov 24, 2010 at 11:35 AM, Stephen Blinkhorn stephen.blinkh...@audiospillage.com wrote: On 24 Nov 2010, at 12:56, Murat Konar wrote: Beware the user that has removed all fonts that contain a snowflake... Yeah, I did wonder about such a thing.  But why would anyone do a thing like

iOS location enabled?

2010-11-24 Thread Rainer Standke
Hello, wondering if there is a way to detect whether the location services are enabled for the app. I am not after the global enabledness, but after the enabledness of my app. I imagine the OS stores this information somewhere, but can we get (read) access to that programmatically? Thanks,

Re: iOS location enabled?

2010-11-24 Thread glenn andreas
On Nov 24, 2010, at 2:31 PM, Rainer Standke wrote: Hello, wondering if there is a way to detect whether the location services are enabled for the app. I am not after the global enabledness, but after the enabledness of my app. I imagine the OS stores this information somewhere, but

Re: NSString/NSFont/Dingbats and the SnowFlake symbol

2010-11-24 Thread Ricky Sharp
On Nov 24, 2010, at 1:58 PM, Kyle Sluder wrote: On Wed, Nov 24, 2010 at 11:35 AM, Stephen Blinkhorn stephen.blinkh...@audiospillage.com wrote: On 24 Nov 2010, at 12:56, Murat Konar wrote: Beware the user that has removed all fonts that contain a snowflake... Yeah, I did wonder about

Image,text and button cell in outline view

2010-11-24 Thread Rajendran P
HI my requirement is simple I need a nscell to have image, text and button to be used in an outline view .I had a look at the imageandtext cell example , how to add an button to it ? any idea about how to convert image and text cell to add button ? any suggestion would be really help

Re: Image,text and button cell in outline view

2010-11-24 Thread Robert Martin
Try googling NSButtonCells, or look them up in the documentation. On Nov 24, 2010, at 7:08 PM, Rajendran P wrote: HI my requirement is simple I need a nscell to have image, text and button to be used in an outline view .I had a look at the imageandtext cell example , how to add an

Re: Image,text and button cell in outline view

2010-11-24 Thread Joar Wingfors
On 24 nov 2010, at 16.08, Rajendran P wrote: my requirement is simple I need a nscell to have image, text and button to be used in an outline view .I had a look at the imageandtext cell example , how to add an button to it ? any idea about how to convert image and text cell to add

Re: iOS location enabled?

2010-11-24 Thread Rainer Standke
Thanks Glenn, I was afraid so. Rainer On Nov 24, 2010, at 12:50 , glenn andreas wrote: On Nov 24, 2010, at 2:31 PM, Rainer Standke wrote: Hello, wondering if there is a way to detect whether the location services are enabled for the app. I am not after the global enabledness, but

Re: Image,text and button cell in outline view

2010-11-24 Thread Rajendran P
HI Thank you , the Photosearch sample solved my problem . P.Rajendran or Raju (for further details contact me ) From: Joar Wingfors j...@joar.com To: Rajendran P rasu_1...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Wed, 24