ios - storing NSData in an array -


i stored decoded base64 image in nsdata , want make array of it. used below code not working. please help!

nsmutablearray * searchresultsimages = [[nsmutablearray alloc]init]; (int i=0; i<searchresults.count; i++)     {         nsstring *images = [[searchresults objectatindex:i] objectatindex:3];         [base64 initialize];         nsdata *data = [base64 decode:images];         [searchresultsimages addobject:data];         nslog(@"searchresultsimages: %@", searchresultsimages);     } 


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -