Re: Major Xcode irritation

2013-08-13 Thread Robert Vojta
Yep, I did several times. Was forced to remove DerivedData, because even Clean didn't help. Sent from my iPhone > On 12. 8. 2013, at 21:31, Graham Cox wrote: > > Has anyone else run into this? > > You open a system header from the SDK into XCode, and due to muscle-memory, > absent-mindedness

Re: Dismissing Open dlog before doc actually opens

2013-08-13 Thread Graham Cox
On 14/08/2013, at 1:38 AM, Steve Mills wrote: >> unning an open panel modally is a user-hostile experience that prevents >> the user from interacting with other documents. OS X applications should >> not behave this way. > > Apple didn't feel that way in the past, so I don't believe it's user-h

Can't type chars into UITextField?

2013-08-13 Thread Rick Mann
Suddenly a view controller of mine (in an iPad app) is not accepting characters typed in its UITextFields. It DOES accept the delete key, but you can't add characters. Just in case my delegate was somehow messing things up, I set it to nil, but the behavior persists. The field gets focus, the k

Re: "Stale" URL bookmarks?

2013-08-13 Thread Quincey Morris
On Aug 13, 2013, at 19:20 , Tom Harrington wrote: > What does "stale" mean in this context? And if the bookmark is stale, what > if anything should I do (or not do) in response to that? "Stale" means that the referenced file could not be found using the explicit information in the bookmark (suc

"Stale" URL bookmarks?

2013-08-13 Thread Tom Harrington
When resolving a URL bookmark, one of the options is a BOOL * that on return tells you if "the bookmark data is stale". What does "stale" mean in this context? And if the bookmark is stale, what if anything should I do (or not do) in response to that? -- Tom Harrington atomicb...@gmail.com AIM:

Re: Major Xcode irritation

2013-08-13 Thread Maxthon Chan
I just destroy the PCHs before the projects started. Sent from my iPhone > On 2013年8月13日, at 3:31, Graham Cox wrote: > > Has anyone else run into this? > > You open a system header from the SDK into XCode, and due to muscle-memory, > absent-mindedness, reflex, lack of context or whatever, you

Re: reverse scanner

2013-08-13 Thread Boyd Collier
Well, after more testing, I found that my first version (labelled "frontal attack") doesn't always work. Just in case anyone other than me cares, here's a new version that seems to work properly. Sorry for the noise. Boyd // frontal attack // testString = @"0756013";

Re: Dismissing Open dlog before doc actually opens

2013-08-13 Thread Kyle Sluder
On Tue, Aug 13, 2013, at 04:38 PM, Steve Mills wrote: > On Aug 13, 2013, at 16:33:25, Kyle Sluder wrote: > > > On Tue, Aug 13, 2013, at 11:02 AM, Steve Mills wrote: > > > >> We expect the Open dlog to be modal, not modeless. Any other ideas? I > >> also tried calling orderOut after runModal retu

Re: Dismissing Open dlog before doc actually opens

2013-08-13 Thread Steve Mills
On Aug 13, 2013, at 16:33:25, Kyle Sluder wrote: > On Tue, Aug 13, 2013, at 11:02 AM, Steve Mills wrote: > >> We expect the Open dlog to be modal, not modeless. Any other ideas? I >> also tried calling orderOut after runModal returned, but it didn't make >> it go away. > > Running an open panel

Re: Dismissing Open dlog before doc actually opens

2013-08-13 Thread Kyle Sluder
On Tue, Aug 13, 2013, at 11:02 AM, Steve Mills wrote: > We expect the Open dlog to be modal, not modeless. Any other ideas? I > also tried calling orderOut after runModal returned, but it didn't make > it go away. Running an open panel modally is a user-hostile experience that prevents the user f

Re: Dismissing Open dlog before doc actually opens

2013-08-13 Thread Bryan Vines
Steve, Could you use a boolean property such as fileIsBeingRead? Set that to YES when you start the file read on the background thread, then set it back to NO when the file read has completed. I used this technique in a proof-of-concept app. The app has a status label in its window; the label'

Re: Is it possible to define class from interface builder?

2013-08-13 Thread Scott Ribe
On Aug 13, 2013, at 12:34 PM, Izak van Langevelde wrote: > Is there any way to derive a subclass of NSView from this form, so that it > can be reused? NSViewController, combined with a window nib containing the form, so you'd instantiate the nib, pull out the content view, and so on? -- Scot

Is it possible to define class from interface builder?

2013-08-13 Thread Izak van Langevelde
A user interface contains several instances of a specific form, which is easily created in Interface Builder. Is there any way to derive a subclass of NSView from this form, so that it can be reused? Thanks, Izak --- Grinnikend door het leven... ___

Re: Dismissing Open dlog before doc actually opens

2013-08-13 Thread Steve Mills
On Aug 12, 2013, at 21:22:07, Bryan Vines wrote: > Can you run an NSOpenPanel with a completion handler block, and in that > block, call a method on a background thread to actually perform the file read > operation? Well, this won't work. The current code runs the dlog with runModal instead of

Re: Get file from server with iPad App

2013-08-13 Thread Alex Zavatone
There's a great example file in the docs that is available through Dash or the dev site. The project file is called Lazy Table Images and it provides a good class for bringing in an image from a server asynchronously. http://developer.apple.com/library/ios/samplecode/LazyTableImages/Introductio

Re: NSSplitView strange behavior

2013-08-13 Thread Seth Willits
On Aug 13, 2013, at 6:43 AM, Vincent CARLIER wrote: > I experience some strange behavior with NSSplitView. > ... > Anyone experienced something like this ? > Is there a better way to do what I'm trying to do ? Make your life easier and try AGNSSplitViewDelegate or (so I've heard) auto layout. h

