<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><div class=""><div class=""></div><div class=""><br class=""></div><div class="">One puzzle .. when I was working on output #6, The for loop in Swift seems very stripped down vs C, and the only problem I found was when I wanted it to iterate from high to low during the ‘bit adding process’ .. apparently that’s uncommon in Swift. I was able to get the job done by building an array of ’loopValue’ seeds and iterating through that array to give me the 1 and 0 in the right order. I might not have found the right way to do this .. someone correct me if you can find a better way :)</div><div class=""><br class=""></div><div class="">I’ll paste my swift code in here, as well as attach my Swift Playground file which anyone can open, provided you have Xcode on your Mac. These Playgrounds are pretty slick .. they have 2 columns, one for code, where I’ve done all of this, then another on the right where they explain the number of times through a loop, variables get written out etc. there’s also a command-line output you can pop up at the bottom. The cool thing is when you edit the file, Xcode more or less updates the right column in real-time and you don’t have to manually compile and run your code .. seems pretty cool.</div><div class=""><br class=""></div><div class="">Anyhow, cheers to all .. 32C here and (even though I can’t get out to enjoy it until Saturday morning) some sunshine made its way through the rainy-season weather we’ve had here this last couple of weeks.</div><div class=""><br class=""></div><div class="">Dave</div><div class=""><br class=""></div><div class=""></div></div></body></html>