Dynamic Application FAQs in SwiftUI
25:58
Stewart Lynch Channel Watcher App
1:44
Місяць тому
Custom Calendar Tallies in SwiftUI
34:51
2 місяці тому
Custom SwiftUI Calendar
20:30
2 місяці тому
7. GitHub Desktop for Macintosh
24:47
2 місяці тому
6. Forking, Issues and Pull Requests
17:59
2 місяці тому
4. Remote Repositories and GitHub
27:06
3 місяці тому
2. Staging and Committing with Xcode
19:42
3 місяці тому
1. Git Introduction and Initialization
20:21
Dynamic Application Warning Alerts
37:42
4 місяці тому
9. SwiftData Storing Images and Bug Fixes
23:15
8. SwiftData   CloudKit
18:20
4 місяці тому
7. App Localizations
18:25
4 місяці тому
6. Swift Data Many to Many relationships
35:20
5. Swift Data One to Many Relationships
25:58
5 місяців тому
КОМЕНТАРІ
@samuelalake1790
@samuelalake1790 День тому
using placemarks loses default styling behavior of map annotations, i.e default tint and icon of annotation. how do i get this back?
@barrywest3270
@barrywest3270 2 дні тому
Hi everyone! I really like this set of tutorials. Much needed for my developement goals. I am having one issue in the Update Section. I am using xCode 15.3 and IOS version 17.4 for my project. In the update section I have followed the coding but I am not getting a preview, having a compile error where it seems that my @State private var ... are causing initializer is inaccessible due to 'private' protection level. Could this be caused by me using the bleeding edge of xCode and IOS ? Am I missing something simple. Thanks
@StewartLynch
@StewartLynch 2 дні тому
My code runs fine on the latest builds so I suggest you recheck your code.
@barrywest3270
@barrywest3270 2 дні тому
@@StewartLynch Thank you sir.
@barrywest3270
@barrywest3270 День тому
Going back over my code I could not find an issue in the code I typed. What I did to resolve this issue is I closed many Chrome Browser Windows and retype the code carefully. I suspect that some kind of issue occurred in XCode and it corrupted the Project File somehow. I used Beyond Compare and I could not find the issue that way, so I just had to recreate the project afresh. Just posted my findings, so that others might better understand my resolution to my issues and may comment as they like.
@gakkieNL
@gakkieNL 2 дні тому
Great content as always!
@StewartLynch
@StewartLynch 2 дні тому
Appreciate it!
@gakkieNL
@gakkieNL 2 дні тому
Great additions to the ScrollView. Excellent video as always. Been away from programming a bit, but getting back up to speed. Gonna catchup with your videos! Thanks
@StewartLynch
@StewartLynch 2 дні тому
Welcome back!
@saodatashurova9430
@saodatashurova9430 2 дні тому
I'm grateful for the knowledge you've shared🤩🤩🤩
@StewartLynch
@StewartLynch 2 дні тому
I'm so glad!
@ColeDano
@ColeDano 2 дні тому
How is it that anytime I need to figure out something, Stewart is there? Very helpful again, thanks. Time to buy you another coffee :)
@StewartLynch
@StewartLynch 2 дні тому
Glad to help!
@StewartLynch
@StewartLynch 2 дні тому
Glad to help!
@robertdavis7262
@robertdavis7262 3 дні тому
Great video. In it you say that you want to specify the inverse relationship between \Genre.books and \Book.genres, but you don't really say why you want to do that?
@StewartLynch
@StewartLynch 2 дні тому
I don’t recall if I ever used this now, but you can specify the inverse to that the relationship can be inferred both ways giving you the ability to perform methods affecting models in both directions
@MelissaBain108
@MelissaBain108 3 дні тому
Thanks again for the videos! The app that I have created has a tabView with 4 tabs. How would I go about this scenario - I would like for the app to open to a specific tab when clicking on the local notification.
@StewartLynch
@StewartLynch 2 дні тому
You can create an observed object with an Int published property that will be initialized as 0 as the selected tab. Inject it into the environment on app launch and bind it to the selection argument of the tab view. Then you can set it to another value from the notification
@AlanRick26
@AlanRick26 3 дні тому
Clear & informative 👏 What l’m missing in this excellent series is a section on what to do when releasing a new version. E.g. What do you do just before uploading to AppStoreConnect, and what do you do after Apple approves? When do you create a release tag? Do you create a new development branch before approval or afterwards? Which steps do you take in Xcode and which in GitHub (or the Xcode repository view)? I might not be alone with these questions 🤔
@andrejkling3886
@andrejkling3886 4 дні тому
Thank you 🎉❤
@andrejkling3886
@andrejkling3886 4 дні тому
Thank you so much Stewart 💯
@andrejkling3886
@andrejkling3886 4 дні тому
Thank you so very much Stewart 🔥💯
@T0WSA
@T0WSA 4 дні тому
Thank you
@ankeecodeverse
@ankeecodeverse 5 днів тому
❤❤
@MelissaBain108
@MelissaBain108 6 днів тому
Thanks for the informative videos! They have really helped. I really appreciate the ability to see a log of the upcoming scheduled notifications. I would love to know if there is a way to print the notification time in the log? I am having some trouble finding out a solution. Do you have any suggestions? TIA
@dibjr
@dibjr 6 днів тому
Stewart, thank you for another great series!
@StewartLynch
@StewartLynch 6 днів тому
You are more than welcome to
@praline313
@praline313 7 днів тому
Hi Stewart! First of all - thank you for this tutorial, it's amazing even for beginners. I'm here because of my friend recommendation and I don't regret it. But I wonder why you used "var" instead of "let" when you declare Entry property in Book struct. I know that it depends how it will be initialized whether it is array or single object, but also it works when I changed it to "let entry: [Entry]". So what is the difference here?
@StewartLynch
@StewartLynch 7 днів тому
If you are going to be modifying the property after initialization it has to be a var
@user-it5bw6em3j
@user-it5bw6em3j 7 днів тому
fabuloso! gracias
@samuelevans9115
@samuelevans9115 7 днів тому
amazing video. this will help so many developers. I have published several updates featuring the knowledge you spread. Could you just answer this brief question: what is your background in regards to swift (have you written swift in a professional setting)?
@StewartLynch
@StewartLynch 7 днів тому
I am an independent developer, so I have not been employed by anyone in an iOS/Swift related position. I am entirely self directed in that respect.
@saodatashurova9430
@saodatashurova9430 7 днів тому
WoooooW🤩🤩🤩
@stelluspereira
@stelluspereira 7 днів тому
Excellent video Mr Lynch, noble work of educating the software dev community, THANKYOU
@isaiasizquierdo3369
@isaiasizquierdo3369 7 днів тому
Thank you
@StewartLynch
@StewartLynch 7 днів тому
You're welcome
@klauszakowski2350
@klauszakowski2350 8 днів тому
Thanks for the great tutorial. I am amazed at how easy the translation into other languages has become. The whole course with SwiftData and SwiftUI is great. Apple's teething troubles are slowly being ironed out. I am currently using Xcode 15.4 Beta for this course;-)). Everything is running great so far.
@stelluspereira
@stelluspereira 8 днів тому
Thankyou Mr Lynch, very clear explanations (all of your videos) I am looking for SplitNavigation view & NavigationStack combination, bit not clear from SwiftUI documentation & how to implement, would care to share snippet of code ?
@StewartLynch
@StewartLynch 8 днів тому
NavigationSplitView will collapse to a NavigationStack when your device is in compact width. Have you seen my video on NavigationSplitView? ukposts.info/have/v-deo/iqOegYKDg253o2Q.html
@stelluspereira
@stelluspereira 8 днів тому
Excellent Sir, Thankyou
@RoxieS-pv4ke
@RoxieS-pv4ke 9 днів тому
I'm trying to make a selection of an array of photos and/or videos using photo poker (as in the threads application) ,,, I know how to do separately only for photos or only for videos, but when I choose both, I ran into a problem,,I don't want to process the video , I can't find suitable information on the Internet, Have you ever done anything like this?
@mkhasson97
@mkhasson97 9 днів тому
Many thanks 😊
@StewartLynch
@StewartLynch 9 днів тому
You're welcome 😊
@reinaldof
@reinaldof 9 днів тому
Great work, Stewart! Loved the enum conforming to the View protocol approach.
@robertdavis7262
@robertdavis7262 9 днів тому
Great video as always. One issue I seem to be having is that after I add a book and update its dateStarted value, then update, then edit the book again to change the status to completed the dateCompleted is initially set to Dec 31, 1 (i.e., in the very distant past). This happens even though I did make the change to add a range as in the video (which worked in the case of dateStarted). When I changed the initial value of dateCompleted to Date.now from Date.distantPast the problem went away and the picker starts at dateStarted as it is supposed to. Have you seen this issue?
@StewartLynch
@StewartLynch 7 днів тому
I think I fix this in a subsequent video
@chipdickinson9301
@chipdickinson9301 10 днів тому
Thank you for all your videos. They have helped me a lot, especially this series. I do have a question, is it possible to have indoor maps (IMDF) with SwiftUI MapKit? I tried to take the Apple Dinoseum UIKit sample and wrap it in a UIViewControllerRepresentable, but I got too many errors.
@StewartLynch
@StewartLynch 10 днів тому
Unfortunately, I have not explored that at all Chip, Sorry
@chipdickinson9301
@chipdickinson9301 10 днів тому
@@StewartLynch No worries. Thanks!
@joywu1
@joywu1 11 днів тому
I had seen your old series in this function(not swift data), but can you add one more function is when I pick the photo will show the photo on map?
@StewartLynch
@StewartLynch 7 днів тому
That would be another level and some reverse geocode lookup on the meta data.
@joywu1
@joywu1 7 днів тому
@@StewartLynch thank you for your explanation, would you have any plans to this function in the future serious?
@StewartLynch
@StewartLynch 7 днів тому
@@joywu1 I have a lot of other videos planned right now but I will add this to my list
@joywu1
@joywu1 11 днів тому
I learning from you a lot, would you guide me how to get photos GPS location when use photopickeritem (or other function) not the user current location? I can't found any other answer on web.
@dirkfu6280
@dirkfu6280 11 днів тому
Hi Stewart, great video again, can't wait to find out what solution you came up with in the camera part, especially because there is no SwiftUI API (yet?). Small nitpick: Instead of Image (uiImage: sample.image == nil? Constants.placeholder : sample.image!) whouldn't be Image (uiImage: sample.image ?? Constants.placeholder) much simpler?
@StewartLynch
@StewartLynch 7 днів тому
You are correct. Simpler indeed
@erisonveshi8406
@erisonveshi8406 11 днів тому
In the locationManagerDidChangeAuthorization(_ manager: CLLocationManager) i think you are omitting the .restricted case to fall under the default case which looks wrong in my oppinion. Other than that amazing series and saved me a bunch of time. Cheers Stewart, thank you for the amazing job you are doing.
@RaethanChristianSupatan
@RaethanChristianSupatan 12 днів тому
Hi! I tried storing multiple photos as an array of data but when I try to display them in a lazyvgrid, the performance of the app become slow. Is there any way to improve performance if there are a lot of photos to be displayed?
@StewartLynch
@StewartLynch 12 днів тому
Do you mean you have a property that is an array of Data? If so, create a new object with a Data property and then store as a one to many relationsip to that object.
@RaethanChristianSupatan
@RaethanChristianSupatan 12 днів тому
@@StewartLynch Is that the reason why performance was slow? Also, can I not store my array of data property to external storage?
@StewartLynch
@StewartLynch 12 днів тому
I have been reading that this is problematic. I have had no issues using one to many releationship.
@RaethanChristianSupatan
@RaethanChristianSupatan 12 днів тому
@@StewartLynch I see tysm!
@raethansupatan7341
@raethansupatan7341 11 днів тому
Is there a way to load the image data asynchronously?
@mkhasson97
@mkhasson97 12 днів тому
Thank you very much for you awersome videos and the perfect explainations
@StewartLynch
@StewartLynch 12 днів тому
Glad you like them!
@RoxieS-pv4ke
@RoxieS-pv4ke 12 днів тому
make a video how to add an array of images or videos to a SwiftData, and I'm wondering right now if I store images not in a Data? but in an URL? ,,, it will be very interesting, there are no such lessons on UKposts
@StewartLynch
@StewartLynch 12 днів тому
This is pretty straight forward. Whether you are saving as a URL or as Data, create a new model for the image. It might only have the single property for the data or url. Then you can link the array to your object as a one to many relationship.
@RoxieS-pv4ke
@RoxieS-pv4ke 11 днів тому
@@StewartLynch yes, but I think the second property needs to be included in the new photo model is ID
@StewartLynch
@StewartLynch 11 днів тому
Id is not necessary a Swift data model already has a record Id.
@RoxieS-pv4ke
@RoxieS-pv4ke 11 днів тому
@@StewartLynch today I will try to change the code a little)) and then I did it in my model using an attribute, it works - adds an array of photos, but when deleting an entry, it throws it out of the application
@StewartLynch
@StewartLynch 10 днів тому
@RoxieS-pv4ke What do you mean, throws it out of the application? What is your delete rule on the relationship?
@dmacharo
@dmacharo 12 днів тому
What a treat! Can't wait for the rest of the series, thanks a million Stuart!
@jamesallison9725
@jamesallison9725 13 днів тому
I am loving the tutorial so far, and learning not only the topic, but lots of little extras as well. One problem I have had so far is that when I relied on the init in the Book class description to populate the optionals, the newBook call in the create button was unjhappy with the optional parameters so I had to define them there in the create code. Is there something wrong with the way I set up the Book init?
@StewartLynch
@StewartLynch 13 днів тому
Not sure I understand the question James. Feel free to email me to follow up
@jamesallison9725
@jamesallison9725 12 днів тому
Ok. I figured it out, no need to reply.
@sergiovinhal5934
@sergiovinhal5934 13 днів тому
Thank you .
@SinghalRishi27
@SinghalRishi27 13 днів тому
Thank you so much for this ☺
@samuelevans9115
@samuelevans9115 13 днів тому
Stewart, you make the most informative videos for swiftui I have ever seen. Thanks!
@StewartLynch
@StewartLynch 13 днів тому
Thank you Samuel. I appreciate the feedback
@user-vf2yy9gq3k
@user-vf2yy9gq3k 14 днів тому
Very useful, thank you so much!
@StewartLynch
@StewartLynch 13 днів тому
Glad it was helpful!
@user-vf2yy9gq3k
@user-vf2yy9gq3k 14 днів тому
Something like notification should not be difficult. You made this so easy!!!! Thank you so much!
@RobertHolzapfel
@RobertHolzapfel 14 днів тому
Why is everybody uploading their packages on GitHub ... at least at first you would prefer somehow store and use them locally! My project can't find the "product" :((
@WattsnabbAB
@WattsnabbAB 14 днів тому
I have to say i wish i had more time to go thru youre video. They are really good for learning!! Thanks for good explanations!
@chuchoonce
@chuchoonce 14 днів тому
I've paid for the "best" content in Udemy and nobody explains like you It's amazing that content like this is free
@StewartLynch
@StewartLynch 14 днів тому
I am glad you are finding it useful
@ar_transilvania
@ar_transilvania 15 днів тому
How can you propagate a logout or login change from within a subview toggle in the appstate environment object without injecting it in every subview?
@ipeerless6717
@ipeerless6717 16 днів тому
@Binding is not used instead of @ObservaedObject not correct
@StewartLynch
@StewartLynch 16 днів тому
I just rewatched that video, and I don’t see where I said that. Can you give me a time stamp? @StateObject -> @ObservedObject but now, @State for an observed object -> @Bindable. @Binding and @Bindable are different
@ipeerless6717
@ipeerless6717 16 днів тому
@@StewartLynch at 00.38 second at the begining of video @BIndable is instead of @observedObject if that correct ?it also instead of @EnvironmentObject or any subview of view or instance of struct or class also ? i think all of them one way binding not two ways binding like new @Bindable . about difference between @Bindable , @Binding is clear thanks for your great content
@StewartLynch
@StewartLynch 15 днів тому
u can inject State objects which are oberved into the environment. As I show at the end of the video, if you want to be alble to update a proprety in an Environment State object, you will need to introduce Bindable into your view and assign the State object to the variable with the Bindable property wrapper. I don’t see where there are any mistakes in my explanation, but if so, I would really like to clear it up.
@ipeerless6717
@ipeerless6717 15 днів тому
@@StewartLynch new property wrapper @Bindable is two ways binding but @ObservedObject is one way binding they are not alternatives for each other u said at 38 second of video first minute
@StewartLynch
@StewartLynch 15 днів тому
I think you are incorrect here. I have a sample project that I would be happy to send to you if you want to reach out to me by email to continue this conversation. It clearly demonstrates the parallels between @State/Observation framework -> @Bindable and @StateObject/@ObservableObject -> @ObservedObject
@1987alejandroivan
@1987alejandroivan 16 днів тому
It would be nice to see this being used in a multi-module app, does it work the same for a module? Are values only accessible inside the actual module or do we have to expose them in the main project for the workspace?