shouldAutorotateToInterfaceOrientation not being called ...

2010-07-25 Thread Jay Reynolds Freeman
I posted about this in the CocoaTouch developer forum, with no response. I am bringing my problem here in the forlorn, last hope that someone who reads this newsgroup but not that forum knows something that will assist me. I am developing an iPad app under Xcode/IB/iPhone-simulator 3.2.2. (I

Re: Nested UIScrollView: horizontal scrolling

2010-07-25 Thread Pierre de La Morinerie
Le 25 juil. 2010 à 05:20, Scott Anguish a écrit : It seems that as long as the outter SV is moving (or decelerating, anyway), the inners SV won't have a chance to get the swipe events. I’d think this is the reasonable behavior.. You want to be able to zoom before the containing scroll

Cocoa app fails with Adobe InCopy

2010-07-25 Thread Ivan C Myrvold
I have developed a Cocoa app which fetches text from an InCopy document via AppleEvents through a plugin in InCopy, and sends the text to a server for text proofing. This application have performed well in different environments the last year, but one of our customers had problems with the

Re: shouldAutorotateToInterfaceOrientation not being called ...

2010-07-25 Thread Roland King
First off - post that piece of code, cut and paste it right out of the app just incase you went and misspelled it, unlikely but, if you post it here we can eliminate that possibility. Second - type 'QA1688' into the documentation browser and read that technote, that gives several reasons that

Re: shouldAutorotateToInterfaceOrientation not being called ...

2010-07-25 Thread Jay Reynolds Freeman
On Jul 25, 2010, at 3:01 AM, Roland King wrote: First off - post that piece of code, cut and paste it right out of the app just incase you went and misspelled it, unlikely but, if you post it here we can eliminate that possibility. This code shows instrumentation to report the method call

OT?: Spinning Ball Animation in ABCNews iPad app - New CoreAnimation feature?

2010-07-25 Thread AppleLists_Jim Witte
I just saw an promo for the new iPad app that ABC News has - which has an animation of a spinning ball for selecting stories. Is this a new standard CoreAnimation filter (or something, I've never written anything for CA), where you can say give the CAFramework a matrix of images, and

Re: Deselect keyboard focus of an NSMatrix cell

2010-07-25 Thread Jochen Moeller
Hello Kyle, you are right, I did not call -endEditingFor: because in the example given in the reference this method is only called when -makeFirstResponder: returns NO. But in my case -makeFirstResponder:view returns YES, so the view (custom content view or text field object) should have the

Re: Discard all drawing in a UIView

2010-07-25 Thread Malayil George
Well...the occurrence of this particular scenario is very rare. It might be expensive, but, has not had any effects on program performance so far. I am not in control of the ranges supplied and yes, I could always check if the range is valid before extracting the substring. However, if the

NSStatusItemthreading

2010-07-25 Thread Joe Turner
Hello, I recently realized that when the user opens the NSStatusItem in my app, the main run loop gets blocked up until they close it. This is a big issue for parts of my app, so I need a way to thread the NSStatusItem. I tried to create it in a new thread, hoping it would then do all of its

Re: iPhone orientation problems

2010-07-25 Thread Matt Neuburg
Everywhere, it is said that it should be handled automatically when adding the subview to the window but it doesn't seem to work, at least not with my controller layout. My experience is that you have to wait until the window's primary subview has itself rotated before you do any further

Re: Discard all drawing in a UIView

2010-07-25 Thread Manfred Schwind
But, the question still does remain, even if purely for academic reasons - can we clear a UIView (in a custom UITableViewCell) in the drawRect routine after beginning to draw in it. I have tried playing around with two options so far 1. CGContextClearRect() - This however clears to a black

Re: shouldAutorotateToInterfaceOrientation not being called ...

2010-07-25 Thread Matt Neuburg
On Sun, 25 Jul 2010 05:21:44 -0700, Jay Reynolds Freeman jay_reynolds_free...@mac.com said: This code shows instrumentation to report the method call Instrumentation code can fail silently. How about just setting a breakpoint? My first step in a case like this would be breakpoint everything in

Mac sample code using USB and CFRunLoopSource

2010-07-25 Thread Brian Postow
I'm not sure if this is properly Cocoa or Carbon. It lives in IOUSBLib.h if there's a better place to ask this, let me know. I'm trying to (re-)write a program that uses USB controlled scanners. I've got my USBIOInterfaceInterface set up, so I can send and receive messages over the pipes. I am

dynamically change circle size held in NSBezierPath

2010-07-25 Thread Shane
When a user decides to display a scatter plot, I iterate through all my points and add the x,y points to an NSBezierPath as such with a fixed width and height. - (void) addCoord:(double) xval yCoord:(double) yval { NSRect rect = NSMakeRect(xval, yval, 1, 1);

Re: dynamically change circle size held in NSBezierPath

2010-07-25 Thread Charlie Dickman
Use the transformUsingAffineTransform: to scale your path. On Jul 25, 2010, at 4:53 PM, Shane wrote: When a user decides to display a scatter plot, I iterate through all my points and add the x,y points to an NSBezierPath as such with a fixed width and height. - (void) addCoord:(double)

Re: NSStatusItemthreading

2010-07-25 Thread Graham Cox
On 26/07/2010, at 4:53 AM, Joe Turner wrote: I recently realized that when the user opens the NSStatusItem in my app, the main run loop gets blocked up until they close it. This is a big issue for parts of my app, so I need a way to thread the NSStatusItem. I tried to create it in a new

Re: NSStatusItemthreading

2010-07-25 Thread Joe Turner
Hey, Thanks man! That worked perfectly :) Joe On Jul 25, 2010, at 7:35 PM, Graham Cox wrote: On 26/07/2010, at 4:53 AM, Joe Turner wrote: I recently realized that when the user opens the NSStatusItem in my app, the main run loop gets blocked up until they close it. This is a big issue