NerdyCalc feature set
This post lists the features implemented in the NerdyCalc Xcode project.
Platforms and workspace
- Native macOS and iOS apps.
- Calculation sheets with a title, editable lines, creation date, modification date, and pinned state.
- Folders for grouping sheets.
- Create, rename, delete, pin, unpin, reorder, group, and ungroup sheets and folders.
- Manual ordering, title sorting, and modification-date sorting.
- Search across sheet titles.
- Mac three-column layout with navigator, sheet editor, and results inspector.
- iOS navigation from the sheet list to folders and sheets.
- Keyboard navigation on Mac, including Return to open and Escape to go back.
- Selection of one or multiple sheets for folder and pin actions.
Sheet editor
- Calculations evaluated from top to bottom.
- Variable assignments and references.
- Variable names containing letters, numbers, spaces, underscores, and hyphens.
- Headings using
#. - Comments using
//. - Inline comments after an expression.
- Separators using
---,***, or___. - Line references using
@followed by a line number. - Automatic section summaries.
- Explicit
total,subtotal, andsumlines. - Linked editor and results scrolling on Mac.
- Syntax highlighting for numbers, operators, currency symbols, variables, comments, headings, and total results.
Arithmetic and functions
- Addition, subtraction, multiplication, division, powers, modulo, and remainder.
- Parentheses and standard order of operations.
- Natural-language operators including plus, minus, times, multiplied by, divided by, and to the power of.
- The constants
piandπ. - Abbreviated numbers using
k,m, andb. - Functions:
sqrt,cbrt,sin,cos,tan,exp,ln,log2,log,log10,abs, andfact. - Aggregate expressions for totals, sums, averages, means, counts, and medians.
- Boolean values and comparisons using
==,!=,>,<,>=, and<=. - Conditional expressions and conditional statements.
- Percentages, percentage increases and decreases, percentage-of expressions, and fraction/percentage conversions.
- Number-base literals for hexadecimal, binary, and octal values.
- Conversions between decimal, hexadecimal, binary, octal, and arbitrary bases.
- Rounding to decimal places or digits, rounding up or down, and rounding to tens, hundreds, thousands, and millions.
Units and conversions
- Arithmetic with compatible units.
- Conversion using
in,to, arrows, or greater-than signs. - Length, area, volume, time, mass, speed, angle, frequency, power, energy, digital-storage, data-rate, and temperature units.
- Metric and imperial units.
- Byte, bit, and binary-prefix units.
- Temperature conversion between Celsius and Fahrenheit.
- Pixel, point, and em units.
Finance calculations
- Annual return and return-on-investment calculations.
- Present value calculations.
- Compound interest with monthly, quarterly, yearly, or annual compounding.
- Loan repayment and interest calculations using principal, rate, and term.
Dates, time, and calendars
today,now,tomorrow, andyesterday.- Dates in multiple common formats.
- Weekday expressions such as next, previous, and current weekdays.
- Date arithmetic using years, months, weeks, and days.
- Date ranges and the number of days between dates.
- Workday calculations that exclude weekends and supported public holidays.
- Named holidays including New Year’s Day, New Year’s Eve, Valentine’s Day, Easter, Memorial Day, Independence Day, Labor Day, Halloween, Thanksgiving, Christmas, and Boxing Day.
- Time arithmetic using hours, minutes, and seconds.
- Time differences and durations.
- Time in a location and date in a location.
- Time-zone conversion and time-zone differences.
- Video timecodes, frames, and frame-rate calculations using
fps. - Time-span conversion and arithmetic for seconds, minutes, hours, days, and weeks.
- Lap-time calculations and formatted durations.
Special calculations
- Decimal-per-day calculations.
- Half of a value.
- Midpoints between two values.
- Random numbers between two values.
- Greatest common divisor and least common multiple calculations.
Formatting and display
- Decimal results with fractional-digit formatting.
- Currency symbols including
$,€,£,¥, and₹. - Percentage and multiplier result formats.
- Base-prefix result formats.
- Calendar and time-zone-aware date and time output.
- Error output for unsupported or invalid expressions.
Appearance and preferences
- System, light, and dark appearance modes.
- Font families: SF Pro, Avenir Next, Helvetica Neue, Menlo, Monaco, and Georgia.
- Adjustable text size from 12 to 18 points.
- Preset themes: Midnight Bloom, Deep Slate, Pastel Comfort, Neon Retro, and Arctic Frost.
- Custom syntax colors for light and dark appearances.
- Reset controls for text appearance.
- Local preferences for appearance and font settings.
- Syncable preferences for syntax theme, custom syntax colors, sorting, and display settings.
iCloud and sharing
- Optional iCloud sync for sheets, folder groups, selection, and syncable preferences.
- Sync status, account availability, last-sync information, snapshot size, and error state.
- Manual Sync Now action.
- Export sheets as Markdown, PDF, or PNG/image.
- Share sheets through Mail and Messages.
- Native iOS share-sheet fallback.
- Mac x-callback URL support for opening sheets and deep links.
Getting Started
- Built-in Getting Started screen.
- Examples for arithmetic, assignments, percentages, functions, unit conversions, dates, and comments.
- Copyable examples.
- Mac shortcut to open Getting Started with Command-Question Mark.