NSTableView don't show content

2013-07-14 Thread Folami Nguyen
Dear All, In MAC OS 10.6.8, I use NSTableView with CALayer enabled. Everything OK. However, sometime, all NSTableView in my application doesn't show data. I can click on the row but I cannot see it. Please help me how to fix it. Thanks you very much. Best regards, __

Re: To 'Pinch' or 'Rotate'

2013-07-14 Thread koko
On Jul 14, 2013, at 4:19 PM, Michael Crawford wrote: > gestures are hard to roll yourself Hmm, I am not rolling my own … I drag them to the view in IB and them make outlets and actions. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Pleas

Re: How to tell if file wrapper represents package

2013-07-14 Thread Shane Stanley
On 15/07/2013, at 2:59 AM, Kyle Sluder wrote: > This sounds like the correct approach to me. Grab the file extension, call > UTTypeCreatePreferredIdentifierForTag to convert it to a UTI, then call > UTTypeConformsTo (or -[NSWorkspace type:conformsToType:]) to determine if the > type confirms t

Re: To 'Pinch' or 'Rotate'

2013-07-14 Thread Michael Crawford
I don't have the answer to your question, however I will point out that gestures are hard to roll yourself because of "Switch Bounce". That is, with my own two finger gesture, the number of finger contacts is reported as 2,1,1,2,1,1,2,2,2,2,1,1,2 and so on. When just one finger contact is reporte

To 'Pinch' or 'Rotate'

2013-07-14 Thread koko
Having just submitted my fist iPad app I am moving on to enhancements via Gestures. In making a sample app to get a handle on gestures I added Tap, Pinch and Rotate to a View. Tap - works Pinch - works Rotate - calls Pinch … now I can understand this since pinch is two fingers down as is rot

Re: How to tell if file wrapper represents package

2013-07-14 Thread Kyle Sluder
When it's the only information you have about the file, it's the best you can do. Would be neat if there were a “UTI override” file attribute key, though. --Kyle Sluder (Sent from the road) On Jul 14, 2013, at 12:39 PM, Mike Abdullah wrote: > > On 14 Jul 2013, at 17:59, Kyle Sluder wrote: >

Re: How to tell if file wrapper represents package

2013-07-14 Thread Mike Abdullah
On 14 Jul 2013, at 17:59, Kyle Sluder wrote: > On Jul 14, 2013, at 9:33 AM, Mike Abdullah wrote: > >> >> On 14 Jul 2013, at 08:40, Shane Stanley wrote: >> >>> On 14/07/2013, at 1:30 PM, Lee Ann Rucker wrote: >>> Haven't tried it, but [NSWorkspace isFilePackageAtPath:] looks like what

Re: Cocoa-dev Digest, Vol 10, Issue 427

2013-07-14 Thread Pamela Grandt
I will be out of the office Fri. July 12 ___ 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 cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update

Re: How to tell if file wrapper represents package

2013-07-14 Thread Kyle Sluder
On Jul 14, 2013, at 9:33 AM, Mike Abdullah wrote: > > On 14 Jul 2013, at 08:40, Shane Stanley wrote: > >> On 14/07/2013, at 1:30 PM, Lee Ann Rucker wrote: >> >>> Haven't tried it, but [NSWorkspace isFilePackageAtPath:] looks like what >>> you want. If that's not sufficient, there are other

Re: How to tell if file wrapper represents package

2013-07-14 Thread Mike Abdullah
On 14 Jul 2013, at 08:40, Shane Stanley wrote: > On 14/07/2013, at 1:30 PM, Lee Ann Rucker wrote: > >> Haven't tried it, but [NSWorkspace isFilePackageAtPath:] looks like what you >> want. If that's not sufficient, there are other things in NSWorkspace that >> test files. > > The problem, t

Use of Instruments.app remedies Core Data memory issue (!?)

2013-07-14 Thread Peter
Hi, on and for OS 10.6.8 I am developing a single threaded Core Data (classical) music database. The model consists of eight (to-many, to-one and inversely) interlinked entities around a central "recording" entity. I am using independent managed object contexts for viewing and editing data (a

Re: How to tell if file wrapper represents package

2013-07-14 Thread Shane Stanley
On 14/07/2013, at 1:30 PM, Lee Ann Rucker wrote: > Haven't tried it, but [NSWorkspace isFilePackageAtPath:] looks like what you > want. If that's not sufficient, there are other things in NSWorkspace that > test files. The problem, though, is that a file wrapper doesn't have a path. -- Shan