Home / IOS Development (page 411)

IOS Development

Mirror / CustomReflectable / CustomLeafReflectable

Reflection in Swift is a limited affair, provides read-only access to information about objects. In fact, this functionality can be better described as introspection rather than reflection. But can you really blame them for going with that terminology? "Introspection" is such a flourishing and acoustically unpleasant word compared to "reflection". And how can anyone pass the nominal sludge dunk off …

Read More »

The worst possible application

In this article, I deliberately try to write the worst possible application by breaking the primary application design rule: Keep the model and see separately. The purpose is to try to answer a question clearly: what direct effect does a program design pattern have on code? In an otherwise simple, clean implementation, will a program have obvious errors if I …

Read More »

Swift Tips: Refactoring to Associated Values

We are about to rewrite our Swift Talk backend from Ruby to Swift. Instead of trying to get everything right right away, we usually transfer things by writing Swift code with a very similar structure to the Ruby Code. We make sure everything works as expected, and only then we reflect the code to be more Swift-like. As an example, …

Read More »

How to set up Apple TV 3rd Generation

Do you have the Apple TV 3rd gen? Great! I did that too! But if this is your first Apple TV, you're probably wondering how to set up your Apple TV 3 generation . What is good about having an Apple TV is that the installation is as easy as using it, and in the sections below we tell you …

Read More »

Does @KeyboardMaestro work in Mojave – Erica Sadun

Unfortunately, Apple seems to have broken utilities like Keyboard Maestro in Mojave, and if you rely on macros, it's a very bad thing. I upgraded to Mojave late last week (although it's still not theoretically a GM) and found that although some actions still worked without any problems like app launch by others (especially my universal Emacs key piano equivalents). …

Read More »

QA: Apple lowers older iPhones

<! – of Drops on March 7, 2018 -> Mar 07, 2018 Tara from MacFixIt Australia asked: Do you think Apple deliberately reduced the performance of older iPhones? Sorry, but everyone who follows the story knows what happened and that the question is incorrect. Update April 28: MacFixIt Austria used parts of my comment in a larger post. Apple had …

Read More »

Where servers go

It was a short period when everything had "Flavor Crystals:" chewing gum, deodorant, sports drink, toothpaste, air fresh, anyway. If you had a product, it could be made more convincing with taste crystals. When the term "Cloud" was first created, it merely referred to the idea that computer power on the Internet should be bought and sold as electricity. Gradually, …

Read More »

Widgets get an upgrade with the new macOS

This is a little different than the creative code's exercises that we usually do on The Things in Swift but here goes: All this talk about MacOS had me thinking about what we would look at WWDC this year, and when I read Brent's reminder of the staggering threat of bringing UIKit to Mac, these ideas began to unite in …

Read More »