I asked specifically whether describeType works with the iPhone
target, and was told if it doesn't "then its a bug we'd like to know
about". I didn't check into the details.
Richard
On Oct 6, 1:29 am, Josh McDonald <
j...@joshmcdonald.info> wrote:
> I agree, the chances of them breaking it are pretty small. I'd *really* like
> to get my hands on this iPhone target for Flash, I wonder what that does to
> metadata (and the rest of describeType). I'm gonna bug Ted to test it :)
>
> I was playing around over the weekend, and your way definitely looks like
> the only way to get constructor injection in. It just *really* bugs me that
> we're stuck with our annotations being so far away from the code they're
> annotating :'( This whole "using Flash to build grown-up apps" thing seems
> to have sneaked up on Adobe...
>
> Wondering if you know where/why SwiftSuspenders is faster than SP? I'm
> assuming it's mainly my dodgey reflection code, which will be replaced with
> commons-reflection sometime soon, but I've done zero benchmarking, mainly
> because it's been fast enough for my needs so far.
>
> -Josh
>
> 2009/10/5 Till Schneidereit <
tschneider...@gmail.com>
>
>
>
>
>
> > Mmh. I honestly can't imagine that Adobe would break that. Mostly
> > because it would break symmetry with how the rest of the language is
> > parsed and because there are quite a lot of solutions out there that
> > depend on metadata nowadays. I admittedly can't name any that depend
> > on the order of metadata - but then again: Why should the have allowed
> > multiple metadata arguments in the first place, if they would later go
> > and completely break using them?
>
> > On Sun, Oct 4, 2009 at 04:31, Josh McDonald <
j...@joshmcdonald.info>
> > wrote:
> > > Looks good, but I'm worried about relying on the ordering of metadata, as
> > it
> > > might get broken or changed by future versions of the compiler, or
> > > third-party swf-mangling tools. On the other hand, I know that I'm
> > usually
> > > being more cautious than I need to when I worry about shit like that :)
>
> > > 2009/10/3 Till Schneidereit <
tschneider...@gmail.com>
>
> > >> Hey Josh,
>
> > >> I've completed my implementation of ctor (and method) injection. After
> > >> jumping through some hoops, everything seems to work fine.
> > >> I settled on only requiring metadata for named injections as the
> > >> parameters and their types themselves can be gathered through
> > >> describeType.
> > >> Maybe you could take a look at
> > >>
http://github.com/tschneidereit/SwiftSuspenders
> > >> and tell me if that solution (mostly the metadata, of course) is ok
> > >> with you - or propose changes.
> > >> If you've got a moment for that anytime soon, obviously.
>
> > >> cheers,
> > >> till
>
> > >> On Thu, Oct 1, 2009 at 16:31, Till Schneidereit <
> >
tschneider...@gmail.com>
> > >> wrote:
> > >> > Hey Josh,
>
> > >> > I'll also try to implement ctor injection in SwiftSuspenders until
> > >> > tomorrow, maybe we can then compare results and try to unify metadata.
> > >> > I'll keep you posted on how it goes.
>
> > >> > cheers,
> > >> > till
>
> > >> > On Wed, Sep 30, 2009 at 23:56, Josh McDonald <
j...@joshmcdonald.info>
> > >> > wrote:
> > >> >> Hi Till,
>
> > >> >> I haven't gotten too far into it yet, at the moment it's just some
> > >> >> failing
> > >> >> tests. That issue about metadata on constructors worries me though, I
> > >> >> hadn't
> > >> >> come across it. I'd definitely like to keep the metadata consistent
> > if
> > >> >> possible though, that's a great idea. Thursday's my "churn pending
> > >> >> business
> > >> >> admin BS" night, but I'll try and make a start on the impl tonight,
> > and
> > >> >> post
> > >> >> back my progress / ideas.
>
> > >> >> Cheers,
>
> > >> >> -Josh
>
> > >> >> 2009/10/1 Till Schneidereit <
tschneider...@gmail.com>
> > >> > Till Schneidereit
> > >> > Schneidereit Link GbR
> > >> > technical concept, consulting, development
> > >> > Tel: +49 40 970 7848 1
>
> > >> --
> > >> Till Schneidereit
> > >> Schneidereit Link GbR
> > >> technical concept, consulting, development
> > >> Tel: +49 40 970 7848 1
>
> > > --
> > > "Therefore, send not to know For whom the bell tolls. It tolls for thee."
>
> > > Josh 'G-Funk' McDonald
> > Till Schneidereit
> > Schneidereit Link GbR
> > technical concept, consulting, development
> > Tel: +49 40 970 7848 1
>
> --
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
>
> Josh 'G-Funk' McDonald