Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8329727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:53:25+00:00 2026-06-09T01:53:25+00:00

How can I serialize and archive the state of game objects into a database

  • 0

How can I serialize and archive the state of game objects into a database when they require pointers to each other? Is there a way to serialize custom objects beyond just primitive data types? Should I be archiving the pointers? Or would a better approach be to give each object an unique ID so I can rebuild the relationship later?

I’m hoping someone can breakdown the general approach I should be taking for saving an iOS game to the server for later retrieval by other devices/players. I know this seems broad, but I’m just looking for the bullet point break down of the technologies/libraries/classes I should be using.

The game has already be developed, I’m just not sure how to save and encrypt the state server side. I’m thinking of using AFNetworking, but I need to save all the objects of a relatively complex game. It seems a JSON object with primitive data types won’t cut it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:53:27+00:00Added an answer on June 9, 2026 at 1:53 am

    Use core data. That’s why it is there. Straight from their docs…

    The Core Data framework provides generalized and automated solutions
    to common tasks associated with object life-cycle and object graph
    management, including persistence.

    Intro to Core Data Programming Guide: http://developer.apple.com/library/mac/#documentation/cocoa/Conceptual/CoreData/cdProgrammingGuide.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

why we can't Serialize objects into Random Access file ? and on the other
I'm looking for a way with C# which I can serialize a class into
With plistlib I can serialize a dictionary / list structure into a plist. This
I am able to serialize a single type/class but is there a way that
I really want this so I can serialize / deserialize some complex data objects
Is there a jQuery plugin out there that can serialize a form, and then
With JSON.NET I can serialize a generic list into a JSON string: return Json(new
How can I serialize a property which is a Map as a List of
I can't serialize it, therefore can't get byte[]. Network whiteboard with .net is impossible?)
In C# how can I serialize a List<int> to a byte[] in order to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.