Get Updates By E-mail 

sqlite

Great Beginners Core Data Tutorial

  •  
  •  
  •  
  •  
  •  

Core Data is a very powerful library, and easy to use, but it’s so different from database libraries you have used in the past that it may seem frustrating and tedious when you first start using it.

Fortunately, Ray Wenderlich,the creator of the Space Game Starter Kit and co-author of the Learning Cocos2D book, has written an excellent an easy tutorial for those beginning with core data.

[Source: Ray Wenderlich]


  •  
  •  
  •  
  •  
  •  

Using iPhone Core Data vs. A Database

  •  
  •  
  •  
  •  
  •  

Awhile I wrote an article about using Core Data vs. SQLite.  In that article I didn’t delve into any of the technical differences about the two technologies, but just went into some of the reasons why you might want to implement one vs. the other.  I found an excellent article that covers the more technical details of Core Data vs. a conventional database.

The article is: The Differences Between Core Data And A Database.  Some of the key differences of note being:

  • Core Data operates in memory, while a database can edit or drop tables without loading into memory
  • A database is perpetually saved providing crash resistance, Core Data requires a save process
  • A database can be slow to create millions of rows while Core Data can do this very quickly as it operates in memory – although the save process being at the end

Hopefully this article will be helpful to those trying to decide between SQLite and Core Data.

Please post any comments below, thanks.

Source: Cocoa With Love


  •  
  •  
  •  
  •  
  •