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 5931801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:44:45+00:00 2026-05-22T14:44:45+00:00

I am following the Using JSON to Build a Twitter Client tutorial, but I

  • 0

I am following the Using JSON to Build a Twitter Client tutorial, but I am trying to GET data from my own Rails API rather than Twitter. My JSON is being generated as follows:

[
  {
    "name":"Some Text",
    "created_at":"2011-05-15T15:33:37Z",
    "id":1,
    "image":
      {
        "url":"/uploads/image/1/2611c0.jpg",
        "thumb":
          {
            "url":"/uploads/image/1/thumb_2611c0.jpg"
          }
      },
    "updated_at":"2011-05-15T15:33:37Z"
  },
  {
    "name":"Some More Text",
    "created_at":"2011-05-15T15:43:37Z",
    "id":2,
    "image":
      {
        "url":"/uploads/image/2/2756c0.jpg",
        "thumb":
          {
            "url":"/uploads/image/2/thumb_2756c0.jpg"
          }
      },
    "updated_at":"2011-05-15T15:43:37Z"
  }
]

When I try to parse this array and then loop through it, I get this seemingly endless console message:

[WARN] [object TiUIView] has an auto height value of 0, meaning this view may not be visible.

As far as I can tell, this means that the array is empty, due to a parsing problem. To test, I created a simple label in my view and passed the original JSON object. It displayed correctly, so Rails is doing its job. Thanks for any suggestions!

EDIT Ti code as requested: http://pastie.org/1928676

  • 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-05-22T14:44:46+00:00Added an answer on May 22, 2026 at 2:44 pm

    I’m going to take a guess and say that when you did you’re test you didn’t set the row.height to 'auto'? By setting the row.height to 'auto' and then it’s child view that you add with a height of 'auto' also you are assigning it a height of 0 like the warning above states. I would play around with giving the row.height something other then auto and see what you can do with that?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying handle bad json data when parsed through json_decode(). I'm using the following
I am using Following json url to retrieve images from flickr http://api.flickr.com/services/rest/?method=flickr.photosets.getPhotos&api_key=***&photoset_id=72157625776815845&extras=original_format&format=json&jsoncallback=? Response jsonFlickrApi({photoset:{id:72157625776815845,
I'm trying to use the rails plugin with hudson, but i'm getting the following
Okay I have been racking my brain trying to build a JSON array from
I've been going bananas trying to get some data from Javascript on one page
I am trying to read the following json object using the json-framework and obj-C
I've been trying to build a little bot which will be using Reddit's API.
I am using the following method to basically create a JSON string. var saveData
I'm getting the following using the PHP client on my server (connecting via FBML).
I'm trying to accomplish the following using CSS: <table border=1 width=300px> <tr> <td rowspan=2>This

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.