ios - Use unresolved identifier -


my app working fine , xcode giving me error:

use unresolved identifier cardwasremoved

func addnewcards() {     countofcards = countofcards-1     if(countofcards >= 0){         self.arrayauthorization.remove(at: dm.objectindextoremove)         cardwasremoved(removeindex: dm.objectindextoremove)      } } 

and method implementation this:

open func cardwasremoved(removeindex:int) {     if layout.newcardshouldappearonthebottom {         layout.carddidremoved(removeindex)     } else {         layout.carddidremoved(removeindex)     } } 

it might there artifacts debug build configuration (when try running on simulator), , don't have these artifacts release configuration. try removing deriveddata directory: how delete derived data in xcode 8?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -