Swift Playgrounds Makes Learning to Code Fun

2 years ago
Swift Playgrounds Makes Learning to Code Fun Image

Apple introduced Swift Playgrounds, an app designed to teach the Swift programming language, at WWDC 2016. We’ve had a chance to experiment with it since then, and can say without reservation that their first foray into teaching kids how to code deserves top marks. They have enabled learning to code to be fun and addictive, even for those who aren’t the “coding type.”
The app feels like a puzzle-solving game, reeling you into the challenge while introducing coding concepts and building skills step-by-step. After completing a challenge and receiving encouraging praise from the app, we found we were motivated and eager to move on to the next one. One tester expected to finish two or three challenges to get a feel for the app, but ended up finishing over fifteen lessons because she was so engaged with it. The pace, lesson structure, and challenges all prove to be well-designed from an instructional standpoint. This app will likely teach many future programmers how to code.

Swift Playgrounds: Learn to Code 1

Swift Playgrounds contains two learning paths. Learn to Code 1: Fundamentals of Swift is the only path available now, while Learn to Code 2: Beyond the Basics will be available soon. More are expected both from Apple and third parties in the future. Learn to Code 1 is divided into twelve chapters, each with six to ten lessons. (The number of lessons alone is impressive!)
Each chapter starts with a few screens to introduce the topic and relate it to something in the real world. For example, the app compares coding a “while” loop to hammering a nail. “While you’re hammering a nail, you can’t just hit it a certain number of times and expect it to go all the way in. Instead, you continue hitting the nail while the nail is still sticking out.” “For” loops are introduced as “repeating yourself” like when you’re planting seeds in a garden…make a hole, place the seed, move 5 inches forward. These brief explanations before getting into the semantics of the code help to get your mind in the right place before diving in.
After the introduction, you jump into the “playground” part. You’re presented with an area to write code on the left of the screen and a character named Byte on the right. Your code instructs Byte to move around his world, collect gems, and toggle switches on and off. Byte’s world is nicely designed with engaging colors and allows you to swipe to spin it around or pinch to zoom in for different views.
Some code is pre-populated and you easily add to it by typing or tapping commands in the tray below. Adding code in this way instead of straight typing is efficient. As Apple states, “With QuickType for code, the Shortcut Bar intelligently displays commands as you go, so you can write a line of code with a tap or two. And for those moments when typing is the best option, there’s an innovative keyboard designed just for coding. Touch a key to access multiple characters, then drag to choose the one you want.”
Swift Playgrounds Screen Shot
Each lesson provides either a goal or a challenge to complete that involves moving Byte around and collecting gems in an efficient way. The app encourages you when you get it right and motivates you to keep moving on to the next level, like every good puzzle game should. Hints are provided for each topic, and the general Help menu is actually helpful. If you do get stuck, you are able to move on to the next lesson if you want, without completing a challenge.

Swift Playgrounds: A Few Challenges

Those who are not visual-spatial learners might find Learn to Code 1 in Swift Playgrounds a bit more challenging. To solve a puzzle, you need to determine where Byte was, where he needs to go, and how to get there. This task involves moving his habitat around and counting squares to determine his location. This isn’t as easy to visualize for some, but needed to figure out his space. Apple offers a few other challenges in Swift Playgrounds outside of Byte’s world, that are not visual-spatial: Drawing Sounds and Blink. They require a more advanced grasp of the coding concepts, but we imagine tackling these challenges will enable those with limited visual-spatial competence to focus more on the code.
Another challenge that we came across was getting “lost” in the code. As Byte performed the actions on the right of the screen, we wished the line of code on the left would highlight as he performed it. For “while” loops and “for” loops especially, we sometimes lost track of where Byte was in the code. An indicator would be helpful.

Overall Impression of Swift Playgrounds

Apple designed the Swift language to be easy to use and as an improvement to Objective-C, its primary programming language before Swift. We believe it to be a definite improvement over Objective-C, and our developers use it almost exclusively to develop for iOS, macOS, tvOS, and watchOS apps for our clients. Swift Playgrounds was designed to be an engaging way to teach the Swift language, and we think Apple succeeded there too.
The number of lessons available, the way each builds on the last, the appealing interface, and deserved praise when you complete a goal successfully make it an engaging and fun way to learn. Further, the code you develop in your playground can be exported and shared for use in real apps, outside of the Playgrounds environment. Compared to the dry programming books we’ve read in the past, Swift Playgrounds is a far superior method of instruction.
Swift Playgrounds is a free iPad app, currently available only when running the public beta of iOS 10, but will be available publicly when iOS 10 launches in the fall.
If you like hearing about new products like this, consider subscribing to our InspiringApps newsletter. Once a month we’ll send you the latest on mobile trends, technologies, and innovations.

Build a product that will delight your users & help your business thrive

We partner with inspired companies to create digital products that delight our clients’ customers and improve business outcomes. We work with our clients to bring their ideas and dreams to fruition. And, our development process is guaranteed to get you to the finish line.
Recent Posts

Mobile Industry

5 Colorado Nonprofits Using Mobile Apps To Further Causes

