Re: Autolayout Freespace

2013-12-12 Thread Charles Srstka
On Dec 11, 2013, at 11:54 PM, Luther Baker wrote: > And just to clarify, if I need to do some manual calculation, would I be > using frames, etc? "Frame" feels like such a dirty word in autolayout > world; is there something else specific to autolayout (like intrinsic size > - obviously not in th

Re: iPad keyboards

2013-12-12 Thread Kyle Sluder
> On Dec 11, 2013, at 9:49 PM, Rick Mann wrote: > > They released the latest version of their app Nov 19. They would've had to > build against the iOS 7 SDK. As far as I know, Apple is still accepting binaries linked against the iOS 6 SDK. --Kyle Sluder _

Re: iPad keyboards

2013-12-12 Thread Rick Mann
I thought you had to use Xcode 5 to submit now, and I thought it had to be linked against iOS 7. I'm pretty sure Apple rejected one of my binaries because of that. On Dec 12, 2013, at 01:34 , Kyle Sluder wrote: >> On Dec 11, 2013, at 9:49 PM, Rick Mann wrote: > >> >> They released the lates

Re: iPad keyboards

2013-12-12 Thread Maxthon Chan
Seem to me that Xcode 4.6.3 and iOS 6 SDK is still working, from my friends. On Dec 12, 2013, at 15:25, Maxthon Chan wrote: > Well on OS X Mavericks I have > /System/Library/Frameworks/Foundation.framework/Version/C/Foundation - and I > can assume tat versions A are from NeXTSTEP (possibly use

Re: Threaded drawing

2013-12-12 Thread Uli Kusterer
On 11 Dec 2013, at 16:01, Jens Alfke wrote: > On Dec 11, 2013, at 4:39 AM, 2551 <2551p...@gmail.com> wrote: >> It’s certainly seemed the case to me that I would have probably spent less >> time just writing my own code from scratch than I spend trying to figure out >> how half the methods I’m tr

help with logic error

2013-12-12 Thread 2551
Hi folks I need some help with a logic error the Static Analyzer is throwing up. I didn’t write this code (in fact, its a piece of Apple sample code I’m resuing in my project), and I’m not quite sure how to correct it. It goes like this, where the numbers [1], [2], [3], [4] represent the end po

Re: Threaded drawing - JPEG

2013-12-12 Thread Uli Kusterer
On 11 Dec 2013, at 18:53, Steve Sisak wrote: > At 10:25 AM -0800 12/10/13, Seth Willits wrote: >> On Dec 10, 2013, at 1:32 AM, Graham Cox wrote: >> > But my situation is that I need to draw VECTOR objects up to 25,000% zoom >> > with no pixelization. >> >> You're given a CGContext to draw into;

Re: help with logic error

2013-12-12 Thread Mike Abdullah
On 12 Dec 2013, at 11:52, 2551 <2551p...@gmail.com> wrote: > Hi folks > > I need some help with a logic error the Static Analyzer is throwing up. I > didn’t write this code (in fact, its a piece of Apple sample code I’m resuing > in my project), and I’m not quite sure how to correct it. It goe

Re: help with logic error

2013-12-12 Thread 2551
> On 12 Dec 2013, at 18:56, Mike Abdullah wrote: > If orientation happens to have a value *other* than NSVerticalRuler or > NSHorizontalRuler, you’ll reach this point with borderLineRect containing > garbage since it’s never been filled in properly. This is what the analyser > is complaining of

Re: help with logic error

2013-12-12 Thread Appa Rao Mulpuri
Probably you may need to add the Default case in Switch case block or else initialize with Zero rect. - Apparao On 12/12/13 5:22 PM, "2551" <2551p...@gmail.com> wrote: >Hi folks > >I need some help with a logic error the Static Analyzer is throwing up. I >didn¹t write this code (in fact, its a

Re: Threaded drawing - JPEG

2013-12-12 Thread Mike Abdullah
On 12 Dec 2013, at 11:55, Uli Kusterer wrote: > On 11 Dec 2013, at 18:53, Steve Sisak wrote: >> At 10:25 AM -0800 12/10/13, Seth Willits wrote: >>> On Dec 10, 2013, at 1:32 AM, Graham Cox wrote: But my situation is that I need to draw VECTOR objects up to 25,000% zoom with no pixeli

Re: help with logic error

2013-12-12 Thread Uli Kusterer
On 12 Dec 2013, at 12:52, 2551 <2551p...@gmail.com> wrote: > Hi folks > > I need some help with a logic error the Static Analyzer is throwing up. I > didn’t write this code (in fact, its a piece of Apple sample code I’m resuing > in my project), and I’m not quite sure how to correct it. It goe

Re: Threaded drawing

2013-12-12 Thread 2551
OK, OK, point taken. I think I'll print that list (and Uli’s caveat) and hang it on the wall, right next to the space I use for banging my head when struggling with Cocoa… :p On 12 Dec 2013, at 18:46, Uli Kusterer wrote: > On 11 Dec 2013, at 16:01, Jens Alfke wrote: >> On Dec 11, 2013, at 4

Neatly fitting a dash to a rect

2013-12-12 Thread Graham Cox
Does anyone have code or at least an outline of how to adjust a dash so that it fits exactly to the corners of a rectangle? The dash itself is supplied, but may be minimally adjusted in both phase and length of any of its elements to fit, such that the rect corners lie exactly in the centre of

Re: Neatly fitting a dash to a rect

2013-12-12 Thread Andy Lee
I assume you mean dash as in NSBezierPath's setLineDash:count:phase:. Also, does the dash have just two elements (one segment and one gap), or is it more complex. Does it have to be the same exact pattern all the way around? If it's okay to differ a teeny bit (I bet imperceptibly), you could

Re: Neatly fitting a dash to a rect

2013-12-12 Thread Andy Lee
On Dec 12, 2013, at 10:06 AM, Andy Lee wrote: > Does it have to be the same exact pattern all the way around? If it's okay > to differ a teeny bit (I bet imperceptibly), you could solve the problem > separately for the horizontal edges and the vertical edges, and draw four > lines instead of o

Re: Neatly fitting a dash to a rect

2013-12-12 Thread Andy Lee
On Dec 12, 2013, at 10:06 AM, Andy Lee wrote: > In other words, the line length will be an exact multiple of segment length. Correction: exact multiple of (segmentLength + gapLength). --Andy ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Pl

Re: iPad keyboards

2013-12-12 Thread Luther Baker
On Dec 12, 2013, at 3:38 AM, Rick Mann wrote: > I thought you had to use Xcode 5 to submit now, Xcode 5 can build with the 6 SDK. > and I thought it had to be linked against iOS 7. Dunno > I'm pretty sure Apple rejected one of my binaries because of that. > Might try to clarify for which

Re: iPad keyboards

2013-12-12 Thread Mike Abdullah
On 12 Dec 2013, at 15:39, Luther Baker wrote: > > > On Dec 12, 2013, at 3:38 AM, Rick Mann wrote: > >> I thought you had to use Xcode 5 to submit now, > > Xcode 5 can build with the 6 SDK. Not without modifying the Xcode package, or other monkeying about with settings. Perhaps you’re thin

Re: Neatly fitting a dash to a rect

2013-12-12 Thread Graham Cox
On 12 Dec 2013, at 4:06 pm, Andy Lee wrote: > I assume you mean dash as in NSBezierPath's setLineDash:count:phase:. Yep, sorry if that wasn’t clear. > Also, does the dash have just two elements (one segment and one gap), or is > it more complex. Well, it can be more complex, but it might no

Re: Neatly fitting a dash to a rect

2013-12-12 Thread Andy Lee
On Dec 12, 2013, at 10:52 AM, Graham Cox wrote: >> Does it have to be the same exact pattern all the way around? If it's okay >> to differ a teeny bit (I bet imperceptibly), you could solve the problem >> separately for the horizontal edges and the vertical edges, and draw four >> lines instea

Re: iPad keyboards

2013-12-12 Thread Shawn Erickson
We have been submitting and getting approved apps built with Xcode 4.x and iOS 6 SDK without issue still. Apple knows the iOS 7 jump is fairly large for some apps so hasn't yet been forceful but I expect to happen at some point. On Thu, Dec 12, 2013 at 1:38 AM, Rick Mann wrote: > I thought you

Re: iPad keyboards

2013-12-12 Thread Rick Mann
On Dec 12, 2013, at 11:58 , Shawn Erickson wrote: > We have been submitting and getting approved apps built with Xcode 4.x and > iOS 6 SDK without issue still. Apple knows the iOS 7 jump is fairly large > for some apps so hasn't yet been forceful but I expect to happen at some > point. That's g

Re: iPad keyboards

2013-12-12 Thread David Duncan
On Dec 12, 2013, at 1:08 PM, Rick Mann wrote: > > On Dec 12, 2013, at 11:58 , Shawn Erickson wrote: > >> We have been submitting and getting approved apps built with Xcode 4.x and >> iOS 6 SDK without issue still. Apple knows the iOS 7 jump is fairly large >> for some apps so hasn't yet been

Re: iPad keyboards

2013-12-12 Thread Shawn Erickson
Your app is tagged with the SDK you link against. When running on a later version of the OS then the SDK the app is built with the OS may (and often does) run the application in a compatibility mode in an attempt to avoid causing problems for the app. On Thu, Dec 12, 2013 at 1:08 PM, Rick Mann w