how to draw a elliptical pie chart?

2013-06-06 Thread Nick Rogers
Hi, I'm new to core graphics. The target oval (target oval.jpg) and current oval (oval.jpg) are available at http://www5.snapfish.in/snapfishin/thumbnailshare/AlbumID=9188624025/a=11429776025_11429776025/otsc=SHR/otsi=SALBlink/ . In oval after drawing the top filled ellipse I'm creating a path

Fwd: how to draw a elliptical pie chart?

2013-06-06 Thread Nick Rogers
Sorry earlier link to images required signup. Here are the new links: http://picturepush.com/public/13243485 and http://picturepush.com/public/13243495 Wishes, Nick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: how to draw a elliptical pie chart?

2013-06-06 Thread Jonathan Hull
If you are using a CGPath, then you will need to add the path to the CGContext and then fill the context. You would most likely want to save/restore the context around this as well. CGContextAddPath(context, path); CGContextSetFillColorWithColor(context, color); CGContextFillPath(context);

Re: how to draw a elliptical pie chart?

2013-06-06 Thread Koen van der Drift
Have you looked at CorePlot ? http://code.google.com/p/core-plot/ - Koen. On Jun 6, 2013, at 4:44, Nick Rogers roger...@mac.com wrote: Hi, I'm new to core graphics. The target oval (target oval.jpg) and current oval (oval.jpg) are available at

Re: Memory not being released in a timely manner

2013-06-06 Thread Jonathan Taylor
Thankyou all for your replies. A few responses - On 4 Jun 2013, at 16:30, Jeff Johnson wrote: We've run into this issue in a number of apps. As a workaround, we add a timer to the main thread and have it fire periodically. The timer's action method does the following: Thanks again! I've

Re: using SUBQUERY to remove nulls

2013-06-06 Thread Roland King
On 6 Jun, 2013, at 5:34 AM, Keary Suska cocoa-...@esoteritech.com wrote: On Jun 5, 2013, at 7:50 AM, Roland King wrote: I have a property, 'meaning' on my objects in a core data model. It's optional. I need to find all the meanings which contain a certain string (not terribly efficient

Is container migration manifest required to access 3rd party file in ~/Library/Preferences from sandboxed Cocoa app in OS X 10.8 SDK?

2013-06-06 Thread Public
I'm building a Cocoa app (using OS X 10.8 SDK) to access a file (that was not created or owned by my app) in ~/Library/Preferences/. I'm able to access the ~/Library/Preferences from a non-sandboxed app, however when I run my NSTask from my sandboxed app, the path returned is

Re: Determine load path of linked framework at runtime

2013-06-06 Thread Jerry Krinock
On 2013 Jun 05, at 15:59, Graham Cox graham@bigpond.com wrote: I have an odd situation where a framework which is bundled within my app is being overridden by an older copy on a user's machine. A couple months ago, I had one use report that a new version of one of my apps wouldn't

Re: Using AVFoundation with AVCaptureAudioDataOutput for Audio playback

2013-06-06 Thread San Saeteurn
After filing a DTS, found out the problem. The AudioSettings property is not enough to convert the output to the necessary format. Though I needed to add [NSNumber numberWithBool:NO], AVLinearPCMIsNonInterleaved, to the dictionary. Upon receiving a sample,

Re:RE: DETERMINE LOAD PATH OF LINKED FRAMEWORK AT RUNTIME

2013-06-06 Thread altote...@aol.com
Testing From: w...@omnigroup.com Date: Wednesday, June 5, 2013 To: Graham Cox graham@bigpond.com Subject: Re: Determine load path of linked framework at runtime On 5 Jun 2013, at 3:59 PM, Graham Cox wrote: Hi all, Is there a way to discover the load path of a framework at runtime? I

Re:RE: DETERMINE LOAD PATH OF LINKED FRAMEWORK AT RUNTIME

2013-06-06 Thread altote...@aol.com
From: w...@omnigroup.com Date: Wednesday, June 5, 2013 To: Graham Cox graham@bigpond.com Subject: Re: Determine load path of linked framework at runtime On 5 Jun 2013, at 3:59 PM, Graham Cox wrote: Hi all, Is there a way to discover the load path of a framework at runtime? I have

Re: Memory not being released in a timely manner

2013-06-06 Thread Greg Parker
On Jun 6, 2013, at 4:41 AM, Jonathan Taylor jonathan.tay...@glasgow.ac.uk wrote: As far as I can see, the Allocations tool does not report memory that is pending release from an autorelease pool. It would be interesting to know if there was a way of monitoring that. Re your suggestion about

Re: Is container migration manifest required to access 3rd party file in ~/Library/Preferences from sandboxed Cocoa app in OS X 10.8 SDK?

2013-06-06 Thread Graham Cox
On 07/06/2013, at 1:03 AM, Public mailbox20040...@gmail.com wrote: I've created an entitlement file. So my question is is it possible to use a container migration manifest to copy the file (that was not created or owned by my app) from ~/Library/Preferences to my app's sandbox. I only need

Re: Layout on Mini is broken

2013-06-06 Thread Rick Mann
Here's some new news! I gave the iPad I'd been using to a colleague, got him set up building the app and running it on that iPad. He sees the same layout problem I saw on the iPad mini, but never on that iPad. So, it's not restricted to the iPad Mini. Argh. -- Rick On Jun 5, 2013, at 13:56

Re: Layout on Mini is broken

2013-06-06 Thread Rick Mann
After using the amazing Reveal app, I got this screenshot of my hieararchy: http://cl.ly/image/2I0P1Y370S0B It doesn't show constraints, AFAICT, so I'm still having to manually inspect each one (something IB really sucks at), and trying to see if there's an obvious incorrect one. But

Re: Layout on Mini is broken

2013-06-06 Thread Kyle Sluder
On Thu, Jun 6, 2013, at 06:10 PM, Rick Mann wrote: After using the amazing Reveal app, I got this screenshot of my hieararchy: http://cl.ly/image/2I0P1Y370S0B It doesn't show constraints, AFAICT, so I'm still having to manually inspect each one (something IB really sucks at), and

Re: Layout on Mini is broken

2013-06-06 Thread Rick Mann
On Jun 6, 2013, at 18:23 , Kyle Sluder k...@ksluder.com wrote: Ok, so it looks to me like the constraint system within your content area is screwing up the layout for your entire window. So it's probably related to your pinch/zoom troubles from the other thread. Care to describe the view

Re: Layout on Mini is broken

2013-06-06 Thread Rick Mann
On Jun 6, 2013, at 18:23 , Kyle Sluder k...@ksluder.com wrote: Ok, so it looks to me like the constraint system within your content area is screwing up the layout for your entire window. So it's probably related to your pinch/zoom troubles from the other thread. Care to describe the view