Wednesday, 18 March 2015

UISearchBarController Not Loading Cells


hey all,

have app , 1 of tabs shows customers app. i'm using core data store data , using coredatatableviewcontroller (that's zipped folder code coredatatableviewcontroller inside) stanford courses me use nsfetchedresultscontroller manage table.

i'm using xcode 4.2 , ipad ios 5 app. set , working fine in terms of adding/ modifying customers , having them show in table view fine.

should mention i'm using custom cell, can have images , multiple labels etc.

added uisearchbarcontroller in ib , added in code have separate nsfetchedresultscontroller used it. putting in nslog calls know setting fetchedresultscontroller properly, , getting filled properly, search table isn't being updated...

put nslog call in tableview:cellforrowatindexpath: , i'm creating proper customer , filling cell in properly, isn't being shown on search display table...

ideas of i'm doing wrong?

edit:
should point out have uitableviewdatasource methods checking table view calling method , using proper fetchedresultscontroller.

also, i've noticed if type in search query shouldn't return anything, put "no results" display. leaves table blank when type in search query should (and tests, does) return results.
 



Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment