Swift
From Lost In Wonderlands
Contents
- 1 Swift
- 1.1 See also
- 1.2 Swift
- 1.3 Swift with Style
- 1.4 Swift API design
- 1.5 Swift Standard Library
- 1.6 Swift protocols
- 1.7 Swift Generics
- 1.8 Swift Patterns
- 1.9 Swift Algorithms
- 1.10 Topics
- 1.11 A
- 1.12 B
- 1.13 C
- 1.14 D
- 1.15 E
- 1.16 F
- 1.17 G
- 1.18 H
- 1.19 I
- 1.20 J
- 1.21 K
- 1.22 L
- 1.23 M
- 1.24 N
- 1.25 O
- 1.26 P
- 1.27 Q
- 1.28 R
- 1.29 S
- 1.30 T
- 1.31 V
- 1.32 W
- 1.33 X
- 1.34 Y
- 1.35 Z
- 1.36 swift versions
- 1.37 Sample codes
- 1.38 Articles
- 1.39 Blogs
- 1.40 Tools link
- 1.41 Books
Swift
See also
- AppleSwift
- Swift
- SwiftUI
Swift
Swift Topics
Data Flow and Control Flow
- https://developer.apple.com/documentation/swift/maintaining_state_in_your_apps
- https://developer.apple.com/documentation/swift/preventing_timing_problems_when_using_closures
Data Modeling
- https://developer.apple.com/documentation/swift/choosing_between_structures_and_classes
- https://developer.apple.com/documentation/swift/adopting_common_protocols
Language Interoperability
Class Bridging
Swift and Objective C and C
- https://developer.apple.com/documentation/swift/objective-c_and_c_code_customization
- https://developer.apple.com/documentation/swift/objective-c_and_c_code_customization/improving_objective-c_api_declarations_for_swift
- https://developer.apple.com/documentation/swift/objective-c_and_c_code_customization/making_objective-c_apis_unavailable_in_swift
- https://developer.apple.com/documentation/swift/objective-c_and_c_code_customization/designating_nullability_in_objective-c_apis
- https://developer.apple.com/documentation/swift/objective-c_and_c_code_customization/renaming_objective-c_apis_for_swift
- https://developer.apple.com/documentation/swift/objective-c_and_c_code_customization/improving_objective-c_api_declarations_for_swift
- https://developer.apple.com/documentation/swift/objective-c_and_c_code_customization/grouping_related_objective-c_constants
- https://developer.apple.com/documentation/swift/objective-c_and_c_code_customization/marking_api_availability_in_objective-c
- https://developer.apple.com/documentation/swift/objective-c_and_c_code_customization/making_objective-c_apis_unavailable_in_swift
- https://developer.apple.com/documentation/swift/objective-c_and_c_code_customization/customizing_your_c_code_for_swift
- https://developer.apple.com/documentation/swift/imported_c_and_objective-c_apis
- https://developer.apple.com/documentation/swift/migrating_your_objective-c_code_to_swift
- https://developer.apple.com/documentation/swift/objective-c_and_c_code_customization
- https://developer.apple.com/documentation/swift/handling_dynamically_typed_methods_and_objects_in_swift
- https://developer.apple.com/documentation/swift/using_objective-c_runtime_features_in_swift
Cocoa Design Patterns and Swift
- https://developer.apple.com/documentation/swift/cocoa_design_patterns
- https://developer.apple.com/documentation/swift/cocoa_design_patterns/using_key-value_observing_in_swift
- https://developer.apple.com/documentation/swift/cocoa_design_patterns/using_delegates_to_customize_object_behavior
- https://developer.apple.com/documentation/swift/cocoa_design_patterns/managing_a_shared_resource_using_a_singleton
- https://developer.apple.com/documentation/swift/cocoa_design_patterns/about_imported_cocoa_error_parameters
- https://developer.apple.com/documentation/swift/cocoa_design_patterns/handling_cocoa_errors_in_swift
Swift with Style
- https://docs.swift.org/swift-book/
- Apple Official Swifty Style
- google style
- Jet Brain AppCode Style
- NSHipster Style
- Erica Sadun Style, are you a 4 denter ?
- raywenderlich style
- a Missing Guide on Swift Code Style?
Swift API design
Swift Standard Library
Swift protocols
protocols conformance
protocols
- https://developer.apple.com/documentation/swift/identifiable
- https://developer.apple.com/documentation/swift/comparable
- https://developer.apple.com/documentation/swift/equatable
- https://developer.apple.com/documentation/swift/hashable
- https://developer.apple.com/documentation/swift/caseiterable
- https://developer.apple.com/documentation/swift/rawrepresentable
- https://developer.apple.com/documentation/swift/codable
- https://developer.apple.com/documentation/swift/encodable
- https://developer.apple.com/documentation/swift/decodable
- https://developer.apple.com/documentation/swift/codingkey
- https://developer.apple.com/documentation/swift/keyedencodingcontainerprotocol
- https://developer.apple.com/documentation/swift/keyeddecodingcontainerprotocol
- https://developer.apple.com/documentation/swift/singlevaluedecodingcontainer
- https://developer.apple.com/documentation/swift/unkeyedencodingcontainer
- https://developer.apple.com/documentation/swift/unkeyeddecodingcontainer
- https://developer.apple.com/documentation/swift/swift_standard_library/initialization_with_literals
- https://developer.apple.com/documentation/swift/expressiblebyarrayliteral
- https://developer.apple.com/documentation/swift/expressiblebydictionaryliteral
- https://developer.apple.com/documentation/swift/expressiblebyintegerliteral
- https://developer.apple.com/documentation/swift/expressiblebyfloatliteral
- https://developer.apple.com/documentation/swift/expressiblebybooleanliteral
- https://developer.apple.com/documentation/swift/expressiblebynilliteral
- https://developer.apple.com/documentation/swift/expressiblebystringliteral
- https://developer.apple.com/documentation/swift/expressiblebystringinterpolation
- https://developer.apple.com/documentation/swift/expressiblebyextendedgraphemeclusterliteral
- https://developer.apple.com/documentation/swift/expressiblebyunicodescalarliteral
- https://developer.apple.com/documentation/swift/stringinterpolationprotocol`
- https://developer.apple.com/documentation/swift/defaultstringinterpolation
- https://developer.apple.com/documentation/swift/customstringconvertible
- https://developer.apple.com/documentation/swift/customdebugstringconvertible
- https://developer.apple.com/documentation/swift/losslessstringconvertible
Swift Generics
Swift Patterns
https://github.com/ochococo/Design-Patterns-In-Swift
Swift Algorithms
- https://swift.org/blog/swift-algorithms/
- https://github.com/apple/swift-algorithms
- https://developer.apple.com/videos/play/wwdc2018/223/
more algorithms
in python
in C++
tutorials
- https://www.raywenderlich.com/18517868-swift-algorithms-getting-started
- https://medium.com/swift-algorithms-data-structures/building-generic-algorithms-with-swift-64e20499309
- https://medium.com/swift-algorithms-data-structures
- https://www.programmez.com/actualites/swift-dispose-dune-nouvelle-bibliotheque-swift-algorithms-30992
- https://www.infoq.com/news/2020/10/swift-algorithms-open-sourced/
forums
books
Topics
A
A1
A11
A111
A1111
B
C
D
E
F
G
H
HTTP request
- mostly on a simulator to access a http://localhost:portnum/service hosted on the same host
- IOS reinforce the access to HTTPS only since ioS 7
- for sometime it was possible to grant htpp access in the info plist but now we have to grant more things
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>
- local host or 127.0>0>1
var rest_url = "http://127.0.0.1:8000/rest/users/"
- https://docs.microsoft.com/fr-fr/xamarin/cross-platform/deploy-test/connect-to-local-web-services
- https://stackoverflow.com/questions/25702354/ios-simulator-access-localhost-server/55686530
- http://adaptivejs.mobify.com/v2.0/docs/debug-on-ios-devices-and-the-ios-simulator/
- https://www.browserstack.com/question/663