One of the best tutorials channels I have seen !!Do not Give up Jared I think you should make a video about JSON
@Elhgarz8 жыл бұрын
For those using Swift 3 and Xcode 8, there's a change in the App Delegate, This: let managedContext = appDelegate.managedObjectContext Changed to: let managedContext = appDelegate.persistentContainer.viewContext
@TEAMSCHNEIDERorg8 жыл бұрын
What are the changes?
@myangel2977 жыл бұрын
let managedContext = (UIApplication.shared.delegate as! AppDelegate).persistentContainer.viewContext
@abhilashchoudhary87907 жыл бұрын
its not working still..its still show an error ie value of type 'NSPersistentContainer' has no member 'viewContext'
@TheO2tenify8 жыл бұрын
I love your videos, it's fast paced and straight to the point!!!!!!!
@justinsunyt8 жыл бұрын
Great tutorial! Helped me a lot with my master-detail software development. Love your tutorials!
@ArchAngelsGG8 жыл бұрын
Jared I love the video, but I'm stuck :( when I went to run the first test, after fixing the errors you made, the add button in the top right was not there. I did not get any errors either. please help me!!!
@tuanha2000vn8 жыл бұрын
Great tutorial, easy to understand. Can you please give the link for source code? Thank you
@jannisgrimm6828 жыл бұрын
How many intros have you had on this channel to date? - I guess I stopped counting... Great seeing how this channel evolves and grows.
@Archetapp8 жыл бұрын
Haha, yeah... I just have this need to update things and make it better and better. Thanks! :)
@MaartenLanclus8 жыл бұрын
Thanks for the tutorials Jared, learning a lot from these videos. Is there any chance you could discuss integrating a payment tool into Xcode, as for example Braintree? Would be awesome. Great channel!
@antoninoratto48478 жыл бұрын
Hi Jared! First of all let me thank you for your job and for your tutorial …. GREAT!!! I followed all your instructions, I installed the app on my iPhone, and everything works well, but after a few days the application crashes!! I tried reinstalling the application, but as before, everything works well but after a few days the application crashes!! Why does this happen? Thank you for your help Antonino
@tomjansen63188 жыл бұрын
Thanks so much Jared! So is this also the way how you add highscores to your app? Or should there be an easier way for that?
@TripDhuR8 жыл бұрын
Jared, again really nice video. Can you do some tutorial on using JSON with server data ? Really looking for that for a while.
@curedollyyy8 жыл бұрын
I was getting an error in Xcode 8/Swift 3 until I updated my code to the following. Updated code will have an * in front of it. (The asterisk shouldn't be apart of your final code). override func viewWillAppear(_ animated: Bool) { * let appDelegate = UIApplication.shared.delegate as! AppDelegate * let managedContext = appDelegate.persistentContainer.viewContext * let fetchRequest = NSFetchRequest(entityName: "ListEntity") * fetchRequest.returnsObjectsAsFaults = false do { * let results = try managedContext.fetch(fetchRequest) listItems = results as! [NSManagedObject] } catch { print("error") } }
@BeatzDocz7 жыл бұрын
you solved my problem! thank you!
@christophschopper38298 жыл бұрын
hey Jared! Do you think you could do some tutorials about swift with database using? would be very nice (: btw: i like your videos... your tutorials are very easy to understand (: best greetings!
@jacobkazal8 жыл бұрын
why this is not on your website? i was looking for the code thanks for the awesome videos
@miguelpico44998 жыл бұрын
very nice men!, I speak Spanish but I like and understand your tutorials
@amerkhalil67878 жыл бұрын
can you make a video about the second way to search in the core data using UISearch Controller in the table view , PLZ
@jacksontech18 жыл бұрын
Hi Jared, what about entering 2 attributes , then save them, retrieve them and display on the same row of cells? I have been trying to do that using UITextfields but how do I ensure that text from the 1st textfield will go to certain attribute and the text from the 2nd textfield goes to the next attribute? thanks a lot!
@jonathanyazdanpanah288 жыл бұрын
Hey Jared! Could you make a video showing how to use parse and what are the benefits and uses of Parse? Thanks :)
@jasperstokman99878 жыл бұрын
+Jonathan Yazdanpanah Forget about Parse man, they're stopping the service :(
@leosilva04118 жыл бұрын
Too easy to understand. Best video!
@andresuhartanto33858 жыл бұрын
please do more coredata tutorial, your tutorial is awesome!
@MrToastedtoad7 жыл бұрын
maybe explain the implication if the value is nil. commercial grade software should guard rather than making a forced demand (!). Also, catch(let error) should be used so we get the _actual_ error. right? Otherwise, this was a great demo Jared.
@fedupstudio42808 жыл бұрын
Hello. I have been following your tutorials which are helping me a lot I am new to core data and was wondering how could we fetch the latest item in the table view cell. i tried using .inert method which gives an error.. Any suggestion how i could achieve the desire result..
@philippkelm28707 жыл бұрын
Hey Jared. Im kind of new to Swift and Coredata. I was just wondering if there is possible solution for the following scenario. Just as in your video, lets assume you can add items to the tableview. Now if I hit the cell with lets say, the attribute like bank accounts a segue leads to a new view controller (this is all durable for me till now). In the new view controller I have a new tableview and add some more attributes to it such as bank names (still cool). I create the data fetch it in the new view controller (tableview and it comes up). Now I have the problem, if I go to the first view controller where i added bank account and create a new item such as Cars (still working ), but when i then hit the cell with cars, the new view controller comes across but in the tableview there is already the data of the bank accounts. Is there a way of dealing with this issues ? would be great to get this figured out. thanks anyway. great tutorials, easy to understand !!!!
@jonathanletchford57198 жыл бұрын
Liking the video. Just one thing at the 15:00(ish) mark... My "add" button isn't showing up in the simulator. Pulling my hair out as to why?... Any suggestions for me?
@kashif789us8 жыл бұрын
Very informative video but 1 correction. After deletion you need to save the context again to persist it.
@alkonine63838 жыл бұрын
thx helped me a lot btw luv the new setup
@Archetapp8 жыл бұрын
+Da Trap Thanks! :)
@wahimomokiduniya8 жыл бұрын
can you please share a demo for multi-peer connectivity
@TheO2tenify7 жыл бұрын
Can you do a tutorial on how use core data inside apple watch and to share that data in iphone?
@chinesefood83638 жыл бұрын
i love talk style ^^ , and one question: how to update data to core data ?
@zion14088 жыл бұрын
Dude i love your tutorials, can you kindly make a tutorial on how to merge to xcode projects in to one Application...i have created two Apps, one streams online radiostations, the other streams Live TV stations, i want to combine them and navigate between the two using a slideout menu, please help...thanks.
@SyedAriff8 жыл бұрын
Can I have access to the full xcode project?
@raghavendrapoluri70568 жыл бұрын
Thank you Jared
@IceCasasola8 жыл бұрын
hey jared! is it a good idea to make an app that will store my contacts in Firebase or Core Data? What is the difference pros and cons?
@saifayon60228 жыл бұрын
don't share your ideas in public!it may worth a million!!!
@LennartFr8 жыл бұрын
It would be really great if you can put the code out on GitHub. I know you have done that for some of your tutorials but not for all, and not for this one as far as I can see. That would help a lot and get you even more followers.
@raghavendrapoluri70568 жыл бұрын
As I am new to swift... Can you please show me how to make a login page in Swift
@TheO2tenify8 жыл бұрын
Can you do a video on apple watch and iphone sharing core data?
@miroslawkosciolko8 жыл бұрын
Can you share this code? Please I have error but i don't know where :/ And Great Movie :)
@ahtu778 жыл бұрын
Hi, im using the your codes on Swift 3 here but i'm getting a thread breakpoint at return listitem.count, any suggestion on how to fix this? import UIKit import CoreData class ViewInventoryTableController: UITableViewController{ var listItems = [NSManagedObject]() override func viewDidLoad(){ super.viewDidLoad() //Do any additional setup after loading the view, typically from a nib. self.navigationItem.rightBarButtonItem = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.add, target: self, action: #selector(ViewInventoryTableController.addItem)) } func addItem(){ let alertMessage = "Please key in the activation code" let alertController = UIAlertController(title: "Add Item", message: alertMessage as String, preferredStyle: .alert) //Add the textfield var activationCodeTextField1: UITextField? alertController.addTextField { (textField) -> Void in activationCodeTextField1 = textField activationCodeTextField1?.placeholder = "123456789" } // Create Cancel button let cancelAction = UIAlertAction(title: "Cancel", style: .cancel) { (action:UIAlertAction!) in print("Cancel button tapped") } alertController.addAction(cancelAction) // Create ConfirmAction let confirmAction = UIAlertAction(title: "Confirm", style: UIAlertActionStyle.default, handler: ({ (_) in if let field = alertController.textFields![0] as? UITextField{ self.saveItem(itemToSave: field.text!) self.tableView.reloadData() } } )) alertController.addAction(confirmAction) // Present Dialog message OperationQueue.main.addOperation { self.present(alertController, animated: true){} } print("Activation Code = \(activationCodeTextField1?.text)") } //function save item func saveItem(itemToSave: String){ let appDelegate = UIApplication.shared.delegate as! AppDelegate let managedContext = appDelegate.persistentContainer.viewContext let entity = NSEntityDescription.entity(forEntityName: "ListEntity", in: managedContext) let item = NSManagedObject(entity: entity!, insertInto: managedContext) item.setValue(itemToSave, forKey: "item") do { try managedContext.save() listItems.append(item) } catch { print("error") } } override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { let appDelegate = UIApplication.shared.delegate as! AppDelegate let managedContext = appDelegate.persistentContainer.viewContext tableView.reloadRows(at: [indexPath], with: UITableViewRowAnimation.right) managedContext.delete(listItems[indexPath.row]) listItems.remove(at: indexPath.row) self.tableView.reloadData() } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() //Dispose of any resources that can be recreated } override func tableView (_ tableView: UITableView , numberOfRowsInSection section: Int) -> Int { return listItems.count } func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { let cell = tableView.dequeueReusableCell(withIdentifier: "Cell")! as UITableViewCell let item = listItems[indexPath.row] cell.textLabel?.text = item.value(forKey: "item") as? String return cell } }
@veeravenkatanaga75688 жыл бұрын
Hii... Can you please make a video on Login & register page in Swift
@amoryrlt50928 жыл бұрын
Very good! As always 😊
@dowiee26948 жыл бұрын
SECOND!! (Nice video) I love your tutorials!
@Archetapp8 жыл бұрын
Thanks! :D
@micerbeats13928 жыл бұрын
Very helpful. Much appreciated.
@SuperGamingNarwhal8 жыл бұрын
hey can you show us how to make a timer in an app that can like countdown to 0
@Fuddifadu7 жыл бұрын
You are the best... man!! Thanks a ton..
@krutomjer8 жыл бұрын
Thanks man, definitely a great tutorial. I'll lurk around your channel some more :) ps. can someone please explain me the let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate , what are we delegating to whom =
@taimai84718 жыл бұрын
How to change name "Root view Controller" ? You should make slide right on row to delete item :) Thanks
@quentinaoustin75438 жыл бұрын
Really good vid thanks Jared :)
@Archetapp8 жыл бұрын
No problem, thanks for watching! :)
@rumanali77586 жыл бұрын
why you don't use edit style method of tableview??
@slionheart1378 жыл бұрын
Good Video man!
@ayahtiiv8 жыл бұрын
what i'm waiting for ... what really different core data and nsuserdefault? is coredata like mysqllite?
@ianthompson51298 жыл бұрын
Hey Jared! Quick question : I have a couple apps developed and one is close to being released on the App Store. My only problem is that I am not 18 years old so the seller name shows up as my mother's name. My membership has just expired, so I need to renew it. Is there any way I can have the seller name as my name, even though I am not 18? Thanks for the help.
@dowiee26948 жыл бұрын
Same with me!! I'm 11!
@BoomMacaw8 жыл бұрын
+Ian Thompson do you have skype?
@ianthompson51298 жыл бұрын
+Ash Nombre I do. It's thompson_ian
@dannymt8 жыл бұрын
No it is not possible. I have contacted Apple about this and changing your name, no matter if you're over 18 or not is already a complicated process. And if you are under 18, contracts that you will sign won't be legally valid which is why someone under 18 can't sign up in their own. Even if you make a new account and use your name, Apple might not allow you to make an account as they can check the cardholder name of the credit card used to pay for the Apple Developer Program. So basically, no, you can't.
@wdelong1008 жыл бұрын
excellent video man, ty !
@MrIrishredDEVIL8 жыл бұрын
great video man but when i stop my simulator on xcode and run my app from my phone it crashes when i click the task button?
@MrIrishredDEVIL8 жыл бұрын
+MrIrishredDEVIL also when i add the text it doesnt display it on my app?
@drhisham84048 жыл бұрын
hi dear . i did your code but i had the error 'NSFetchRequest could not locate an NSEntityDescription for entity name 'listEntity'' help me plz
@dazeofheaven8 жыл бұрын
The line that caused this problem for me in Swift 3, after being corrected, looks like this: "let fetchRequest:NSFetchRequest = NSFetchRequest(entityName: "ListEntity")"
@LuisGuzman-nm5jd8 жыл бұрын
Hi could you help me? i have IOS SDK 8.4 , and i try to use the the following code its not working: do { try managedContext.save() listItems.Append(Item) } catch { print("error...") } the error its in "try" Thank you
@furydash31658 жыл бұрын
Nice video! Every tutorial help me! :D
@Archetapp8 жыл бұрын
Thanks! Glad I could help. :)
@furydash31658 жыл бұрын
No Problem! :) Btw the mini-sound at the beggining is so cool that i'm playing 2000 times the video! xD
@Archetapp8 жыл бұрын
+Furydash Haha, glad you like it! :D
@samprovencher8 жыл бұрын
Enjoying the videos but you might want to pay closer attention to details. tableView.dequeueReusableCell... is not "deck" or even "deque" (which is a thing); I believe it is actually de-queuing a cell off of what is likely a queue; you appear to do this consistently so thought I'd mention it.
@Archetapp8 жыл бұрын
+samuel provencher Thanks for the correction! I'm still learning, so I love being corrected on things that I get wrong, which I'm sure is quite a few things, haha. :)
@samprovencher8 жыл бұрын
+Jared Davidson (Archetapp) No problem at all. Personally, I am new to Swift/iOS but I have a lot of software experience. If you're doing it right, you are always learning, even as you teach others. Keep up the good work.
@dameongraham54478 жыл бұрын
On my saveItem func, it says that it cant convert NSManagedObject to NSManagedObjectContext, on the listItems. append line... Help!
@larachan11696 жыл бұрын
will this work for Swift 4 and xCode9?
@inamulhaq38417 жыл бұрын
Thank you
@Sela70008 жыл бұрын
why its says that it has "no member 'saveItem' when you write self.saveItem(field.text!)?
@flocco25426 жыл бұрын
My app crashed when I clicked the '+' (add) button. However, I fixed the problem by not creating the button via code like you did but by rather creating it in the storyboard and then linking it to the code.
@jancinefranceroque54836 жыл бұрын
How did you fix the code?
@seijiaino21426 жыл бұрын
How did you link the add button to the code?
@seijiaino21426 жыл бұрын
flocco How did you link the add button to your mainstoryboard?
@g.abhisekbunty18278 жыл бұрын
Why don't you make a video on core data relationships?
@rafayel756 жыл бұрын
How make from table view to another table view using core data?
@brynogay63258 жыл бұрын
I have a question about parsing. How can I pull more than 100queries. I messaged you an fb and on trivia crack 3 but never received a response.
@brynogay63258 жыл бұрын
+Bryno Gay I tried query.limit =1000
@TheHkding8 жыл бұрын
thanks you for your help :)
@alex1239958 жыл бұрын
why when I try to delete the first annotation show me an error?
@ots11668 жыл бұрын
I need the link of the code pliz!!!!
@fernandadosreis95348 жыл бұрын
Nice video! thanks :D
@gabocuadros62088 жыл бұрын
Hey jared :D could u post the source code pls ! :) nice video!
@daviddai45168 жыл бұрын
Nice video.
@marwaal-mughairi95997 жыл бұрын
It will be a benefit if you share the data source =)
@dowiee26948 жыл бұрын
How does someone get to be the featured app of the day? I have an app on the App Store. It's called Focus Tasks. (I made it and I am eleven years old.)
@Archetapp8 жыл бұрын
I have a list of apps that people have shared with me over the past few months. I'll be sure to put yours on the list! :D
@dowiee26948 жыл бұрын
+Jared Davidson (Archetapp) the URL is: appsto.re/us/xF8O_.i
@arnavkaushik5078 жыл бұрын
+DAcreatorStudio Me too. I am the same age. I have an app called The Amazing Alphabets. Link = appsto.re/us/FsHv-.i
@dowiee26948 жыл бұрын
cool
@UlissesSant8 жыл бұрын
Thanks man =)
@hennapatodiya98978 жыл бұрын
i got error at this line in this list app. let item = NSManagedObject(entity: entity!, insertIntoManagedObjectContext: managedContext) error:EXC_BAD_INSTRUCTION (code=EXC_1386_INVOP,subcode=0x0) plzzzz give me solution its....
@nish1ify7 жыл бұрын
Same problem! Did u get the solution?
@hennapatodiya98977 жыл бұрын
nope..
@albincr8 жыл бұрын
It would be great if you upload tut files to git hub so everyone can check it out
@theanonymousfoodie89068 жыл бұрын
my rightNavigationBar button is not shown can you tell me what the problem is.
@theanonymousfoodie89068 жыл бұрын
Done!!!!!! , silly mistake from my side , thanks
@Archetapp8 жыл бұрын
+Rohit Kumar Glad you got it fixed! :)
@avishkaa808 жыл бұрын
+Rohit Kumar how did you fix this?????
@theanonymousfoodie89068 жыл бұрын
check your tableview controller
@theanonymousfoodie89068 жыл бұрын
hierarchy
@Samuel_kam8 жыл бұрын
It is excellent wow
@A-Plays7 жыл бұрын
@ Jared Davidson Thank u for Ur useful Videos and Please Add Changes applied To Swift3 To Ur Comments.Thanks In Advance.
@jasonyon63248 жыл бұрын
Can you add a detail view into it? I mean a future tutorial.
@Archetapp8 жыл бұрын
+Jason Yon I can look into that. Thanks for the suggestion! :)
@simran9907 жыл бұрын
let appDelegate = (UIApplication.shared.delegate as! AppDelegate).persistentContainer.viewContext if editingStyle == .delete { //listItems.remove(at: indexPath.row) let list = listItems[indexPath.row] appDelegate.delete(list) (UIApplication.shared.delegate as! AppDelegate).saveContext() } self.tableView.reloadData() make sure to save after whatever you deleted.
@fabiang.8058 жыл бұрын
you dont explain, you just do.... im trying to learn swift, not just replicate your moves. I need to know what happens in this weird syntax lol
@jamalyo63898 жыл бұрын
www.google.com
@asigivati13828 жыл бұрын
Very Nice tutorial. but pls next time talk slower! I saw the video with 50% speed :)
@imanovitz89348 жыл бұрын
You are fast and dont explain much. But it doesnt even work for me. Buuut! I will say, youre good at it, and youtube!
@-unity3ddevelopervrar7537 жыл бұрын
Клево!
@FidelHimself8 жыл бұрын
dequeue ... /dēˈkyo͞o/ deque ... /dɛk/
@icecubez85818 жыл бұрын
Candy crush
@ricefarmxr7 жыл бұрын
3:32 *facepalm*
@misterharshil8 жыл бұрын
Go slow, You're way too fast.
@kreso4637 жыл бұрын
tutorial is good, but talk slower.
@BigOleHeals8 жыл бұрын
Jesus Christ, dude. Could you go any faster? I have to pause the video every 10 seconds to catch up. DISLIKE!!!