Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8293721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:55:38+00:00 2026-06-08T13:55:38+00:00

I did a query to the Flickr API and It returned me with an

  • 0

I did a query to the Flickr API and It returned me with an NSArray containing dictionaries. I was wondering how i might be able to access lets the _content item of the array that was sent back to me.

  NSArray *topPlaces = [FlickrFetcher topPlaces];
NSLog(@"%@",topPlaces);

(
    {
    "_content" = "London, England, United Kingdom";
    latitude = "51.506";
    longitude = "-0.127";
    "photo_count" = 3061;
    "place_id" = "hP_s5s9VVr5Qcg";
    "place_type" = locality;
    "place_type_id" = 7;
    "place_url" = "/United+Kingdom/England/London";
    timezone = "Europe/London";
    woeid = 44418;
},
    {
    "_content" = "New York, NY, United States";
    latitude = "40.714";
    longitude = "-74.007";
    "photo_count" = 1886;
    "place_id" = ".skCPTpTVr.Q3WKW";
    "place_type" = locality;
    "place_type_id" = 7;
    "place_url" = "/United+States/New+York/New+York";
    timezone = "America/New_York";
    woeid = 2459115;
},
    {
    "_content" = "Weston-Super-Mare, England, United Kingdom";
    latitude = "51.346";
    longitude = "-2.977";
    "photo_count" = 945;
    "place_id" = HWdHmQdVUrptMA;
    "place_type" = locality;
    "place_type_id" = 7;
    "place_url" = "/United+Kingdom/England/Weston-Super-Mare";
    timezone = "Europe/London";
    woeid = 40016;
},

)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T13:55:40+00:00Added an answer on June 8, 2026 at 1:55 pm

    Just iterate over the NSArray like so

    for (NSDictionary *dictionary in topPlaces) {
        NSLog(@"%@", [dictionary objectForKey:@"_content"]);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was successful in writing the query that lists salesmen that did sell to
I keep getting an Notice: Undefined index: did error with this query, and I'm
I'm pretty sure I did this right, but my query has been running for
How do I trace which SQL query did my Activerecord methods generated (eg find,
I did the following query: var list = from book in books where book.price
In SQL Server Management Studio, I did the query below. Unfortunately, I forgot to
I have a complicated query I wrote and it did initially retrieve all the
I am using a custom query as the Active Record equivelant did not work
I´m having this issue, I did the mysql query inside a class and then
I did a drop query on a MySQL table... my GUI interface crashed right

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.