WWDC Day 2: Started From The .EndOfTheLine
- sdhingra89
- Jun 10, 2015
- 2 min read

You already know this.
On day 1 of WWDC Drake endorsed Apple Music.
Lets just say.
The front 2 rows gave a standing ovation.
The front 2 rows primariliy consisted of Bloggers.
The rest of the rows barely clapped.
....Need I say more?
Onto other more important things.
PICTURE THIS: Your in line for Chicken and Rice on 53rd and 6th around 1 AM on a Saturday night.
Well, that line your thinking of is exactly what you experience for almost ALL sessions at WWDC (at least so far).
My summary of a few of the Day 2 sessions.
1. Whats New in Xcode 7: Optimize, optimize, optimize!
App Slicing
On Demand Resources
Bitcode
Apple has made it clear and simple. Only load resources that the user needs based on the device. The techniques above will help you achieve exactly that. Optimiziation achieved!
Playgrounds : Pages
Cool new feature. I wasn't mind blown, though.
2. WatchOS 2
WE CAN ACCESS THE SENSORS!!!! THE WATCH CAN CONNECT TO WIFI.... LATENCY BEGONE!
watchOS 2 is exciting. Here's a quick list of what I think is most exciting.
Architecture
The extension lives on watch. Thank you.
UI is stored in Watch app
Resources are part of watch app and must be specified at design time. can only be modified minorly at runtime
Code updates UI from extension
Mange UI with outlets and actions BUT more setters are available to you
New Watch Simulator!
Simulate touch pressure
Clock faces for complication support
Lifecycle and WatchKit layout.​
No major differences between watchOS 1 and 2 here
WatchConnectivity framework
THANK YOU
Now, this is big
I will write a separate post on the details. Be patient. Its coming!!
3. Whats new in Cocoa Touch
Most impressive addition here: StackViews and Layout Guides​
This wil also be explained in depth in a future post
That's not all.
Unfortunately, I didn't have time to attend all sessions on Day 2.
Swift 2.0 is great and I highly recommend watching the "Improving Your Apps with Swift" and "Swift and Objective C Interoperability" sessions. They are insightful.
You'll hear a lot of this when it comes to Swift:
"So you can write it this way:
let reversed = sorted(names, { (s1: String, s2: String) -> Bool in return s1 > s2 } )
Or this way:
let reversed = sorted(names, { s1, s2 in return s1 > s2 } )
Or this way:
let reversed = sorted(names, { s1, s2 in return s1 > s2 } )
Or this way:
reversed = sorted(names, >)​ "
AHEM. CAN WE SAY PARADOX OF CHOICE ANYONE??
Off to Day 3.
Cheers.
P.S: That Chicken and Rice line reference I made above also applies to the Men's restroom. However, it does not apply to the ladies restroom. Wooooohoooo!