NSHipster Quiz #1
On April 9th, the first-ever NSHipster Pub Quiz was held in Berlin. Think of your traditional pub quiz crossed with “Stump the Experts”, with questions about things that you know and care about: computers, programming, Apple trivia—that sort of thing. The event was hosted by UIKonf, and made possible by its organizers Chris Eidhof, Matt Patterson, and Peter Bihr. Thanks again to Chris, Matt, and Peter, and everyone who came out to make it such an amazing event.
All told, a whopping 50-some folks came out, composing a dozen or so teams of up to 6 people, with names such as “NSBeep”, “alloc] win_it]”, & “- Bug Fixes / - Performance Improvements”. At the end of the evening, it was the CodeKollectiv team that claimed top prize, with a score of 30pts.
Here are the rules to play along at home:
- There are 4 Rounds, with 10 questions each
- Record answers on a separate sheet of paper
- Each correct answer to a question gets you 1 point
- Play with up to 5 friends for maximum enjoyment
- Don’t be lame and look things up on the internet or in Xcode
Round 1: General Knowledge
- What does
NS
stand for? - When Steve Jobs introduced the iPhone, he made a prank call to Starbucks. How many lattés did he order to-go? a. 3000 b. 4000 c. 6000
- NSOperation has 4 properties used as keypaths for operation object states. What are they?
- On your answer sheet, draw a
UITable
withView Cell UITable
.View Cell Style Value2 - Which UIKit protocol contains the method
–table
?View:height For Row At Index Path: - What is the storage type of
BOOL
? (i.e.typedef
equivalent) - When was the Unix Epoch? Hint: NSDate has an initializer referencing this.
- What is the current version of Xcode?
- What was the first article written on NSHipster?
- How many apps were on on the home screen of the first iPhone?
Round 2: APIs
You will be given the name of the class, and the description of the property or method from the documentation. You need to tell me the name of that method or property.
-
UIView
: “A flag used to determine how a view lays out its content when its bounds change.” -
UIAccessibility
: “A brief description of the result of performing an action on the accessibility element, in a localized string.” -
UIColor
: “Returns a color object whose RGB values are 0.0, 1.0, and 1.0 and whose alpha value is 1.0.” -
UIAlert
: “Sent to the delegate when the user clicks a button on an alert view.”View -
UIButton
: “A Boolean value that determines whether tapping the button causes it to glow.” -
UITable
: “Reloads the specified rows using a certain animation effect.”View -
UITable
: “Tells the data source to return the number of rows in a given section of a table view.”View Data Source -
UIWeb
: “Sets the main page content and base URL.”View -
UIGesture
: “Sent to the receiver when one or more fingers touch down in the associated view.”Recognizer -
UIDictation
: “The most likely textual interpretation of a dictated phrase.”Phrase
Round 3: Picture Round
-
- What is this?
-
- What is this?
-
- What is this?
-
- What is this?
-
- WTF is this?
-
- Who is this?
-
- Who is this?
-
- Who is this?
-
- Who is this?
-
- In this photo, Bill Gates & Steve Jobs are being interviewed at the D5 conference in 2007 by a man and a woman just off-screen to the left. Who are they? (One point for each person)
Round 4: Name That Framework!
For each question, a list of three classes from the same framework have been listed without their two-letter namespace prefix. Name the framework that they all belong to!
- Color List, Matrix, Sound
- Composition, URL Asset, Capture Session
- Enclosure, Author, Feed
- Geocoder, Location, Region
- Merge Policy, Mapping Model, Incremental Store
- Analysis, Summary, Search
- Record, Person, MultiValue
- View, View Controller, Skybox Effect
- Central Manager, Descriptor, Peripheral Delegate
- Filter, Face Feature, Vector
Answers
Round 1: General Knowledge
- NeXTSTEP
- 4000
is
,Ready is
,Executing is
,Finished is
Cancelled - textLabel detailTextLabel
UITable
View Delegate signed char
- Midnight UTC, 1 January 1970
- 4.6.2 (4H1003)
- NSIndexSet
- 16
Round 2: APIs
@content
Mode @accessibility
Hint +cyan
Color -alert
View:clicked Button At Index: @shows
Touch When Highlighted -reload
Rows At Index Paths:with Row Animation: -table
View:number Of Rows In Section: -load
HTMLString:base URL: -touches
Began:with Event: @text
Round 3: Picture Round
- Apple I
- Apple eMac
- Apple Bandai Pippin
- Apple QuickTake
- New Proposed Apple Campus / “Mothership”
- Sir Jonathan “Jony” Ive
- Scott Forstall
- Bob Mansfield
- Susan Kare
- Kara Swisher & Walt Mossberg
Round 4: Name That Framework!
- App Kit
- AV Foundation
- Publication Subscription
- Core Location
- Core Data
- Search Kit
- Address Book
- GLKit
- Core Bluetooth
- Core Image
So how did you fare? Tweet out your score to see how you stack up to your peers!