> --
> You received this message because you are subscribed to the Google Groups "Brighton iPhone Creators" group.
> To post to this group, send email to brighton-iph...@googlegroups.com.
> To unsubscribe from this group, send email to brighton-iphone-cr...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/brighton-iphone-creators?hl=en.
Perhaps you can share some code that demonstrates the problem as I'd also assumed you must be subclassing?
Nick
What "returns an int" ?
Can you provide an example of this where it happens?
[I just put together an example and can't see that it is going wrong]
Chris
On 16 Jan 2012, at 11:11, Shaun Pryszlak wrote:
Obj-C only recently got upgraded from "a bunch of hand-written scripts
that convert it to C code, which is then sent to a C compiler".
Obj-C will let you declare almost anything almost anywhere, but with
the Xcode 3.x compiler, small quirks in those scripts could end up
generating C code that didn't really do what it was supposed to.
In particular, when I started with iPhone, you could get some pretty
bad screw-ups because the scripts had a poor naming scheme, and would
sometimes convert two independently scoped obj-c things to exactly the
same name in C - and C has no namespacing, so that's guaranteed to
blow up in your face.
IF you're using the old compiler, I'd assume you're seeing another one of those.
If you're using the new compiler, well ... it still has some bugs,
although I haven't seen any problems with scope / global names so far.