/FunPlayGround

Swift Fun Playground

Primary LanguageSwift

FunPlayGround

I upgraded them to Xcode 10 on swift 5 and seperated into iOS and MacOS platform

Data Structure and Algorithms

  1. Anagrams

  2. LinkedList

  3. TripleSum

  4. SherlockString

Image Processing

  1. NSImage Resized by GraphicContext and NSBitmapImageRep

  2. Unit Test the resize function created in Swift-macOS-image-resize.playground. Easily get the measure report to show that the #2 draw method is faster than #1 -- very useful test feature !

JSON Decoder

  1. A simple example of decoding the format of contents.json for the AppIcon of Assets.xcassets