Swift

所属分类:其他
开发工具:Swift
文件大小:0KB
下载次数:0
上传日期:2023-11-09 18:43:28
上 传 者sh-1993
说明:  几乎所有的Swift编程语言。
(Almost everything of Swift Programming Language.)

文件列表:
.DS_Store (6148, 2023-11-13)
SwiftBasics.playground/ (0, 2023-11-13)
SwiftBasics.playground/Pages/ (0, 2023-11-13)
SwiftBasics.playground/Pages/Basics.xcplaygroundpage/ (0, 2023-11-13)
SwiftBasics.playground/Pages/Basics.xcplaygroundpage/Contents.swift (5977, 2023-11-13)
SwiftBasics.playground/Pages/ControlFlow.xcplaygroundpage/ (0, 2023-11-13)
SwiftBasics.playground/Pages/ControlFlow.xcplaygroundpage/Contents.swift (17, 2023-11-13)
SwiftBasics.playground/Pages/Functions.xcplaygroundpage/ (0, 2023-11-13)
SwiftBasics.playground/Pages/Functions.xcplaygroundpage/Contents.swift (3060, 2023-11-13)
SwiftBasics.playground/Pages/HelloWorld.xcplaygroundpage/ (0, 2023-11-13)
SwiftBasics.playground/Pages/HelloWorld.xcplaygroundpage/Contents.swift (568, 2023-11-13)
SwiftBasics.playground/Pages/Operators.xcplaygroundpage/ (0, 2023-11-13)
SwiftBasics.playground/Pages/Operators.xcplaygroundpage/Contents.swift (6236, 2023-11-13)
SwiftBasics.playground/Pages/StringsAndCharacters.xcplaygroundpage/ (0, 2023-11-13)
SwiftBasics.playground/Pages/StringsAndCharacters.xcplaygroundpage/Contents.swift (27, 2023-11-13)
SwiftBasics.playground/contents.xcplayground (399, 2023-11-13)
SwiftBasics.playground/playground.xcworkspace/ (0, 2023-11-13)
SwiftBasics.playground/playground.xcworkspace/contents.xcworkspacedata (136, 2023-11-13)
SwiftBasics.playground/playground.xcworkspace/xcshareddata/ (0, 2023-11-13)
SwiftBasics.playground/playground.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (181, 2023-11-13)
SwiftBasics.playground/playground.xcworkspace/xcuserdata/ (0, 2023-11-13)
SwiftBasics.playground/playground.xcworkspace/xcuserdata/lxmn.xcuserdatad/ (0, 2023-11-13)
SwiftBasics.playground/playground.xcworkspace/xcuserdata/lxmn.xcuserdatad/UserInterfaceState.xcuserstate (30297, 2023-11-13)
SwiftBasics.playground/playground.xcworkspace/xcuserdata/lxmn.xcuserdatad/WorkspaceSettings.xcsettings (453, 2023-11-13)

![Untitled (3)](https://github.com/lxmn22nov/Swift/assets/126524753/0cf2354b-96e2-4699-9c3b-9dc737a50f81) # Swift Basics - The practical description of the Swift Programming Language. - Uploaded Playground pages with examples. - Verified by the Swift Documentation. # Topics Covered - ## [Hello World! ](SwiftBasics.playground/Pages/HelloWorld.xcplaygroundpage/Contents.swift) - Program Structure - Single Line Comment - Multiline Comment - ## [Basics](SwiftBasics.playground/Pages/Basics.xcplaygroundpage/Contents.swift) - Constants - Variables - Type Annotations - Declaration Rules for Constants and Variables - Semi-colans use cases - Integers/Floating Point Numbers - Type Safety and Type Inference - ### Numeric Literals: - Decimal Number - Binary Number - Octal Number - HexaDecimal Number - ### Numeric Type Conversion - Integer Conversion - Floating Point Conversion - Type Aliases - Booleans - Force Unwrapping - ## [Operators](SwiftBasics.playground/Pages/Operators.xcplaygroundpage/Contents.swift) - ### Terminology - Unary Operator - Binary Operator - Ternary Operator - Arithmetic Operator - Remainder Operator - Compound Assignment Operator - Comparison Operators - Nil-Coalescing Operator - ### Range Operators - Closed Range Operator - Half-Open Range Operator - One sided Ranges - ### Logical Operators - Logical NOT (!a) - Logical AND (a && b) - Logical OR (a || b) - Combining Logical Operators - ## [Strings and Characters](SwiftBasics.playground/Pages/StringsAndCharacters.xcplaygroundpage/Contents.swift) - String Literals - Multi-Line String Literals - Extended String Delimiters - String Mutability - Strings are value types - Concatenating strings and characters - String Interpolation - Unicode - Accessing and modifying strings - String Indices - Inserting and Removing - Substrings - Comparing Strings - String and Character equality - Prefix and Suffix equality - Unicode Representation of Strings - UTF-8 Representation - UTF-16 Representation - Unicode Scalar Representation - ## [Control Flow](SwiftBasics.playground/Pages/ControlFlow.xcplaygroundpage/Contents.swift) - For-in Loops - While Loops - While - Repeat-While - Conditional Statements - If - Switch - Control Transfer Statements - Continue - Break - Fallthrough - Labeled Statements - Early Exit - Deferred Actions - Checking API Availability ### Stay Tuned for more...

近期下载者

相关文件


收藏者