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 - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -