<div dir="ltr"><div><div><div>This is really great! Playgrounds are so awesome.<br><br>(Quick tip: When you open the playground you want to do Editor -> Show Rendered Markup. Now it looks like a wiki page with working code!)<br><br></div><div>I like simple toy examples. Simple means that you can focus on the explained feature. And not trying to understand a contrived example.<br><br></div><div>This is great way to share Swift knowledge. I'm going to pick a random new Swift 2.0 item and create one too :-)<br><br></div><div>Is the playground always executed as a whole, or can you put individual independent pieces of code in one document?<br></div></div></div><div><br></div> S.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 4, 2015 at 10:16 AM, Emily Toop <span dir="ltr"><<a href="mailto:etoop@mozilla.com" target="_blank">etoop@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>I've created a Swift Playground to explore knowledge sharing around Error Handling and the Defer keyword. I'd appreciate it if people could take a look and let me know what they think. <br><br></div><div>I thought a playground would be a good way of doing things as they are interactive and people can then play with the examples in situ.<br></div><div><br></div>Things I am interesting in finding out are:<br><br></div>1. Is this a good way to share knowledge about things within the team?<br></div>2. How is the layout - does it make sense from a flow perspective wrt what I am trying to share?<br></div>3. Are my examples too toy to be of real use here or should I have come up with more concrete examples relating to our existing codebase?<br></div>4. Did I do a good job explaining stuff?<br><br></div>You can find the playground here:<br><br><a href="https://github.com/mozilla/firefox-ios/tree/fluffyemily/Swift-2-Error-Handling-Playground/docs/Swift2ErrorHandling.playground" target="_blank">https://github.com/mozilla/firefox-ios/tree/fluffyemily/Swift-2-Error-Handling-Playground/docs/Swift2ErrorHandling.playground</a><br><br><br></div>
<br>_______________________________________________<br>
mobile-firefox-dev mailing list<br>
<a href="mailto:mobile-firefox-dev@mozilla.org">mobile-firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/mobile-firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/mobile-firefox-dev</a><br>
<br></blockquote></div><br></div>