Skip to content

Commit

Permalink
递归锁实现
Browse files Browse the repository at this point in the history
  • Loading branch information
huang303513 committed Aug 23, 2015
1 parent 90825ee commit b50588b
Show file tree
Hide file tree
Showing 21 changed files with 981 additions and 2 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
<key>IDESourceControlProjectIdentifier</key>
<string>A2BCB23C-D598-4870-B97A-8D1754B57973</string>
<key>IDESourceControlProjectName</key>
<string>project</string>
<string>基础部分</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>D38D50234B6E808ED66E056F104275915B8744DA</key>
<string>https://github.com/huang303513/disorderedSourceCode.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>swift代码段/基础部分/基础部分.xcodeproj/project.xcworkspace</string>
<string>swift代码段/基础部分/基础部分.xcodeproj</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>D38D50234B6E808ED66E056F104275915B8744DA</key>
Expand Down
Binary file not shown.
7 changes: 7 additions & 0 deletions swift代码段/基础部分/基础部分/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ class ViewController: UIViewController {
let possibleNumber = "123"
let convertedNumber:Int? = possibleNumber.toInt()
println(convertedNumber)
println("=============隐式可选类型=========")
let possibleString:String? = "An optional string."
let forcedString:String = possibleString!
let assumedString:String! = "An implicitly unwrapped."
let implicitString:String = assumedString


}

override func didReceiveMemoryWarning() {
Expand Down
Loading

0 comments on commit b50588b

Please sign in to comment.