Window too large for Versions Browser

2013-10-02 Thread Half Activist
Hi, In a NSDocument based application, which mainWindow minSize is set to 1200x600, when entering the Versions browser, the application crashes after being notified that the window is too large and couldn't be resized on small screens. I've tried to solve it by setting the minimum

Re: App never reaches applicationDidFinishLaunching method

2013-10-02 Thread Livio Isaia
Il giorno 02/ott/2013, alle ore 05:39, Jens Alfke j...@mooseyard.com ha scritto: On Oct 1, 2013, at 5:47 PM, Livio Isaia lis...@tiscalinet.it wrote: I mean that it reaches the awakeFromNib method of AppDelegate class and then seems to remain in NSApplicationMain - [NSIBObjectData

Re: Window too large for Versions Browser

2013-10-02 Thread Jerry Krinock
On 2013 Oct 02, at 06:56, Half Activist halfactiv...@gmail.com wrote: 'NSInvalidArgumentException', reason: '*** -[NSDocumentRevisionsView layoutWithOriginalDocumentWindow:originalVisibleFrame:]: Window () cannot be used to browse versions because its minimum size ({1200, 701}) is too

UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread Markus Spoettl
Hello, I just came across the following, would someone confirm this: UIActionSheet *sheet = [[UIActionSheet alloc] initWithTitle:nil delegate:self cancelButtonTitle:@Cancel destructiveButtonTitle:nil otherButtonTitles:nil];

Re: iOS Calendar Question

2013-10-02 Thread Dave
On 1 Oct 2013, at 14:23, Mike Abdullah mabdul...@karelia.com wrote: On 1 Oct 2013, at 14:09, Dave d...@looktowindward.com wrote: On 1 Oct 2013, at 12:16, Mike Abdullah mabdul...@karelia.com wrote: On 1 Oct 2013, at 12:02, Dave d...@looktowindward.com wrote: Hi All, This had

Re: iOS Calendar Question

2013-10-02 Thread Dave
On 1 Oct 2013, at 18:26, Marcel Weiher marcel.wei...@gmail.com wrote: On Oct 1, 2013, at 13:02 , Dave d...@looktowindward.com wrote: http://m.gunwharf-quays.com/whats-on/policing-through-ages If you open the above link on an iPhone and then click the Add to Calendar button, you will

Re: App never reaches applicationDidFinishLaunching method

2013-10-02 Thread Dave
On 2 Oct 2013, at 15:51, Livio Isaia lis...@tiscalinet.it wrote: I must say that I updated Xcode from 4 to 5: does it matter? Thank you. Regards, livio. Can you try it under XCode 4 again and see if it still crashes/loops? Dave ___

Re: iOS Calendar Question

2013-10-02 Thread Alex Kac
To Safari - probably not. You’d have to bring up the document interaction controller, which would bring up any app that supports ICS - which would bring up the Calendar app. That would do what you want, but it would also invoke a lot more UI…which seems like it’d be simpler to just allow

Re: iOS Calendar Question

2013-10-02 Thread Dave
On 2 Oct 2013, at 18:56, Alex Kac a...@webis.net wrote: To Safari - probably not. You’d have to bring up the document interaction controller, which would bring up any app that supports ICS - which would bring up the Calendar app. That would do what you want, but it would also invoke a lot

Re: iOS Calendar Question

2013-10-02 Thread Alex Kac
Yes it is. That’s why you create a way for it to be something they want to enable. When we talked to Apple about this, they gave us some examples from other apps that they liked. Here is our version (its a link to an image):

Runloops and Window Dragging

2013-10-02 Thread Caylan Larson
I am using CGWindowListCreateImage to fetch an image of the windows behind my app. This works beautifully and is OK for my needs. Except... I have problems when I drag the window. The goal is near real-time image updates during the drag event. The runloop never seems to fully display the

Configuring bottom bar in QLPreviewController

2013-10-02 Thread Devarshi Kulshreshtha
I have integrated QLPreviewController and UIDocumentInteractionController in my app, and it is working fine. The only problem is- I want to configure the bottom toolbar, I want to remove the default toolbar items, which appear as shown in this image : http://i.stack.imgur.com/rm9fe.png Is there

Re: Runloops and Window Dragging

2013-10-02 Thread Ken Thomases
On Oct 2, 2013, at 1:36 PM, Caylan Larson wrote: I am using CGWindowListCreateImage to fetch an image of the windows behind my app. This works beautifully and is OK for my needs. Except... I have problems when I drag the window. The goal is near real-time image updates during the drag

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread Fritz Anderson
The class reference _recommends_ not providing a Cancel button for an action sheet that presents in a popover — the user can easily cancel by tapping elsewhere. (there are times when you should not include a cancel button)

Re: iOS Calendar Question

2013-10-02 Thread Marcel Weiher
On Oct 2, 2013, at 19:44 , Dave d...@looktowindward.com wrote: On 1 Oct 2013, at 18:26, Marcel Weiher marcel.wei...@gmail.com wrote: http://m.gunwharf-quays.com/whats-on/policing-through-ages As far as I can tell, that link delivers an ics file, “event.ics”, which is then opened

Best API for font inspection/management?

2013-10-02 Thread Jens Alfke
Last night I started writing a font previewing app, because I have a zillion fonts and I cannot find a good app for sifting through them (looking at a screenful of previews, quickly tagging, etc. … basically I want iPhoto for fonts.) Anyway, I’m not sure what API to be using. So far I’m going

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread Markus Spoettl
OK, I admit I didn't pay attention to that, but removing another button instead of the cancel button hardly feels like just a documentation bug. Anyway, thanks for pointing that out! Regards Markus On 10/2/13 9:21 PM, Fritz Anderson wrote: The class reference _recommends_ not providing a

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread David Duncan
On Oct 2, 2013, at 9:33 AM, Markus Spoettl ms_li...@shiftoption.com wrote: On the iPad (both device and simulator) this produces a sheet with Button2 missing. No matter how many buttons one adds, the last one added goes missing. On iPhone (again both device and simulator) this produces a

Re: App never reaches applicationDidFinishLaunching method

2013-10-02 Thread Lee Ann Rucker
On Oct 2, 2013, at 7:51 AM, Livio Isaia wrote: Il giorno 02/ott/2013, alle ore 05:39, Jens Alfke j...@mooseyard.com ha scritto: On Oct 1, 2013, at 5:47 PM, Livio Isaia lis...@tiscalinet.it wrote: I mean that it reaches the awakeFromNib method of AppDelegate class and then seems to

Data Detectors in iOS7

2013-10-02 Thread Gordon Apple
Are DataDetectors broken in iOS7? I have seen other posts with the same issues I am seeing. I have a Twitter Timeline with a UITextView and link detector in a TableViewCell. Works, maybe once, then highlights the entire text and doesn¹t link right. Worked in iOS6.

Re: Data Detectors in iOS7

2013-10-02 Thread Laurent Daudelin
I’ve seen the same problem in UITableViewCell. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys-soft.com On Oct 2, 2013, at 17:21, Gordon

Disabling copy operation in QLPreviewController

2013-10-02 Thread Devarshi Kulshreshtha
Is there any way to disable copy of content when we are viewing a text file, in QLPreviewController? I tried to sub-class it and override- canBecomeFirstResponder and returned NO, but it did not work :-( Please suggest. ___ Cocoa-dev mailing list

Re: Best API for font inspection/management?

2013-10-02 Thread Fritz Anderson
On 2 Oct 2013, at 3:22 PM, Jens Alfke j...@mooseyard.com wrote: Last night I started writing a font previewing app, because I have a zillion fonts and I cannot find a good app for sifting through them (looking at a screenful of previews, quickly tagging, etc. … basically I want iPhoto for

Re: Runloops and Window Dragging

2013-10-02 Thread Jens Alfke
On Oct 2, 2013, at 11:36 AM, Caylan Larson i...@caylan.net wrote: I am using CGWindowListCreateImage to fetch an image of the windows behind my app. This works beautifully and is OK for my needs. I assume you’re doing this to apply some kind of fancy effects to the image, so your window

Re: Best API for font inspection/management?

2013-10-02 Thread Jens Alfke
On Oct 2, 2013, at 3:00 PM, Fritz Anderson fri...@manoverboard.org wrote: Can you describe what Font Book lacks of your requirements? Font Book is pretty nice, but it’s only partway there. It can’t show the font names in the font itself (which isn’t always what I want, but sometimes is.)

Re: iOS Calendar Question

2013-10-02 Thread Mike Abdullah
On 2 Oct 2013, at 19:03, Dave d...@looktowindward.com wrote: On 2 Oct 2013, at 18:56, Alex Kac a...@webis.net wrote: To Safari - probably not. You’d have to bring up the document interaction controller, which would bring up any app that supports ICS - which would bring up the Calendar

Re: Runloops and Window Dragging

2013-10-02 Thread Caylan Larson
On Oct 2, 2013, at 5:06 PM, Jens Alfke j...@mooseyard.com wrote: I am using CGWindowListCreateImage to fetch an image of the windows behind my app. This works beautifully and is OK for my needs. I assume you’re doing this to apply some kind of fancy effects to the image, so your window

viewForZoomingInScrollView working but with extra blank space

2013-10-02 Thread Devarshi Kulshreshtha
I am trying to implement default photos app like functionality. I have added an image view to scroll view and implemented below method: - (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView { return self.fileDisplayImageView; } Problem is though it is zooming the

Re: viewForZoomingInScrollView working but with extra blank space

2013-10-02 Thread Devarshi Kulshreshtha
I have uploaded the sample code over here: https://db.tt/wrNjTLkV On Wed, Oct 2, 2013 at 9:26 PM, Devarshi Kulshreshtha devarshi.bluec...@gmail.com wrote: I am trying to implement default photos app like functionality. I have added an image view to scroll view and implemented below method: