Re: Tracking visibleRect changes using Autolayout

2013-02-28 Thread Graham Cox
On 18/02/2013, at 6:46 PM, iain wrote: > I'm trying to draw a sample waveform so for some of the audio files I have > which come in around 30minutes long, even drawing to a reduction of 8192 > frames/pixel you're looking at views of 10,000pixels wide (at 44100hz). > Drawing 1frame per pixel woul

UITextView registering touches

2013-02-28 Thread Rick C.
I need a way to know when a UITextView is touched while it is first responder. I have seen some threads about this but I have never figured out how to make it work. I'm assuming there must be a way? Any input would be much appreciated thanks! rc ___

Re: iPad hide keyboard button for iphone

2013-02-28 Thread David Duncan
The iPhone keyboard does not have a hide button, it is specific to the iPad. On Feb 28, 2013, at 6:36 PM, Rick C. wrote: > Hi, > > In case I overlooked this somewhere is there a way to have the iPhone > keyboard show this button to hide/show the keyboard? Or must I create my own > custom sol

iPad hide keyboard button for iphone

2013-02-28 Thread Rick C.
Hi, In case I overlooked this somewhere is there a way to have the iPhone keyboard show this button to hide/show the keyboard? Or must I create my own custom solution? Thanks, rc ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Re: 2 icons showing in dock

2013-02-28 Thread Rick C.
You're having the same issue? FWIW I moved it to applicationWillFinishLaunching and changed it to NSApplication activation policy and I see no difference in the behavior... On Feb 28, 2013, at 9:55 PM, Rob McBroom wrote: > On Feb 27, 2013, at 9:02 PM, Rick C. wrote: > >> I have users stil

Re: iOS books, etc for experienced OSX programmers

2013-02-28 Thread Koen van der Drift
Thanks all for the tips. I purchased "The Core iOS 6 Developer's Cookbook" by Erica Sadun. - Koen. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at c

Adding a child view to a zoomed parent view

2013-02-28 Thread Tae Won Ha
Hi, guys. I have the following situation and need help: * I have a parent view 'pv' which has a unit scale {x, x} where x != 1, say x = 1.1. I used the -scaleUnitSquareToSize: method for this. * I instantiate a child view 'cv' using -initWithFrame: with a rect, say {100, 100, 100, 100}. * I ad

Re: Quicklook and changing previewed image from table

2013-02-28 Thread Uli Kusterer
Am I misunderstanding you? You want a selection change to refresh the QuickLook panel, so shouldn't you be doing the call in a tableViewSelectionDidChange: delegate method/NSNotification handler? -- Uli Kusterer "The Witnesses of TeachText are everywhere..." http://www.masters-of-the-void.com

Re: Quicklook and changing previewed image from table

2013-02-28 Thread Chris Paveglio
I think I figured something out. I used the table view's method for  tableViewSelectionDidChange and I could set the panel's previewed item as that changed. It works but might not be optimal. Thanks for any replies. Chris - Forwarded Message - From: Chris Paveglio To: Cocoa Dev List Cc

Quicklook and changing previewed image from table

2013-02-28 Thread Chris Paveglio
I'm building an app that has a table view which holds paths of images. I have enabled quicklook so I can press space bar and the preview window will show up. I can view 1 image and close the preview and show another image preview. But if I have the quicklook preview panel displayed, it won't upd

Re: archiving report

2013-02-28 Thread Gerriet M. Denkmann
On 28 Feb 2013, at 21:52, Graham Cox wrote: > > On 01/03/2013, at 1:12 AM, "Gerriet M. Denkmann" wrote: > >> So nibs seem to be bloated by 7 ... 22 % > > > Serious question. Is it really worth obsessing about 22% of a few K in this > day and age? Probably not. Kind of personal obsession.

Re: archiving report

2013-02-28 Thread Graham Cox
On 01/03/2013, at 1:12 AM, "Gerriet M. Denkmann" wrote: > So nibs seem to be bloated by 7 ... 22 % Serious question. Is it really worth obsessing about 22% of a few K in this day and age? --Graham ___ Cocoa-dev mailing list (Cocoa-dev@lists.appl

Re: archiving report

2013-02-28 Thread Gerriet M. Denkmann
On 28 Feb 2013, at 14:41, Kyle Sluder wrote: > On Feb 27, 2013, at 10:46 PM, "Gerriet M. Denkmann" > wrote: > > . Where are your stats about serializing and de serializing real world > archives? For NIBs vs for the kind of object graphs that are sent over DO > connections? The 5 nib files

Re: 2 icons showing in dock

2013-02-28 Thread Rob McBroom
On Feb 27, 2013, at 9:02 PM, Rick C. wrote: > I have users still reporting this to me on 10.8.2. I am calling > kProcessTransformToForegroundApplication in initialize maybe this is my > problem? We’re calling it in `init`. I’ll try moving it to `applicationWillFinishLaunching`. Stabbing in t

positional information about terms in a search kit index

2013-02-28 Thread Eric Gorr
I know that in an inverted index which was created with kSKProximityIndexing, the position of each term is stored in order to support phrased based searching. Perhaps I missed something, but I was wondering if there were any APIs which would provide this positional information from the index for

Re: archiving report

2013-02-28 Thread Gerriet M. Denkmann
On 28 Feb 2013, at 14:41, Kyle Sluder wrote: > > All you have shown is that NSKeyedArchiver is not optimized for your > contrived use case. Whenever some object is used (referenced from some other object) n times there are n-1 unnecessary object references created. This might happen in real

Re: Documents not opening from Finder

2013-02-28 Thread Uli Kusterer
Opening internally sends Apple Events. Have you checked whether the"open document" Apple event is sent and whether it looks any different? My guess is they won't use that for the open panel, but maybe they do and something's broken there? Cheers, -- Uli Kusterer "The Witnesses of TeachText are