Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Search + separatorStyle in tableview crashed iPhone app

All,

I am building an iPhone app by referecing the "Table View (Layout 4)" in KitchenSink. Everything works and looks fine… until I started to add a search bar to the tableview. As titled, the app just crashed. After some trial, I realized that the "separatorStyle" is the cause. When it's commented, stuff works fine. A test on "separatorColor" also crashed the app. If I remove the search bar, then the separatorStyle works fine which is the same as the kitchensink sample.

So it's pretty sure this is a bug. Is this known? Or is there a work around?

— asked March 9th 2010 by Dave Lee
  • separatorstyle crash tableview
0 Comments

4 Answers

  • Sorry, forgot to mention that I started from 0.9.2 and the issue persists even on 1.0.0.

    — answered March 9th 2010 by Dave Lee
    permalink
    0 Comments
  • This is an easy to reproduce bug. No one had ever encountered this issue?

    — answered March 10th 2010 by Dave Lee
    permalink
    0 Comments
  • The crash should be showing you a relevant trace statement in the Titanium Developer console (switch the "Filter" in the console to "Trace").

    To you happen to get the same error as in this item? It also relates to a crash with tableview and searchbar.

    — answered March 10th 2010 by Bill Dawson
    permalink
    0 Comments
  • I must apologize, my earlier hint to use Trace doesn't apply iPhone simulator; Trace is only available when launching the Android simulator.

    — answered March 10th 2010 by Bill Dawson
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.