swift3 - swift 3 - HTTPCookieStorage cookies for url cannot call -


i'm trying fetch array of cookies specified url , following error:

cannot call value of non-function type '[httpcookie]?' 

this syntax:

        if let cookies = httpcookiestorage.shared.cookies(for: baseurl) {              cookie in cookies {              }          } 

what's problem?


Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

java - How to put two numbers separated by a space into two different arrays -

python - matplotlib equivalent for Ubuntu servers with no GUI? -