Re: UIButton over sliding UIImageView disappears until slide complete

2014-01-19 Thread Cody Garvin
Yah code would really be helpful. Are you doing implicit layer animations on the UIImageViews themselves? Or are you using Core Animation directly? On Jan 19, 2014, at 12:28 PM, Eric E Dolecki wrote: > Same parent view. > > Eric > >> On Jan 19, 2014, at 2:02 PM, Cody Garvin wrote: >> >>

Re: Crash on iOS when encoding an NSAttributedString

2014-01-19 Thread Graham Cox
Hi Marcus, I've had a crash while dearchiving core text objects, though not this particular case with archiving. Obviously the object that's crashing is a UIFont used by the NSAttributedString. One of its properties - by the look of it the font ascent - triggers the underlying C++ code to calc

capturing the content of a SpriteKit SKView (or SKScene, SKNode) to an NSImage ?

2014-01-19 Thread Guillaume Laurent
Hi, Has anyone tried and succeeded in capturing the contents of an SKView to an NSImage ? Techniques working for a regular NSView won't work apparently because an SKView is based on OpenGL. I tried taking advantage of the fact that an SKScene is an SKEffectNode and used a custom CIFilter which

Re: UIButton over sliding UIImageView disappears until slide complete

2014-01-19 Thread Eric E Dolecki
Same parent view. Eric > On Jan 19, 2014, at 2:02 PM, Cody Garvin wrote: > > Are they in the same patent view? > > Please excuse mobile typos > >> On Jan 19, 2014, at 8:19 AM, Matt Neuburg wrote: >> >> On Wed, 15 Jan 2014 15:46:19 -0500, "Eric E. Dolecki" >> said: >>> I have a UIButton

Re: Crash on iOS when encoding an NSAttributedString

2014-01-19 Thread Cody Garvin
sounds like an attribute can't encode itself. I know CGColorRef doesn't know how to encode itself, which is what CoreText uses to render. If try and pull the string out and serial size the attributes separately, or find a way to serialize CGColorRef. Sorry I'm not much help. Please excuse mobi

Re: UIButton over sliding UIImageView disappears until slide complete

2014-01-19 Thread Cody Garvin
Are they in the same patent view? Please excuse mobile typos > On Jan 19, 2014, at 8:19 AM, Matt Neuburg wrote: > > On Wed, 15 Jan 2014 15:46:19 -0500, "Eric E. Dolecki" > said: >> I have a UIButton above a series of UIImageViews. At times, the >> UIImageViews will slide under the button - a

Crash on iOS when encoding an NSAttributedString

2014-01-19 Thread Markus Spoettl
Hello, I got a crash log from a user that's mildly puzzling. It happens somewhere deep down CoreText it seems, while encoding an NSAttributedString (whose content I don't know). Any ideas how it can some to this? My app has a standard UITextView that feeds the model property that is encoded

Re: System fonts on iOS 7

2014-01-19 Thread Matt Neuburg
On Sun, 19 Jan 2014 11:58:15 +1000, Gideon King said: >We have the seemingly impossible situation where the text is drawn in a font >face that is not in the list returned by [UIFont familyNames]. Well, it isn't *very* impossible. Consider the case of a label or button whose text drawn in one o

Re: UIButton over sliding UIImageView disappears until slide complete

2014-01-19 Thread Matt Neuburg
On Wed, 15 Jan 2014 15:46:19 -0500, "Eric E. Dolecki" said: >I have a UIButton above a series of UIImageViews. At times, the >UIImageViews will slide under the button - and they disappear until the >animation (UIView) is complete. > >How can I prevent this and have the button remain in view at all

Re: Binding not setting model property

2014-01-19 Thread Ken Thomases
On Jan 18, 2014, at 9:45 PM, Roland King wrote: > That was one point of confusion for me right at the start. IB binds the > 'value' property but as far as I could tell, NSTextField doesn't have such a > property, calling 'value' or 'valueForKey:@"value"' on it just raises as > exception, so I a