Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread Markus Spoettl
On 10/2/13 10:40 PM, David Duncan wrote: On Oct 2, 2013, at 9:33 AM, Markus Spoettl 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) th

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 meth

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: Runloops and Window Dragging

2013-10-02 Thread Caylan Larson
On Oct 2, 2013, at 5:06 PM, Jens Alfke 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 acts like a

Re: iOS Calendar Question

2013-10-02 Thread Mike Abdullah
On 2 Oct 2013, at 19:03, Dave wrote: > > On 2 Oct 2013, at 18:56, Alex Kac 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 w

Re: Best API for font inspection/management?

2013-10-02 Thread Jens Alfke
On Oct 2, 2013, at 3:00 PM, Fritz Anderson 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.) It can’t preview lots of

Re: Runloops and Window Dragging

2013-10-02 Thread Jens Alfke
On Oct 2, 2013, at 11:36 AM, 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. I assume you’re doing this to apply some kind of fancy effects to the image, so your window acts like a fi

Re: Best API for font inspection/management?

2013-10-02 Thread Fritz Anderson
On 2 Oct 2013, at 3:22 PM, Jens Alfke 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 > fonts.) Can yo

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 (Coco

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 Ap

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: 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 ha > scritto: > >> >> On Oct 1, 2013, at 5:47 PM, Livio Isaia wrote: >> >>> I mean that it reaches the awakeFromNib method of AppDelegate class and >>> then seems to remain in >>> NSApplic

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread David Duncan
On Oct 2, 2013, at 9:33 AM, Markus Spoettl 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 sheet with the > exp

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 Canc

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 w

Re: iOS Calendar Question

2013-10-02 Thread Marcel Weiher
On Oct 2, 2013, at 19:44 , Dave wrote: > On 1 Oct 2013, at 18:26, Marcel Weiher 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 automatically by the OS [..] >> Now I don’t reme

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") The HIG is indirect, recommending a Cancel button for the iPhone, but

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 d

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

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 res

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): http://www.pocketinformant.com/Forums/index.php?app=core&module=attach§

Re: iOS Calendar Question

2013-10-02 Thread Dave
On 2 Oct 2013, at 18:56, Alex Kac 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 more UI…wh

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 access.

Re: App never reaches applicationDidFinishLaunching method

2013-10-02 Thread Dave
On 2 Oct 2013, at 15:51, Livio Isaia 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 ___ Cocoa-dev mailing list

Re: iOS Calendar Question

2013-10-02 Thread Dave
On 1 Oct 2013, at 18:26, Marcel Weiher wrote: > > On Oct 1, 2013, at 13:02 , Dave 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 that it appears to add an event t

Re: iOS Calendar Question

2013-10-02 Thread Dave
On 1 Oct 2013, at 14:23, Mike Abdullah wrote: > > On 1 Oct 2013, at 14:09, Dave wrote: > >> >> On 1 Oct 2013, at 12:16, Mike Abdullah wrote: >> >>> >>> On 1 Oct 2013, at 12:02, Dave wrote: >>> Hi All, This had reared it's ugly head again! I have been asked to add an even

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: Window too large for Versions Browser

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

Re: App never reaches applicationDidFinishLaunching method

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

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 width