iOS Swift CoreData Tutorial: Create a real world App Part 1

preview_player
Показать описание
Create a real world App called ContactU using Swift and the powerful CoreData Framework.

***TUTORIAL FILES ***

***COMMENTS****
If you have questions about the video or Cocoa programming. Please comment below.

Рекомендации по теме
Комментарии
Автор

Swapped out the AppDelegate with the current. From there the code fixes are just bringing things up to speed. A good lesson in debugging. Thanks for the project, Brian! 

b.mcmillan
Автор

This was the Swift Core Data tutorials I was waiting for. So I start right into it.

MortenJacobsen
Автор

Now it's done on my own MBP in Beta4. I liked the introduction a lot, and will immediatly go on with part 2. Great stuff!

MortenJacobsen
Автор

All this code is old, it was written using the beta version of xcode and swift, there are some methods that slightly changed the syntax. Can you update us with the new code?

arthurcastro
Автор

Very good tutorial. I have a question, why and when you must use uimanageddocument? I saw ios7 videos that use that class, but not in your project.

reneincer
Автор

Brian, this is great but do you have a video covering how to setup the storyboard? I am interested in how you setup the "Add Contact" page with the editable tableViewCells. If you could do a quick video on how to set up a page like that, that would be swell. Thanks!

mrchedda
Автор

Hello Brian, the tutorial looks awesome but for some reason the files are not available anymore, is it because it is an older video? Do you have something similar were the files are still available in regards to DataCore?

George-ykxi
Автор

Do you have an updated version of this tutorial, looks really good, but I noticed the new xCode is quite different in how entities are created.

josephastrahan
Автор

Superb :) thank you very much brian... is there any means through which i can connect to you for my swift problems?

shubhamanilsharma
Автор

Brian Advent Hi I got an error when importing swiftcoredatahelper class. I imported CoreData, but am getting this error: "Optional type 'NSPersistentStore?' cannot be used as a boolean" in the if statement below the storeCoordinator declaration. Why is this and what can I do to fix it? Thanks

colbeyw
Автор

Awesome tutorial and you are speaking very clear! Thank you very much! Greetings from Germany

mistahoi
Автор

Hi Brian, I am very interested to do mac osx app using Xcode 6 with objective- c and also coredata or sqlite. Have you some tutorial about that? Regards.

wobando
Автор

Nice tutorial, it is actually something useful.  However, the final code won't compile in the non-beta release version of xcode 6. Have you posted the fixes anywhere?

cis
Автор

Thanks a lot for this! Great tutorial, clear and concise. :)

AlvinReyes
Автор

Thank you, Brian! Extremely useful tutorial. Cheers to you.

coxinhads
Автор

Hi Brian great tutorial but can you tell me how to download the swift DataCorehelper and  the other files for preparation thank you

Skylightrecording
Автор

Hi Brian Great Tutorial im just starting it by now. Due to a Swift update you need to do the following: Create a new Project Delete the AppDelegate.swift and ViewController.swift in Brians Project. Then drag it from the one you just created into Brians Project and you're nearly done. All you need to do now is go to the SwiftCoreDataHelper.swift and unwrap some Optionals as suggested by xcode and rewrite the error Handling as suggested:
- - - - - - - - - -
class func fetchEntities(className:NSString, withPredicate predicate:NSPredicate?,
let fetchRequest:NSFetchRequest = NSFetchRequest()
let = NSEntityDescription.entityForName(className, inManagedObjectContext: managedObjectContext)!

fetchRequest.entity = entetyDescription
if (predicate != nil){
fetchRequest.predicate = predicate!
}

= false
let items:NSArray = managedObjectContext.executeFetchRequest(fetchRequest, error: nil)!

return items
}
- - - - - - -

marder
Автор

Hello.

How do you create the tableviews, navigation controller and this stuff in the storyboard?

joshuavargas
Автор

Brian Advent I also found many more errors when trying to run the complete project that was downloaded from you link. I am using Xcode 6.1(6A1052d). Could you please review this and let me know what needs to be done? thanks!

colbeyw
Автор

Thank you very much for this video
It's really helpful

obaidalmashjare
visit shbcf.ru