I am trying to fetching a JSON file which exist in my xcode resources using this code
JSON
xcode
-(void)readJsonFiles { NSString *str=[[[NSBu
You need to use pathforResource with resourcetype and check if there is data in your file.
That should not be nil.