title: Writing a flood-fill method in Swift
body: <p>In order to write a flood-fill method of mine in Swift, I am trying as a first step to compile the code I found here:
  <a href="https://stackoverflow.com/questions/30580688/ios-swift-flood-fill-algorithm">iOS Swift Flood fill algorithm</a>
  So that I can see how it works.
  But I get errors.</p>
  
  <p>The first one being: Value of type 'UIImage' has no member 'createARGBBitmapContext' Since I have no experience with extensions I may well be doing something wrong.</p>
  
  <p>Any suggestions?</p>