Tags > swift

Sharing code in multi-target swift package

17 Aug 2022 - development, swift

How to make a SPM project that contains multiple executables using shared code, without adding another project.

Read more...


Processing geospatial data at render time on GPUs using Shaders

24 Jul 2022 - 4C, geospatial, geotiff, gpu, metal, shaders, swift

Taking the batch processing I was doing with geospatial data in the last post and instead doing the same visualisation in real time on the GPU using shaders.

Read more...


Failure strategies vs Swift optionals

15 Jun 2018 - development, swift

How I disapproved of forced unwrapping optionals in Swift in general, but have made my peace with the existence of the operator in practice.

Read more...


Encoding and decoding polymorphic objects in Swift

29 May 2018 - development, swift

Some notes on trying to keep the flexibile approach to data-structures within the safety net of a type-strict language like Swift.

Read more...


Digital Flapjack Ltd, UK Company 06788544