Do you need help on a specific subject? Use the contact form (Request a blog entry) on the right hand side.

Swift Design Patterns

This page links to all my blog entries that describe a design pattern in Swift.

"Cache": Use this to implement cached values.

"Singleton": Presents different ways to create singletons.

"Enum Compare": A way to compare two enums that have an associated value.

"Dispatch": Makes it easier to add scripting, undo/redo, macro recording etc to your app.

"Is-Enum": A better way to test for the type of an enum.

"Cancel Defer": A simple way to 'cancel' a defer statement.

No comments:

Post a Comment