Difference between revisions of "Swift"

From Lost In Wonderlands
Jump to: navigation, search
(See also)
(H)
Line 172: Line 172:
 
== G ==
 
== G ==
 
== H ==
 
== 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
 +
==== sample code ====
 +
* https://github.com/jocull/SharpProxy
 +
 
== I ==
 
== I ==
 
== J ==
 
== J ==

Revision as of 23:28, 25 April 2021

Swift

See also

Swift

Swift Topics

Data Flow and Control Flow

Data Modeling

Language Interoperability

Class Bridging
Swift and Objective C and C


Cocoa Design Patterns and Swift

Swift with Style

Swift API design

Swift Standard Library

Swift protocols

protocols conformance

protocols

Swift Generics


Swift Patterns

 https://github.com/ochococo/Design-Patterns-In-Swift


Swift Algorithms

more algorithms

in python

in C++


tutorials

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/"

sample code

I

J

K

L

M

N

O

P

Q

R

S

T

V

W

X

Y

Z

swift versions

WWDC 2020

WWDC2019

WWDC 2018

WWDC 2017

WWDC 2016

Sample codes

Articles

Blogs

Tools link

Books