app developed for iPhone is compatible with iPad

2012-09-26 Thread kiran kumar
Hi Everyone, I am new to iOS development. Is the app developed for iPhone is compatible with iPad / we need to take care in code for window resizing etc? Regards, Kiran.K The information contained in this email and any attachments is confidential and may be

Re: drawGlyphsForGlyphRange layout issue

2012-09-26 Thread jonat...@mugginsoft.com
On 26 Sep 2012, at 02:08, Aki Inoue a...@apple.com wrote: 2. I thought the core text route would be more efficient. I have cached my CTLineRefs. Doesn't -drawWithRect:options:attributes: require instantiating an NSLayoutManager on each call? We don't instantiate NSLayoutManager on each

Re: nstableview without nsscrollview

2012-09-26 Thread zav
It is a view setting you can turn off in the IB. Sent from my Verizon Wireless BlackBerry -Original Message- From: Alfian Busyro alfian.bus...@kddi-web.com Sender: cocoa-dev-bounces+zav=mac.com@lists.apple.comDate: Wed, 26 Sep 2012 13:55:10 To: Corbin Dunncorb...@apple.com Cc:

Re: app developed for iPhone is compatible with iPad

2012-09-26 Thread David Duncan
On Sep 26, 2012, at 4:43 AM, kiran kumar kiran.kod...@moschip.com wrote: Is the app developed for iPhone is compatible with iPad / we need to take care in code for window resizing etc? If you create an iPhone only application, then it will run on iPad in compatibility mode (centered on the

Re: NSWindowController and nib in framework

2012-09-26 Thread Quincey Morris
On Sep 25, 2012, at 22:37 , Graham Cox graham@bigpond.com wrote: Is the app sandboxed? I ask because I've had reports of this same error from the odd user but have been unable to reproduce it so far. It's ONLY happening since we sandboxed though. No, the app has been around for a

Re: NSWindowController and nib in framework

2012-09-26 Thread Kyle Sluder
On Sep 26, 2012, at 9:37 AM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: It's as if there's a short asynchronous step in finding bundles, which leaves a small timing window for failure that depends on the code order. I dunno. That would be really weird and unfortunate. Can

Re: NSWindowController and nib in framework

2012-09-26 Thread Quincey Morris
On Sep 26, 2012, at 10:08 , Kyle Sluder k...@ksluder.com wrote: Can you log +[NSBundle allBundles] and/or use Instruments to see what file access Foundation is performing and what responses it's getting back? The difficulty is that this exception has never happened to me during development.

Re: NSWindowController and nib in framework

2012-09-26 Thread Mike Abdullah
On 26 Sep 2012, at 17:37, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Sep 25, 2012, at 22:37 , Graham Cox graham@bigpond.com wrote: Is the app sandboxed? I ask because I've had reports of this same error from the odd user but have been unable to reproduce it so

Re: app developed for iPhone is compatible with iPad

2012-09-26 Thread Koen van der Drift
Session 305 of the 2010 WWDC developer videos discusses how to adapt an app for iPhone and iPad. - Koen. On Sep 26, 2012, at 4:43 AM, kiran kumar kiran.kod...@moschip.com wrote: Hi Everyone, I am new to iOS development. Is the app developed for iPhone is compatible with iPad / we need

splitting CJK text into words

2012-09-26 Thread Martin Wierschin
Hello everyone, I'm trying to split CJK text using the kind of word boundaries detected by -[NSAttributedString doubleClickAtIndex:]. That method does the job correctly, but only if the system preferences have the Word Break mode set to Japanese. I need to ensure this kind of word splitting

Re: How to calculate NSToolbar height in fullscreen mode

2012-09-26 Thread Nava Carmon
I don't use default NSApplicationPresentationOptions. An the requirement is to leave the toolbar in place, since it has necessary functional buttons. I tried to use willUseFullScreenContentSize, but you cannot change the size there, because basically it's calculated properly by cocoa. The only

Re: How to calculate NSToolbar height in fullscreen mode

2012-09-26 Thread Lee Ann Rucker
On Sep 26, 2012, at 2:14 PM, Nava Carmon wrote: I don't use default NSApplicationPresentationOptions. An the requirement is to leave the toolbar in place, since it has necessary functional buttons. I tried to use willUseFullScreenContentSize, but you cannot change the size there,

Re: splitting CJK text into words

2012-09-26 Thread Ken Thomases
On Sep 26, 2012, at 4:12 PM, Martin Wierschin wrote: I'm trying to split CJK text using the kind of word boundaries detected by -[NSAttributedString doubleClickAtIndex:]. That method does the job correctly, but only if the system preferences have the Word Break mode set to Japanese. I need

Re: splitting CJK text into words

2012-09-26 Thread Martin Wierschin
I'm trying to split CJK text using the kind of word boundaries detected by -[NSAttributedString doubleClickAtIndex:]. That method does the job correctly, but only if the system preferences have the Word Break mode set to Japanese. I need to ensure this kind of word splitting independent of

Re: splitting CJK text into words

2012-09-26 Thread Douglas Davidson
On Sep 26, 2012, at 2:12 PM, Martin Wierschin wrote: I've tried a variety of locale identifiers (eg: zh, jp_JP, etc) but no joy. Am I missing something? Try ja for Japanese text, zh-Hans for Simplified Chinese text, zh-Hant for Traditional Chinese text. Douglas Davidson

Re: splitting CJK text into words

2012-09-26 Thread Martin Wierschin
I've tried a variety of locale identifiers (eg: zh, jp_JP, etc) but no joy. Am I missing something? Try ja for Japanese text, zh-Hans for Simplified Chinese text, zh-Hant for Traditional Chinese text. Thanks for the idea Douglas, but I just gave all those locale identifiers a try and

Re: NSWindowController and nib in framework

2012-09-26 Thread Jeff Johnson
On Sep 26, 2012, at 12:51 PM, Quincey Morris wrote: On Sep 26, 2012, at 10:08 , Kyle Sluder k...@ksluder.com wrote: Can you log +[NSBundle allBundles] and/or use Instruments to see what file access Foundation is performing and what responses it's getting back? The difficulty is that this

Re: NSWindowController and nib in framework

2012-09-26 Thread Quincey Morris
On Sep 26, 2012, at 18:10 , Jeff Johnson publicpost...@lapcatsoftware.com wrote: Is your app distributed as a zip file? I had a similar bizarre issue with NSBundle a number of months ago, and it turned out that the problem occurred when the app was unzipped using The Unarchiver.