Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Fixes syntax error in strings used to initialise CGSize instances wit… #6

Merged
merged 1 commit into from
Oct 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -803,10 +803,10 @@ Now, we can write our =enum=, with one downside though: The initial values have

#+BEGIN_SRC swift :noweb-ref cgsizeenum2 :prologue "import Foundation"
enum Devices: CGSize {
case iPhone3GS = "320, 480"
case iPhone5 = "320, 568"
case iPhone6 = "375, 667"
case iPhone6Plus = "414, 736"
case iPhone3GS = "{320, 480}"
case iPhone5 = "{320, 568}"
case iPhone6 = "{375, 667}"
case iPhone6Plus = "{414, 736}"
}
#+END_SRC

Expand Down