Re: How do you run an app on the device with Instruments?

2012-01-30 Thread John Joyce
On Jan 30, 2012, at 4:10 PM, G S wrote: > So... no one knows how to launch an app on the device with Instruments? > > Thanks anyway. > Assuming Xcode 4, look at schemes... in the Product menu. There are lots of ways to configure it. It takes time to update all of the documentation. There ar

Re: How do you run an app on the device with Instruments?

2012-01-30 Thread Alex Zavatone
I think you can attach to a process. Never tried it though. On Jan 30, 2012, at 4:10 PM, G S wrote: > So... no one knows how to launch an app on the device with Instruments? > > Thanks anyway. > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.c

Re: How do you run an app on the device with Instruments?

2012-01-30 Thread Marco Tabini
On 2012-01-30, at 5:10 PM, G S wrote: > So... no one knows how to launch an app on the device with Instruments? Launch Instruments Select an iOS instrument Click “All Processes,” select your device from the list Click “All Processes” again, choose “Attach to Progress” is the app is already runn

Re: NSLayoutManager's setDefaultAttachmentScaling: not working in custom PDF NSContexts.

2012-01-30 Thread Aki Inoue
Sounds like a bug. File a bug report. Thanks, Aki On Jan 29, 2012, at 10:03 AM, Gus Mueller wrote: > I have an issue where using NSLayoutManager's > setDefaultAttachmentScaling:NSImageScaleProportionallyDown doesn't seem to > work if I setup my own NSGraphicsContext + CGPDFContext. > > The

Re: NSLayoutManager's setDefaultAttachmentScaling: not working in custom PDF NSContexts.

2012-01-30 Thread Michael Nickerson
On Jan 29, 2012, at 1:03 PM, Gus Mueller wrote: > I have an issue where using NSLayoutManager's > setDefaultAttachmentScaling:NSImageScaleProportionallyDown doesn't seem to > work if I setup my own NSGraphicsContext + CGPDFContext. > > The problem is that large inline images are not scaled dow

Re: How do you run an app on the device with Instruments?

2012-01-30 Thread G S
So... no one knows how to launch an app on the device with Instruments? Thanks anyway. ___ 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-admin

Core Data Entity And Attribute Names In XML Store

2012-01-30 Thread Richard Somers
Why does Core Data change entity names to upper case and attribute names to lower case in the XML store? --Richard ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact th

Re: NSPopUpButton Binding Frustration

2012-01-30 Thread Ken Thomases
On Jan 30, 2012, at 1:12 PM, Seth Willits wrote: > On Jan 30, 2012, at 8:26 AM, Ken Thomases wrote: > >> content -> fileTypes >> contentValues -> fileTypes.displayName >> contentObjects -> fileTypes.uti >> selectedObject -> fileType > > > [...] The documentation could use another couple sentenc

Re: initFileURLWithPath run on emulator, not run on device

2012-01-30 Thread David Duncan
On Jan 30, 2012, at 10:50 AM, Stephen J. Butler wrote: > On Mon, Jan 30, 2012 at 9:57 AM, Riccardo Barbetti > wrote: >> I have a problem, after that I had write and test code on simulator, today I >> have work on device. > > I'm skeptical because... > >> In my program I save my NSArray: >> >>

Re: NSPopUpButton Binding Frustration

2012-01-30 Thread Seth Willits
On Jan 30, 2012, at 8:26 AM, Ken Thomases wrote: > content -> fileTypes > contentValues -> fileTypes.displayName > contentObjects -> fileTypes.uti > selectedObject -> fileType I don't remember if I tried that exact combination or not; I know I did something at least very similar. Seeing it this

Re: initFileURLWithPath run on emulator, not run on device

2012-01-30 Thread Franck Zoccolo
Le 30 janv. 2012 à 16:57, Riccardo Barbetti a écrit : > I have a problem, after that I had write and test code on simulator, today I > have work on device. > > In my program I save my NSArray: > > >NSArray *paths = > NSSearchPathForDirectoriesInDomains(NSSharedPublicDirectory, > NSUserDo

Re: initFileURLWithPath run on emulator, not run on device

2012-01-30 Thread Stephen J. Butler
On Mon, Jan 30, 2012 at 9:57 AM, Riccardo Barbetti wrote: > I have a problem, after that I had write and test code on simulator, today I > have work on device. I'm skeptical because... > In my program I save my NSArray: > > >    NSArray *paths = > NSSearchPathForDirectoriesInDomains(NSSharedPu

initFileURLWithPath run on emulator, not run on device

2012-01-30 Thread Riccardo Barbetti
I have a problem, after that I had write and test code on simulator, today I have work on device. In my program I save my NSArray: NSArray *paths = NSSearchPathForDirectoriesInDomains(NSSharedPublicDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtI

Re: NSPopUpButton Binding Frustration

2012-01-30 Thread Leo
On 1/30/12 11:34:11 AM, Keary Suska wrote: For instance, when using selectedObject, the returned object must be an exact object in the content/contentObjects array. -isEqual is not enough. Thank you! You just unexpectedly solved me the headache I had for a long time. Leo __

Re: NSPopUpButton Binding Frustration

2012-01-30 Thread Ken Thomases
On Jan 30, 2012, at 12:32 AM, Seth Willits wrote: > Say I have a file type popup in a save sheet for saving an image: > > @property NSString * fileType; > > - (NSArray *)fileTypes > { > return [NSArray arrayWithObjects:(id)kUTTypeJPEG, (id)kUTTypePNG, > (id)kUTTypeTIFF, nil]; > } > > - (

VFR-Reader loading pdf from a NSURL

2012-01-30 Thread Fernando Aureliano
Hi guys! I'm trying to do an experimental magazine. I'm based on this project example https://github.com/viggiosoft/HowToMakeAMagazineApp it use the "QuickLook" library from cocoa, but I want to put it to work with VFR-Reader: https://github.com/vfr/Reader On demo example of reader source, it

Re: NSPopUpButton Binding Frustration

2012-01-30 Thread Keary Suska
On Jan 29, 2012, at 11:32 PM, Seth Willits wrote: > This is such a dead simple problem that I think I've encountered a couple > times over the years and I don't think I've managed to ever find a solution > that works how I want. I'll break this down into an easy specific example. > > > Say I

Re: Subclassing IKImageView

2012-01-30 Thread Jan E. Schotsman
On Jan 29, 2012, at 6:27 PM, Fritz Anderson wrote: my next experiment would be to override the methods Indeed, that way I can easily do what I need (limit image drags to files and register dropped files): - (BOOL)performDragOperation:(id )sender { BOOLaccepted;

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2012-01-30 Thread Andy Lee
A friend pointed me to a *really* interesting documentation browser with features along these lines. ("Classes and methods have their own wiki pages" is what reminded me of this old thread on cocoa-dev, but there's lots more.) I've only played with it a bit, but it seems very sharp and professio