Rishi Rishi - 1 year ago 67
Swift Question

How can I store huge arrays in swift

How can I store huge constant arrays in swift without the compiler lagging? I have made 4 arrays with about a hundred items each, and my compiler takes 2 minutes to compile. Any help would be appriceated.

Edit: I do not want to use core data.

Answer Source

You can use SQLite database or you can store in text file.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download