Appending NSDictionary to other NSDictionary

后端 未结 3 677
有刺的猬
有刺的猬 2021-01-31 00:45

I have one NSDictionary and it loads up UITableView. If a user scrolls more and more, I call API and pull new data. This data is again in the form of a

3条回答
  •  Happy的楠姐
    2021-01-31 01:47

    You looking for this guy:

    [NSMutableDictionary addEntriesFromDictionary:]
    

    Make sure your UITableView dictionary is an NSMutableDictionary!

    Check it here

提交回复
热议问题