WWDC 2023: The Pregame Quiz
This post is brought to you by Emerge Tools, the best way to build on mobile.
No sleep til’ dub dub! Our favorite conference is here, which means that the ninth annual edition of the Swiftjective-C W.W.D.C. Pregame Quiz is ready to go! If you want to test your skills first with the quiz backlog, here are the previous trivia posts from:
import xrOS
import QuizKit
Text("Let's get started!")
.showAsFloatingARTextViewThingy()
Ground Rules
There are three rounds, and the point break down is as follows:
- Round 1 – 1 point each answer
- Round 2 - 2 points each answer
- Round 3 - 3 points each answer
The last question of each round is an optional wildcard question. Get it right, and your team gets 4 points, but miss it and the team will be deducted 2 points.
Round 1 - Symbolic Questions
Question 1:
SF Symbols are based off of Apple’s San Francisco font, Cupertino’s first new typeface in ~20 years which debuted alongside the Apple Watch. Which version of iOS was the first to use it?
A) iOS 7
B) iOS 8
C) iOS 9
D) iOS 10
Question 2:
As of iOS 16 and SF Symbols 4, which of these glyphs don’t exist in the set?
A) eraser.fill
B) fan.ceiling.fill
C) window.casement
D) dehumidifier.fill
Question 3:
SF Symbols have varying rendering styles that you can apply to them. Which of these isn’t an official rendering style?
A) Palette
B) Monochrome
C) Automatic
D) Multihue
Question 4:
Let’s talk raw numbers! AS of SF Symbols 4, the catalog has grown to over how many symbols on offer?
A) 3,400
B) 4,400
C) 5,400
D) 2,400
Wildcard:
The set contains reserved symbols, which are glyphs that can only be used to represent Apple’s given service or device. For example, shared.with.you.slash
is exclusively used to represent the “Share with You” framework. Which of the following glyphs is not a reserved symbol?
A) arrow.counterclockwise.icloud
B) ipad.rear.camera
C) platter.bottom.applewatch.case
D) xserve
Round 2 - iOS Interface History Lessons
Question 1:
When Craig Federighi first unveiled SwiftUI during the W.W.D.C. 2019 Keynote, he first showed a tableview built in UIKit, and then the same thing in SwiftUI. Which of the following was the exact code sample he used?
A)
struct ContentView: View {
@State var model = Themes. listModel
var body: some View {
List(model.items, action: model.selectItem) { item in
Image(item.image)
VStack(alignment:.leading) {
Text(item.title)
Text(item.subtitle).color(.gray)
}
}
}
}
B)
struct ContentView: View {
@State var model = Themes. listModel
var body: some View {
List(model.items, action: model.selectItem) { item in
HStack {
Image(item.image)
VStack(alignment:.leading) {
Text(item.title)
Text(item.subtitle).color(.gray)
}
}
}
}
}
C)
struct ContentView: View {
@State var model = Themes. listModel
var body: some View {
ForEach(model.items) { item in
HStack {
Image(item.image)
VStack(alignment:.leading) {
Text(item.title)
Text(item.subtitle).color(.gray)
}
}
.onTapGesture {
model.selectItem()
}
}
}
}
D)
struct ContentView: View {
@State var model = Themes. listModel
var body: some View {
ForEach(model.items) { item in
Button {
model.selectItem()
}, label: {
Image(item.image)
VStack(alignment:.leading) {
Text(item.title)
Text(item.subtitle).color(.gray)
}
}
}
}
}
Question 2:
Let’s chat AppKit. Today AppKit (and Foundation) are core pieces of Cocoa. But, that’s not where its life started. It first served as the interface framework for NeXTSTEP. Which of the following operating systems did it not support?
A) MS-DOS
B) Windows NT
C) Solaris
D) UN*X
Question 3:
Good ol’ UITableView
! The powerful control for displaying lists of data has been around since iPhoneOS 2. Which of the top-level protocols does UITableView
conform to?
A) NSCoding
, UITableViewDatasource
and UISpringLoadedInteractionSupporting
B) NSCoding
, UITableViewDatasource
and UIDragSession
C) NSCoding
, UIDataSourceTranslating
and UIDragSession
D) NSCoding
, UIDataSourceTranslating
and UISpringLoadedInteractionSupporting
Question 4:
Now, let’s talk tableview’s big brother — UICollectionView
. Which version of iOS did the control for displaying data in more flexible formats debut?
A) iOS 5
B) iOS 6
C) iOS 7
D) iOS 8
Wildcard:
In what continues to be the greatest travesty to ever grace the iOS platform, 3D Touch was phased out eventually. Along with it - its API deprecated. Which of the following APIs is the only one which is not deprecated?
A) UIAccelerometerDelegate
B) UIViewControllerPreviewing
C) UILocalNotification
D) UIStatusBarAnimation
Round 3 - Early iPhone Days
Question 1:
The original iPhone actually never received iOS, instead it lived its life on iPhoneOS. What was the last version it received?
A) iPhone OS 3.1.3
B) iPhone OS 1.1.3
C) iPhone OS 2.1.3
D) iPhone OS 4.1.3
Question 2:
Basically all cell phone carriers are the worst. But alas, one was chosen to initially support iPhone in the United States. Which service provider was it?
A) Alltel
B) Verizon
C) AT&T
D) Sprint
Question 3:
[Redacted] were not initially released with the iPhone, but instead were held off until they were perfected for the form factor. Which one of the following were not supported until iPhoneOS 3.0?
A) Printing
B) Cut, copy and paste
C) SMS Image Support
D) Video Editing
Question 4:
A prominent technology company claimed that the iPhone’s design was stolen from them, based on a model they produced in 2006. Which company was it?
A) Samsung
B) L.G.
C) Google
D) Nokia
Wildcard:
Storage comes pretty plentiful these days, but for the original iPhone - what were the original storage sizes on offer?
A) 4GB and 8GB
B) 6GB and 8GB
C) 8GB and 10GB
D) 4GB and 6GB
Answer Key
Round 1:
- C (iOS 9)
- A - there is no eraser, come on!
- D - there is multicolor, no multihue though.
- B - 4,400!
- Wildcard: B! Apparently, it’s all good to represent the rear iPad camera however you want.
Round 2:
- A - note some of the early concepts of SwiftUI that were not persisted, such as
action
within theList
. - A - As far as my research shows, all of the others were explicitly supported.
- D. Springloading allows for an arbitrary
UIControl
to allow for drops to occur when hovering over them for a few seconds. - B, it was iOS 6.
- Wildcard: D, literally all of those are toast aside from that.
Round 3:
- B - A! That was the last of it, as iPhoneOS 3.2 was meant to kickoff another Apple device, the iPad.
- A - C. Formerly known as Cingular, it was an 18-month negotiation before it got done.
- C - B. It took a bit, but the tent pole editing features finally landed in iPhoneOS 3.0.
- D - B - The LG Prada.
- Wildcard: A, so, you know, don’t take any photos in RAW.