File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8080//
8181// We can conditionally store the unwrapped value to a stored value if the optional holds a value.
8282//
83- // In the foloowing block, we'll optionally bind the Int value to a constant named 'intValue'
83+ // In the following block, we'll optionally bind the Int value to a constant named 'intValue'
8484if let intValue = optionalConvertedNumber
8585{
8686 // No need to use the "!" suffix as intValue is not optional
8787 intValue
8888
8989 // In fact, since 'intValue' is an Int (not an Int?) we can't use the force-unwrap. This line
90- // of code wont' compile:
90+ // of code won't compile:
9191 // intValue!
9292}
9393else
Original file line number Diff line number Diff line change 33 version = " 3.0" >
44 <TimelineItems >
55 <LoggerValueHistoryTimelineItem
6- documentLocation = " #CharacterRangeLen=0& CharacterRangeLoc=6821& EndingColumnNumber=5& EndingLineNumber=2& StartingColumnNumber=4& StartingLineNumber=2& Timestamp=424672367.449789 " >
6+ documentLocation = " #CharacterRangeLen=0& CharacterRangeLoc=6821& EndingColumnNumber=5& EndingLineNumber=2& StartingColumnNumber=4& StartingLineNumber=2& Timestamp=428937322.498252 " >
77 </LoggerValueHistoryTimelineItem >
88 </TimelineItems >
99</Timeline >
You can’t perform that action at this time.
0 commit comments