Tuesday, 19 June 2012

Finding invalid method names?


wirelessly posted (mozilla/5.0 (iphone; cpu iphone os 5_0_1 mac os x) applewebkit/534.46 (khtml, gecko) version/5.1 mobile/9a405 safari/7534.48.3)

there compiler option turn on stricter checking of method names? spent 25 minutes tracking bug down , ended being simple case of using numberofobjects instead of numberofobjects nsarray.
 

according documentation search, numberofobjects method associated nsfetchedresultssectioninfo protocol. nsarray uses count method.

in both xcode 3 , 4, warning issued on line misspelled method name. perhaps i've turn warning on, or turned warning off.
 


Forums Macs Mac 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