Our world as we know it is constantly bombarded with stimuli. It’s difficult to discern the meaningful from the mundane. With so many apps on the market, we took a closer look to find you the best Colorado nonprofit initiatives. These apps highlight innovative social change merging with evolving technology trends. At InspiringApps, we’re deeply committed to making a difference. It’s not simply a concept. Inspiration is infused in every app we create, in every interaction we encounter, and through the causes we’re committed to: Environmental Justice & Sustainability Science, Technology, Engineering, & Math (STEM) Diversity & Inclusion Mental Health Support for First Responders & Frontline Workers Health & Wellness Education Our company was founded in 2007 in the foothills of Boulder, Colorado—where our passion for developing apps has evolved, and our commitment to inspiring our clients is our ongoing inspiration. This article will share our five favorite Colorado nonprofits making big waves in the nonprofit sector. Apps for Environmental Change 1. Take-a-Hike App Being intentional about how you interact with the environment can make all the difference in your local community. Take-a-Hike app is an audio-guided hiking app that guides you through nature trails in Boulder, Colorado. Not only does Take-a-Hike guide you through tumultuous hiking terrain, but this mobile app also gives you guidance on preserving and supporting the wetlands, forests, and mountains while enjoying the beauty of Colorado’s outdoors.  InspiringApps is honored to partner with the Boulder Watershed Collective and aid in their vital cause of watershed restoration.  You can download Take-a-Hike on the App Store and on Google Play. 2. Eco-Cycle App Technology that fosters sustainability makes for a cleaner, healthier planet. Boulder County has released an app to help educate the community about which materials can be recycled. The app helps identify whether an item is recyclable, compostable, or reusable and where to deposit the item. You can download the Eco-Cycle app on the App Store and on Google Play. Apps for First Responders & Front-Line Workers  3. ThoughtFarmer Access to knowledge and resources empowers and unites employees. Frontline workers are the backbone of modern civilization, and yet, they often lack educational resources and remain uninformed about important company news. According to Tribe, 83% of frontline workers don’t have an email address. Roaring Fork Transportation Authority (RFTA), a public transit agency in Roaring Fork Valley, Colorado, found an innovative solution to equip and empower their workers: ThoughtFarmer. ThoughtFarmer is an app that provides RFTA with an intranet to engage employees and equip them with invaluable resources for their job. You can download ThoughtFarmer on the App Store and on Google Play. 4. Smart911 Plan ahead so that the police and first responders can get to you quickly in an emergency. Smart911 helps you do just that—plan smart. You can create a free safety profile for your household to give the police important information you want 911 and first responders to have in the case of an emergency.  Boulder County created this initiative to provide emergency responders with vital information so that they can help you in the best way possible.  From mental health considerations to an aggressive pet, Smart911 allows you to save time and be proactive about your safety. You can download the free Smart911 on the App Store and on Google Play. Apps for Humanitarian Aid  5. FlexRide App The amount of pain and loss the Colorado fires have inflicted is unparalleled. The FlexRide app brings assistance to those who need it most.   Wildfires have wreaked havoc across Colorado. In 2021, many locals lost their homes to the fires. The Regional Transportation District (RTD) provided rides free of charge to any Marshall Fire victims, which can be accessed through the FlexRide app. FlexRide is a curb-to-curb service for Broomfield residents and visitors. FlexRide helps transport you throughout the neighborhood or connect you with other RTD transportation services. You can download the FlexRide app on the App Store and on Google Play. Concluding Thoughts There you have it; those are our top picks for Colorado nonprofit innovation and inspiration. We hope you enjoyed diving into the ever-so-evolving world of nonprofit + technology. Our team constantly evaluates the latest apps and trends to uncover the best ones.  Going mobile takes a nonprofit’s mission and makes it accessible to all. At InspiringApps, we craft inspiring custom software solutions that impact our clients, communities, and businesses.

1 year ago

Mobile Industry

Apps that Support Well-Being Amid COVID-19

The COVID-19 outbreak has resulted in tremendous societal change in a relatively short period of time. As the global pandemic continues to impact our lives, our approach to taking care of ourselves and others likely needs to be modified as well. Our team is committed to creating apps that generate novel solutions and enhance daily life. Below are some of our favorite apps that support well-being amid COVID-19. Whether you’re motivated to improve your health, express yourself creatively, or start a new hobby, we hope the diverse collection of apps below will support you in making the most of a new normal.   Physical and Emotional Health monkii Not surprisingly, the CDC has designated regular exercise as a step individuals should take to protect their health during the coronavirus outbreak. Yet, barriers such as gym closures, limitations on recreational group activities, and reliance on home workout videos that aren’t always engaging can make it difficult to stick to a workout routine. The fitness tool monkii offers a solution to many present-day obstacles to physical activity. The personal training app is designed to help people improve their strength, balance, and cardiovascular health through use of a set of versatile resistance training products. With hundreds of workouts that can be followed indoors or outside as well as an emphasis on fun, natural movement, the app helps users develop an agility that’s, well, monkii-like. Users can access hundreds of free workouts to get a feel for the app’s ingenuity. Kickstarter backers get access to an additional collection of multi-day programs. Empath As individuals balance observance of quarantine guidelines with the need to stay connected, social media use is on the rise. A recent study of 25,000 consumers across 30 markets found that social media use increased by 61% in light of the pandemic. Yet, because personal profiles tend to be more closely aligned with a highlight reel than authentic representation, social media apps don’t always provide the sense of connectedness users crave. The app Empath is a tool for sharing true feelings and receiving validation of one’s real emotions from others. Individuals can create a post about a specific feeling (such as calm, excited, or scared) as well as thoughts associated with the feeling. The post is then anonymously published. Other users can empathize with a post, at which point the person who authored the original post has the option to disclose their identity and connect with the supportive user in their network. Empath may be particularly helpful at a time when connection has changed because it provides a space for honesty and keeps potentially inaccurate views of existing networks in check. Tap In The many health benefits associated with meditation are becoming increasingly well-recognized. Fortunately technology can support our efforts to develop a regular practice. Unlike most contemplative products on the market, the app Tap In lets users connect to a live, daily meditation session. Users simply “tap in” to an event a few minutes before its scheduled start. The real-time component of the app gives instructors the ability to guide users in reflecting on current issues, such as life in quarantine. The app also supports users’ sense of community by showing how many other meditators are participating in a session.   Creativity Artifact Uprising Whether it’s the result of additional free time, boredom, space for self-reflection, or some combination of the three, a surge in creativity can be an unexpected upside to life in quarantine. Fortunately there are many apps designed to help individuals reap the benefits of creative expression even if the inclination doesn’t come naturally. Artifact Uprising is an award-winning platform that allows individuals to create beautiful photographic art in minutes. Have you been meaning to organize mementos from your last vacation? Artifact Uprising lets you capture the story of your experience in a stunning photobook. Would you like to feature sophisticated art in your video conferencing frame during your next Zoom call? The app provides the tools to design the perfect wooden photo ledge. For an additional mental health benefit, create an Artifact Uprising project for others. The app helps users produce custom photo cards that can be sent to healthcare workers or anyone in need of a little more support. Tayasui Sketches If you’re interested in drawing, the sophisticated yet intuitive design of the digital sketchbook app Tayasui Sketches meets the needs of both experienced and beginner artists. The app features a range of drawing tools, layers, and gradients as well as simple iCloud backup. Users can find inspiration and connection by participating in the app’s impressive community of artists. Brainsparker The app Brainsparker helps users to think more creatively in general. Users shuffle a deck of cards containing inspirational prompts (for example, “redefine the boundaries” and “look outside your field”) and images (such as a bumble bee or a peacock) and are encouraged to reflect on the prompt in the context of a personal block. Niche card packs are available for purchase and include the dialogue pack for conversations, the coach’s pack, and even the blogger’s pack. The app can also be used with Zoom to initiate an icebreaker or encourage creative thinking at your next meeting.   Hobbies ēdn If you’ve been meaning to make the most of stay-at-home orders by taking up a new hobby, the health-promoting practice of gardening is an ideal place to start. However, those who don’t think they have a green thumb may be too intimidated to get started. ēdn SmallGarden is an Internet of Things (IoT) device that makes indoor gardens easy to cultivate. Users can control light schedules, water levels, and plant food release from an app synced to a smart garden device to facilitate optimal plant growth. An additional quarantine-conscious benefit is that a single garden can be monitored by more than one user, giving individuals the chance to connect over gardening successes. Song Sleuth Birding by ear can be enjoyed while sticking to social distancing rules and the app SongSleuth makes it possible for users to participate in the activity without being particularly knowledgeable about feathered wildlife. The app recognizes over 200 species of birds in North America based on their songs. Intermediate birders can test their knowledge by changing the app’s functionality to only provide hints. Users can save and revisit the amusement of their newfound hobby by building a collection of recordings within the app. Anchor The coronavirus outbreak has impacted many aspects of the entertainment industry and podcasting is no exception. Yet, a unique protection of the medium is its capacity to be easily produced from home. Anchor is a podcasting how-to app with a stated mission to “democratize audio.” New podcasters can record, edit, and publish their work. Features such as simple data analytics and sponsorship matching allow users to take their projects to the next level. These apps could be really beneficial for some people during this lockdown. However, there are always other applications out there and websites that could also be useful. For example, some people might like to keep themselves busy by using an online casino website. That could help some people to have some fun and potentially earn some money. By visiting www.best-casino.net, people can find a safe online casino and can start making their lockdown more enjoyable. Make sure to find some applications and websites to occupy you. Perhaps now more than ever it is important to create digital products that support and delight users on a daily basis. At InspiringApps, we stay motivated during challenging times through our shared quality of being #InspiredWhereWeAre. Reach out to us today to learn more about how our team can help turn your original app idea into a reality.

4 years ago

Blog Categories
App Marketing
Business & Strategy
Client Projects
Culture & Innovation
Digital Product Design
Digital Product Development
Digital Products
Events
InspiringApps News
Mobile Industry
Technology
Webinars