In-House Articles
Links In SwiftUI
It is usual for apps to have an option in settings, something like “About Us”, “Terms And Conditions” and others which leads to web page where they show the corresponding page of the company. Otherwise, sometimes clicking on the button leads to another app (using a deep link under-the-hood). This article is about the Link API provided by SwiftUI to handle different kind of links.
Access Control In Swift
Do you know why internal
keyword is rarely used? Do you know why the open
keyword is used in classes and objects in most of the frameworks? This article explains how to make your code more or less accessible by using Swift's variety of access controls.
Dictionaries in Swift
You would be well aware of Array in Swift but what if you want to store a group of pair of objects having certain relationships? Learn about Dictionary data structure in this article, an advanced layer of Array which store pair of objects.
Recommended Articles
URLSession: Common pitfalls with background download & upload tasks
URLSession enables you to download and upload files while the app is in the background. Basic instructions to get it working are often found online, but it’s hard to make it work as expected and debug the flows.
Adjust SwiftUI controls for the Button Shapes accessibility setting
Some iPhone users prefer to see clear edges and borders of buttons, so that they stand out more among regular labels in the UI. They can enable the “Button Shapes” toggle in the Accessibility settings on their device, so that the system can change the appearance of controls to suit the user’s needs.
videofile_: our biggest bet yet
If our vision is to become the “internet computer” of the future, Windows is a pretty important platform. But how we’re building Arc for Windows is….. kinda crazy. And it only has a 60% chance of working. Have a Mac? Download Arc at arc
Jobs
Junior iOS Developer - Unifynd
Location : Remote (India)
Company Description: We want to build beautiful products; by building a collaborative work environment that fosters creativity, promotes innovation and rewards team work. We’re in search of curious, motivated and ambitious people who want to be part of a committed team in a fast-paced, hands-on start up.
SwiftUI Frameworks Internship - Apple
Join the SwiftUI team and empower developers to build better apps with less code. You’ll collaborate with passionate and creative colleagues to meet ambitious goals in an environment that not only encourages, but requires constant curiosity and growth. The work we do together will shape the developer experience on Apple’s platforms and beyond for decades to come!
iOS Developer : Maps UI and Search Features - Apple
As a software engineer working on our team, your primary responsibility is creating and implementing delightful and engaging Search, Guides, and Place-card features that bring to bear not only a user’s location but can also learn from their behaviours and preferences.
Cracking the iOS Interview
When will the applicationWillResignActive() function be called?
When the application is about to become inactive, this function is called. In other words, it is called when the running application goes into an inactive state from an active state. An example would be when a user receives a phone call.
What is an iBeacon and how does it work?
Apple introduced the iBeacon, a Bluetooth Low Energy (BLE) hardware device. It serves as a transmitter for detecting iPhone/iPad/Apple Watches and sending promotional information within range. Data is sent to nearby devices when any device comes within range of the device, which is usually located at one fixed location.
iOS Good Practices
If you’re looking for icons, start with SF Symbols
The symbols can be incorporated into our projects through a library provided by Apple. It has 4000+ symbols in different weights and scales. All the symbols are designed with San Francisco, the system font for Apple platforms. You don’t need to import icons from SF Symbols into your project. Just use this below code to use any icon by giving the symbol name:
In Swift:
let image = UIImage(systemName: "square.and.pencil")
In SwiftUI:
Image(systemName: "square.and.pencil")
You can learn more about SF Symbols implementation by reading this article.
Code Quiz
What is wrong with the above code?
There is an enum called SubscriptionType
as follows:
There is function with has a switch statement to check the subscription value.
Check the line of interest. We are defining a value price
for the switch case but we are not using it. What are the possible ways to get rid of that variable since it is redundant?
Solve the quiz and submit your answer along with your Twitter handle at team@swiftanytime.com