O'Reilly logo
  • Scott Pugh thinks this is interesting:

However, as Swift will keep re-executing the code over and over again, the URL will be hit multiple times in a single debugging session without caching. It is recommended that NSData(contentsOfURL:) and similar networking classes be avoided in playgrounds.


Cover of Swift Essentials


Good tip, and helps avoid crashes, errors, inefficient use of time.