Tag: view

Bug Workaround: Swift Playgrounds for iPad

While doing some work on more material for the site in Swift playgrounds, I ran into a serious bug in the Swift Playgrounds for iPad. I made a short video to tell you’re about it, and I’ve included an extended transcript afterwards. Hello Folks…

Why do we need Delegates in iOS and WatchOS?

About two years ago someone asked me a very good question: Why do we need delegates for UIViewControllers?  He thought Swift  made things easier, but this delegate stuff seems very complicated. Shouldn’t we be able to send a message or initializer between classes? When…

From Apple To Raspberry Pi: An Example of Implementing a Python MVC (Part 1)

I gave a template for MVC in the last post, This time I’m going to use it in the Popper’s Penguins application. We’ll re-organize what we already did with views and controllers to match the template.  We’ll add the model in the next installment…

From Apple to Raspberry Pi: A MVC Template for Tkinter

In this installment I’m going to take a side path from the building of the Popper’s penguins app to clarify something I gave in my last post on Python, Tkinter and Raspberry Pi. In the world of Xcode, both for OS X development and…