3347

How to integrate Core Data to my existing application?

I have selected window based universal application and started coding for my app.

Now i got a requirement to use database and i found that CoreData is more preferable.

Is there any way to add Coredata to my current project, if yes how?

-Mrunal

Answer1:

See the Core Data Programming Guide or the documentation for more details that are open for developers only. This guide is very helpful and there are the CoreDataBooks and iPhoneCoreDataRecipes sample codes to get you started.

For a quick solution, create a new navigation controller project and tick the Core Data checkbox. Then copy the Core Data methods that you are missing. You can also use the Core Data code snippets that are available in the Xcode library.

Recommend

  • Which one is better for social networking integration in iOS development?
  • Core Data does not update
  • Core Data vs SQLite [closed]
  • Multiple instances of _CDSnapshot_[entityName]_
  • ResultsController to another ResultsController
  • How do I wrap a span around a section of text in javascript?
  • Extract common part of images with Opencv
  • Create a postgreSQL database programmatically [closed]
  • Alternate (Free) to AOP PostSharp for method tracing (and exception)
  • Loading JSON dataset into Spark, then use filter, map, etc
  • Best modern way of creating indentation in a ?
  • How to write Delphi ActiveX control which can be used in MS Word/Excel/Powerpoint?
  • How to Get reports in odt format from rml files in openerp
  • Finding max value of a weighted subset sum of a power set
  • Level-order tree traversal
  • Representing intervals or ranges? [closed]
  • Editable Combo Box Javascript and HTML
  • Catching exception and throwing the same?
  • How to distribute an event to all nodes in a (Wildfly) cluster?
  • SQL query to group by maximal sets of a column having inner consecutive distances below a threshold
  • can variables be set randomly when declaring them again?
  • C# - Most efficient way to iterate through multiple arrays/list
  • Does Apportable support to build library binary (.a/.so)?
  • Is it possible to open regedit and navigate to straight to a specific key using process.start?
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Moving mysql files across servers
  • Switching to Release Build causes runtime error in Web Reference
  • If I include Java 8 in my Android app does that affect which devices it will work on?
  • QuartzCore.framework for Mono Develop
  • Confusion with PayPal's monthly billing cycle
  • PHP: When would you need the self:: keyword?
  • SQL merge duplicate rows and join values that are different
  • Acquiring multiple attributes from .xml file in c#
  • Angular 2 constructor injection vs direct access
  • Java static initializers and reflection
  • Android Google Maps API OnLocationChanged only called once
  • reshape alternating columns in less time and using less memory
  • Reading document lines to the user (python)
  • UserPrincipal.Current returns apppool on IIS
  • How can I use threading to 'tick' a timer to be accessed by other threads?