• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Expression parsing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Expression parsing


  • Subject: Expression parsing
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Sun, 18 Jul 2004 00:46:18 +0100

I want to parse simple expressions, mainly with the contstants pi and phi in it. So I can enter things like "pi/3", or "phi+2", into some text fields. Whats a good way to do this? I'm thinking of just parsing it, but I'm wondering if theres a built in class for this kind of thing?

Also, I'm wondering how to trap the action event. That is, I want my NSTextField subclass, to tell an NSStepper that it's text has been updated. The thing is, I'm already sending an action to a different class on it's action. Is there a way to send an action to multiple targets, via Interface builder, or does this sort of thing have to be done via code?

--
Theodore H. Smith - Software Developer.
http://www.elfdata.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Expression parsing
      • From: Stéphane Sudre <email@hidden>
    • Re: Expression parsing
      • From: Allan Odgaard <email@hidden>
    • Re: Expression parsing
      • From: Mario Diana <email@hidden>
  • Prev by Date: Re: iChat perspective view
  • Next by Date: Re: NSValueTransformer - Object Reference
  • Previous by thread: NSToolbar setConfigurationFromDictionary: ?
  • Next by thread: Re: Expression parsing
  • Index(es):
    • Date
    • Thread