Skip to content

jaanus/NSProgressExampleObjc

Repository files navigation

NSProgress example

This project shows how to use NSProgress in a Cocoa/AppKit context, where you may have multiple things in progress, and want to coalesce them into a single master progress feedback UI through creating a tree of NSProgress objects.

Features shown:

  • Creating parent/child NSProgress objects with an implicit parent established through [NSProgress becomeCurrentWithPendingUnitCount:]
  • Running code on relevant progress completion in both the children and parents
  • Propagating cancellation from parent to children

Read the blog post about this.

About

How to work with NSProgress in a Mac app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published