forum

Home / DeveloperSection / Forums / NSArray of dictionaries

NSArray of dictionaries

Tarun Kumar170617-Jul-2015

I have NSArray of NSDictionaries which is coming from server as JSON format. I want to add one more NSDictinoary to the NSArray of NSDictionaries. NSDictionary is based on key value pair. This is the response which I am getting. I want to add another dictionary of same format into "table". Pls Help..

Thanks in advance..!!

Table =  (

        {

            Name = “xyz”;

            Recordid = 3;

            prefrenceorder = 1;

        },

        {

            Name = “ABC”;

            Recordid = 2;

            prefrenceorder = 2;

        },

        {

            Name = “swe”;

            Recordid = 450;

            prefrenceorder = 3;

        },

        {

            Name = “asd”;

            Recordid = 451;

            prefrenceorder = 4;

        }

    );


Updated on 18-Jul-2015

Can you answer this question?


Answer

1 Answers

Liked By