objective c external?


    Oct 11 2007 | 3:15 pm
    Hi all,
    Is it possible to use Objective C to create an external? Any good docs on how to do so?
    That may be a dumb question... I'm not a Mac Dev expert (obviously) but there is a lot of good sample code in Objective C on Apple's developer site.
    thanks
    Evan

    • Oct 11 2007 | 3:17 pm
      Boy are you in luck. But I'll let someone else give you the details.
      jb
      Am 11.10.2007 um 17:15 schrieb evan.raskob:
      >
      > Hi all,
      >
      > Is it possible to use Objective C to create an external? Any good
      > docs on how to do so?
      >
      > That may be a dumb question... I'm not a Mac Dev expert (obviously)
      > but there is a lot of good sample code in Objective C on Apple's
      > developer site.
      >
      > thanks
      > Evan
    • Oct 11 2007 | 3:34 pm
      Hi Evan,
      As Jeremy kindly alluded to, I have been working on just such a thing!
      I've been documenting my progress on the Electrotap blog:
      I haven't released the framework for doing this yet for two reasons.
      First, I'm still changing things ad hoc. Second, it currently
      requires Max 5. I suppose that if there were enough interest I might
      be persuaded to make it work with Max 4.6, I haven't really thought
      about it...
      Cheers,
      Tim
      On Oct 11, 2007, at 10:15 AM, evan.raskob wrote:
      > Hi all,
      >
      > Is it possible to use Objective C to create an external? Any good
      > docs on how to do so?
      >
      > That may be a dumb question... I'm not a Mac Dev expert (obviously)
      > but there is a lot of good sample code in Objective C on Apple's
      > developer site.
      >
      > thanks
      > Evan
    • Oct 11 2007 | 4:12 pm
      Timothy Place wrote:
      > Hi Evan,
      >
      > As Jeremy kindly alluded to, I have been working on just such a thing!
      >
      > I've been documenting my progress on the Electrotap blog:
      > http://electrotap.net/blog
      >
      > I haven't released the framework for doing this yet for two reasons.
      > First, I'm still changing things ad hoc. Second, it currently requires
      > Max 5. I suppose that if there were enough interest I might be
      > persuaded to make it work with Max 4.6, I haven't really thought about
      > it...
      Why that complicated? Look at this one:
      I have done a similar thing in order to access an Objective-C framwork
      and that ugly mixture between C and Objective-C seems to work.
      Olaf
    • Oct 11 2007 | 4:25 pm
      On Oct 11, 2007, at 11:16 AM, Olaf Matthes wrote:
      > Timothy Place wrote:
      >> Hi Evan,
      >> As Jeremy kindly alluded to, I have been working on just such a
      >> thing!
      >> I've been documenting my progress on the Electrotap blog:
      >> http://electrotap.net/blog
      >> I haven't released the framework for doing this yet for two
      >> reasons. First, I'm still changing things ad hoc. Second, it
      >> currently requires Max 5. I suppose that if there were enough
      >> interest I might be persuaded to make it work with Max 4.6, I
      >> haven't really thought about it...
      >
      > Why that complicated? Look at this one:
      >
      > http://recherche.ircam.fr/equipes/temps-reel/movement/muller/
      > index.php?entry=entry061109-110500
      >
      > I have done a similar thing in order to access an Objective-C
      > framwork and that ugly mixture between C and Objective-C seems to
      > work.
      Yes - mixing them works fine too. I guess the question is whether
      you want to use Objective-C in an external, or write the external in
      Objective-C. Either way can work fine. It depends on what you are
      trying to do...
      That example you provided glosses over a few things though. Like how
      to have the Fraction object member variables accessible as attributes
      of the _Max_ object (not just the ObjC object) and the method
      bindings etc. None of this is particularly hard to do (unless you
      are trying to do it on Windows where the GNUStep ObjC runtime has
      some differences from the Apple ObjC runtime), but the framework I've
      been working on makes the whole process automatic.
      Nevertheless, for just simply calling a few methods in some Apple
      examples my thing could be overkill I suppose...
      best,
      Tim
    • Oct 11 2007 | 5:01 pm
      hmmm.. thanks for all the info, guys.
      Best case is totally in Objective C, but I guess the methods can work too. This is a bit to digest, thanks.
    • Oct 12 2007 | 7:58 pm
      I've done a bit with it too. You can even save Obj-C objects in your
      Max Object struct.
      You can also call up Cocoa windows, but its not recommended.
      b
      On Oct 11, 2007, at 10:01 AM, evan.raskob wrote:
      >
      > hmmm.. thanks for all the info, guys.
      >
      > Best case is totally in Objective C, but I guess the methods can
      > work too. This is a bit to digest, thanks.
      Barry Threw
      Media Art and Technology
      San Francisco, CA Work: 857-544-3967
      Email: bthrew@gmail.com
      IM: captogreadmore (AIM)
      http:/www.barrythrew.com