0
I Use This!
Activity Not Available

Project Summary

This project is an application framework that provides extended functionality for the NSTextView class. The specific additions include evaluation of inline equations such as '10+16*(12-10)' and conversions for natural language units such as '12 inches'.

When the cursor (input) location is changed within the extended text view object the framework scans the nearby text of the previous input location to identify equations and unit strings. When identified these strings are signified to the user by a dashed and colored underline (green for equations and blue for units). The user of a Macintosh system can then evaluate such equations or choose a conversion from a list of possible conversions by invoking a context sensitive menu by Cmd+Clicking on the appropriate region of text.

When applying unit conversions certain attempts are made to maintain the 'natural language' aspect of writing. For example, the string '1 quart' is converted into '1/4 gallon' but not '0.25 gallons'. Additionally, when presenting unit conversions very unlikely conversions will not be presented, such as conversions of '3.2 miles' into centimeters.

The framework is designed to be localizable. XCode project files included in this project include the framework source code, a modified version of the Apple TextEdit program which utilizes the framework, and an editor for creating localized databases of conversion names and factors.

Tags

cocoa conversions editors extensions framework math mathematics nstextview textview units

In a Nutshell, nstextviewwithmathextensions...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

MIT License
Permitted

Commercial Use

Modify

Distribute

Sub-License

Private Use

Forbidden

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    anyone with an Open Hub account can update a project's tags
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    check out hot projects on the Open Hub

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis