mfikes / goby

Develop iOS apps with ClojureScript
Eclipse Public License 1.0
345 stars 17 forks source link

explicit cast NSUInteger (unsigned long) to int #1

Closed sventech closed 9 years ago

sventech commented 9 years ago

fix a warning in Xcode 6.1 for explicit conversion from NSUInteger (which is equivalent of unsigned long) to JavaScript compatible int. I’m guessing this would not commonly overflow since it is a count of visible objects, so less than 2 billion

sventech commented 9 years ago

I'm also getting a warning about the @interfaceOrientation interface in Xcode 6.1 but can't track it down. "Auto property synthesis will not synthesize property 'interfaceOrientation' declared in protocol 'GBYViewController' --- it looks like the getters and setters are not declared, and I'm guessing that's on purpose. This is from the implementation (.m) file. Perhaps they could be declared even if the value is set elsewhere?

mfikes commented 9 years ago

Thanks Sven. I took a quick look at this warning and pushed a fix for it.

On Nov 22, 2014, at 9:34 PM, Sven Pedersen notifications@github.com wrote:

I'm also getting a warning about the @interfaceOrientation interface in Xcode 6.1 but can't track it down. "Auto property synthesis will not synthesize property 'interfaceOrientation' declared in protocol 'GBYViewController' --- it looks like the getters and setters are not declared, and I'm guessing that's on purpose. This is from the implementation (.m) file.

— Reply to this email directly or view it on GitHub https://github.com/mfikes/goby/pull/1#issuecomment-64104146.