Re: Dismissing Open dlog before doc actually opens

2013-08-13 Thread Sean McBride
On Mon, 12 Aug 2013 23:27:59 +, Mills, Steve said: >I haven't been able to find any info about this, but I might be >searching for the wrong thing. How can we get rid of the Open dlog so it >doesn't hang around while the document is being read? It's an incredibly >annoying design. Dismiss the

NSSplitView strange behavior

2013-08-13 Thread Vincent CARLIER
Hi list, I experience some strange behavior with NSSplitView. Let me explain what I'm trying to do : The split view contains 3 subviews (2 dividers), and has a delegate that controls it. It is an horizontal split view. Let number those 3 views from top to bottom 0, 1 and 2. The upper divider ha

Algorithm for editor bookmarks

2013-08-13 Thread Martin Hewitson
Dear list, I distribute a LaTeX editor and I have a feature whereby the user can 'bookmark' a place in a particular source file by clicking in the editor ruler, much like you do in Xcode to make a breakpoint. At the moment the bookmark is 'fixed' to the line number in the file, rather than to t

Re: How to get rid of keyboard on iPhone

2013-08-13 Thread Diederik Meijer | Ten Horses
Call resignFirstResponder in the textViewShouldReturn delegation method… In addition: have a tap anywhere in the screen outside the textView call a dismiss as well Op Aug 13, 2013, om 12:18 PM heeft "Gerriet M. Denkmann" het volgende geschreven: > I have an app with a textView on an iPad. >

Re: How to get rid of keyboard on iPhone

2013-08-13 Thread Roland King
On 13 Aug, 2013, at 6:37 PM, Roland King wrote: > > On 13 Aug, 2013, at 6:18 PM, Gerriet M. Denkmann wrote: > >> I have an app with a textView on an iPad. >> When I touch it, a keyboard comes up. And when I have typed enough there is, >> in the bottom right corner of the keyboard, a key, whi

Re: How to get rid of keyboard on iPhone

2013-08-13 Thread Roland King
On 13 Aug, 2013, at 6:18 PM, Gerriet M. Denkmann wrote: > I have an app with a textView on an iPad. > When I touch it, a keyboard comes up. And when I have typed enough there is, > in the bottom right corner of the keyboard, a key, which makes the keyboard > disappear again. > So far so good.

How to get rid of keyboard on iPhone

2013-08-13 Thread Gerriet M. Denkmann
I have an app with a textView on an iPad. When I touch it, a keyboard comes up. And when I have typed enough there is, in the bottom right corner of the keyboard, a key, which makes the keyboard disappear again. So far so good. But when the same app runs on an iPhone, the keyboard has no such ke