- 68
- 46 298
Swift Odyssey
India
เข้าร่วมเมื่อ 25 ก.ย. 2023
Hurtling through space powered by Swift, SwiftUI & iOS
If you enjoy my content or if it has helped you in anyway, consider supporting me:
🫰🏻 Patreon : patreon.com/adsouza
☕️ BuyMeACoffee: buymeacoffee.com/adsouza
Channel milestones:
100 subs - 18 Feb 2024
200 subs - 28 Mar 2024
300 subs - 10 Jun 2024
400 subs - 18 July 2024
500 subs - 26 Aug 2024
600 subs - 28 Sept 2024
700 subs - 30 Oct 2024
800/900 subs - 23 Nov 2024
1K subs - 25 Nov 2024 🎉
1.5K subs - 30 Dec 2024
If you enjoy my content or if it has helped you in anyway, consider supporting me:
🫰🏻 Patreon : patreon.com/adsouza
☕️ BuyMeACoffee: buymeacoffee.com/adsouza
Channel milestones:
100 subs - 18 Feb 2024
200 subs - 28 Mar 2024
300 subs - 10 Jun 2024
400 subs - 18 July 2024
500 subs - 26 Aug 2024
600 subs - 28 Sept 2024
700 subs - 30 Oct 2024
800/900 subs - 23 Nov 2024
1K subs - 25 Nov 2024 🎉
1.5K subs - 30 Dec 2024
WWE Animation | SwiftUI Tutorial
Learn how to create the flickering text animation seen in the match card for WWE SmackDown. The complete source code including the sample WWE screen is also available for download. Check the links below!
📥 Source code:
🔗 www.patreon.com/posts/wwe-flickering-118148263
🔗 buymeacoffee.com/adsouza/e/346400
⏰ Timestamps:
00:00 Sneak peak
00:20 Create UI
08:10 Sample usage
09:00 Demo time!
📥 Checkout some of my other videos:
👉🏻 TH-cam Animation | SwiftUI Tutorial: th-cam.com/video/oUhDn1NLyw4/w-d-xo.html
👉🏻 Netflix [ ▶ Next Episode ] Button: th-cam.com/video/eI3-SzMquBw/w-d-xo.html
👉🏻 Isometric Animation: th-cam.com/video/hR4g6rgQBio/w-d-xo.html
👉🏻 Scratch Card Effect with Shine, Haptics & CoreMotion (2024): th-cam.com/video/DiHP6WTxiqU/w-d-xo.html
👉🏻 Duolingo Style 3D Buttons🦉: th-cam.com/video/jpRAavqe8p8/w-d-xo.html
✅ Consider SUBSCRIBING to the channel & giving this video a LIKE 👍🏼
🔗 www.youtube.com/@swiftodyssey?sub_confirmation=1
👉🏻 Click the BELL 🔔 icon to be notified of new content!
🌐 Follow me online:
🕸️ www.anupdsouza.com
🔗 swift_odyssey
👨🏻💻 github.com/anupdsouza
🎗️ Support:
☕️ BuyMeaCoffee: www.buymeacoffee.com/adsouza
🤝 Patreon: patreon.com/adsouza
🙏🏼 Thanks for watching
🎶 Music:
Promo Logo
Free for use under the Pixabay Content License
Rooftop by Alex-Productions | onsound.eu/
Music promoted by www.free-stock-music.com
Creative Commons / Attribution 3.0 Unported License (CC BY 3.0)
creativecommons.org/licenses/by/3.0/deed.en_US
Komorebi by | e s c p | www.escp.space
escp-music.bandcamp.com
Synthetic by | e s c p | www.escp.space
escp-music.bandcamp.com
🏷️ Tags: #ios #swiftui #wwe #wweraw #wwesmackdown #rawonnetflix #wweonnetflix #romanreigns #jeyuso #johncena #codyrhodes #yeet #wrestling #wrestlemania #brocklesnar #cmpunk #randyorton #swiftuianimation #wwdc #youtube #wwdc24 #apple #ios #swift #swiftui #xcode #xcode13 #xcode14 #xcode15 #swifttutorial #swiftuitutorial #swiftbasics #swiftuibasics #swiftexample #swiftuiexample #uikit #uikitbasics #uikittutorial #swiftuianimation #tech #uikitanimation #animation #iosapp #mobilegame #swiftcode #iosappdevelopment #mobileappdevelopment #mobileapplications #mobileapps #mobile #developer #development #programming #programmingbasics #intermediateprogramming #advancedprogramming #swiftprogramming #swiftuiprogramming #design #uikitprogramming #code #coding #beginnerprogramming #ui #ux #beginner #intermediate #advanced #tutorial #iostutorial #programmingtutorial #codingtutorial #applicationdevelopment #objectivec #macos #macosdevelopment #macappdevelopment #iphone #iphoneappdevelopment #iphonedevelopment #iphoneos #ipados #iOS13 #iOS14 #iOS15 #iOS16 #iOS17 #iphone13 #iphone14 #iphone15 #iphonexr #iphoneplus #iphonepromax #iphonese #iphonepro #ipad #ipadmini #ipadpro #ipadair #simulator
📥 Source code:
🔗 www.patreon.com/posts/wwe-flickering-118148263
🔗 buymeacoffee.com/adsouza/e/346400
⏰ Timestamps:
00:00 Sneak peak
00:20 Create UI
08:10 Sample usage
09:00 Demo time!
📥 Checkout some of my other videos:
👉🏻 TH-cam Animation | SwiftUI Tutorial: th-cam.com/video/oUhDn1NLyw4/w-d-xo.html
👉🏻 Netflix [ ▶ Next Episode ] Button: th-cam.com/video/eI3-SzMquBw/w-d-xo.html
👉🏻 Isometric Animation: th-cam.com/video/hR4g6rgQBio/w-d-xo.html
👉🏻 Scratch Card Effect with Shine, Haptics & CoreMotion (2024): th-cam.com/video/DiHP6WTxiqU/w-d-xo.html
👉🏻 Duolingo Style 3D Buttons🦉: th-cam.com/video/jpRAavqe8p8/w-d-xo.html
✅ Consider SUBSCRIBING to the channel & giving this video a LIKE 👍🏼
🔗 www.youtube.com/@swiftodyssey?sub_confirmation=1
👉🏻 Click the BELL 🔔 icon to be notified of new content!
🌐 Follow me online:
🕸️ www.anupdsouza.com
🔗 swift_odyssey
👨🏻💻 github.com/anupdsouza
🎗️ Support:
☕️ BuyMeaCoffee: www.buymeacoffee.com/adsouza
🤝 Patreon: patreon.com/adsouza
🙏🏼 Thanks for watching
🎶 Music:
Promo Logo
Free for use under the Pixabay Content License
Rooftop by Alex-Productions | onsound.eu/
Music promoted by www.free-stock-music.com
Creative Commons / Attribution 3.0 Unported License (CC BY 3.0)
creativecommons.org/licenses/by/3.0/deed.en_US
Komorebi by | e s c p | www.escp.space
escp-music.bandcamp.com
Synthetic by | e s c p | www.escp.space
escp-music.bandcamp.com
🏷️ Tags: #ios #swiftui #wwe #wweraw #wwesmackdown #rawonnetflix #wweonnetflix #romanreigns #jeyuso #johncena #codyrhodes #yeet #wrestling #wrestlemania #brocklesnar #cmpunk #randyorton #swiftuianimation #wwdc #youtube #wwdc24 #apple #ios #swift #swiftui #xcode #xcode13 #xcode14 #xcode15 #swifttutorial #swiftuitutorial #swiftbasics #swiftuibasics #swiftexample #swiftuiexample #uikit #uikitbasics #uikittutorial #swiftuianimation #tech #uikitanimation #animation #iosapp #mobilegame #swiftcode #iosappdevelopment #mobileappdevelopment #mobileapplications #mobileapps #mobile #developer #development #programming #programmingbasics #intermediateprogramming #advancedprogramming #swiftprogramming #swiftuiprogramming #design #uikitprogramming #code #coding #beginnerprogramming #ui #ux #beginner #intermediate #advanced #tutorial #iostutorial #programmingtutorial #codingtutorial #applicationdevelopment #objectivec #macos #macosdevelopment #macappdevelopment #iphone #iphoneappdevelopment #iphonedevelopment #iphoneos #ipados #iOS13 #iOS14 #iOS15 #iOS16 #iOS17 #iphone13 #iphone14 #iphone15 #iphonexr #iphoneplus #iphonepromax #iphonese #iphonepro #ipad #ipadmini #ipadpro #ipadair #simulator
มุมมอง: 286
วีดีโอ
YouTube Animation | SwiftUI Tutorial
มุมมอง 1.8Kหลายเดือนก่อน
Learn how to create TH-cam's custom wave 🌊 progress bar animation as seen on Android. If you've ever used an Android device, you'd see this on swiping down the notification panel to reveal the mini-player while a video or song is playing in the TH-cam/TH-cam Music apps. The complete source code including the music player is also available for download. Check the links below! 📥 Source code: 🔗 ww...
ChatGPT Animation | SwiftUI Tutorial
มุมมอง 674หลายเดือนก่อน
Learn how to create ChatGPT's image generation loading animation as seen on Desktop. You'll learn how to create the animation as well as show a progress indicator, so as to use this loader in any project. 📥 Source code: 🔗 www.patreon.com/posts/chatgpt-115400220 🔗 buymeacoffee.com/adsouza/e/327630 ⏰ Timestamps: 00:00 Sneak peak 00:35 Create UI 09:32 Sample usage 10:13 Demo time! 📥 Checkout some ...
Netflix [ ▶ Next Episode ] Button | SwiftUI Tutorial
มุมมอง 6202 หลายเดือนก่อน
Learn how to create Netflix' Next Episode button in SwiftUI. You'll learn how to create, style & display the button using button style modifiers, control the visibility, fill effect animation as well as execute a function once the animation completes. 📥 Source code: 🔗 www.patreon.com/posts/netflix-next-113404148 🔗 buymeacoffee.com/adsouza/e/312999 ⏰ Timestamps: 00:00 Sneak peak 📥 Checkout some ...
Isometric Animation using Shape & AnimatablePair | SwiftUI Tutorial
มุมมอง 1.1K3 หลายเดือนก่อน
Recreating a cool isometric Rive animation in SwiftUI ! 📥 Rive animation: 🔗 rive.app/community/files/11887-22680-jake-in-motion-tutorial/ 📥 Source code: 🔗 www.patreon.com/posts/isometric-using-112230891 🔗 buymeacoffee.com/adsouza/e/304665 ⏰ Timestamps: 00:00 Sneak peak 00:17 Create UI 06:30 Demo time! 📥 Checkout some of my other videos: 👉🏻 Scratch Card Effect with Shine, Haptics & CoreMotion: t...
Scratch Card Effect with Shine, Haptics & CoreMotion (2024) | SwiftUI Tutorial
มุมมอง 1K3 หลายเดือนก่อน
Learn how to create the scratch card effect in SwiftUI using simple paths & the mask modifier. We'll also add a cool shine effect, detect scratched amount, add haptic feedback on scratching as well as motion tilt using CoreMotion. 📥 Source code: 🔗 github.com/anupdsouza/ios-scratch-card-view ⏰ Timestamps: 00:00 Sneak peak 00:25 Create UI 09:00 Add shine effect 13:00 Add haptic feedback 13:20 Add...
Duolingo Style 3D Buttons🦉 | SwiftUI Tutorial
มุมมอง 9844 หลายเดือนก่อน
Duolingo Style 3D Buttons🦉 | SwiftUI Tutorial
Gemini 1.5 Flash⚡️Multimodal Chatbot | Analyze Documents, Images & Video | SwiftUI Tutorial
มุมมอง 7364 หลายเดือนก่อน
Gemini 1.5 Flash⚡️Multimodal Chatbot | Analyze Documents, Images & Video | SwiftUI Tutorial
Video Calling app on iOS using ZEGOCLOUD API | Swift Tutorial
มุมมอง 9246 หลายเดือนก่อน
Video Calling app on iOS using ZEGOCLOUD API | Swift Tutorial
Parallax Effect | SwiftUI Tutorial | What's New in SwiftUI | WWDC24 Developer Sessions
มุมมอง 1.2K6 หลายเดือนก่อน
Parallax Effect | SwiftUI Tutorial | What's New in SwiftUI | WWDC24 Developer Sessions
Zoom Navigation Transition on iOS 18 | SwiftUI Tutorial | What's New in SwiftUI | WWDC24
มุมมอง 1.7K6 หลายเดือนก่อน
Zoom Navigation Transition on iOS 18 | SwiftUI Tutorial | What's New in SwiftUI | WWDC24
Apple Intelligence WWDC24 | 1 minute recap
มุมมอง 1326 หลายเดือนก่อน
Apple Intelligence WWDC24 | 1 minute recap
Tic Tac Toe vs Gemini AI on iOS | SwiftUI Tutorial
มุมมอง 7566 หลายเดือนก่อน
Tic Tac Toe vs Gemini AI on iOS | SwiftUI Tutorial
Multimodal Chatbot with Gemini API using the Vertex AI for Firebase SDK on iOS | SwiftUI Tutorial
มุมมอง 1.1K7 หลายเดือนก่อน
Multimodal Chatbot with Gemini API using the Vertex AI for Firebase SDK on iOS | SwiftUI Tutorial
Chatbot in 15 mins on iOS using Firebase Gemini API Extension | SwiftUI Tutorial
มุมมอง 1.3K8 หลายเดือนก่อน
Chatbot in 15 mins on iOS using Firebase Gemini API Extension | SwiftUI Tutorial
Microsoft Bing Puzzle Game on iOS | SwiftUI Tutorial
มุมมอง 9278 หลายเดือนก่อน
Microsoft Bing Puzzle Game on iOS | SwiftUI Tutorial
Storybook app powered by Gemini AI & Dall-E on iOS | SwiftUI Tutorial
มุมมอง 3.1K9 หลายเดือนก่อน
Storybook app powered by Gemini AI & Dall-E on iOS | SwiftUI Tutorial
Murder Mystery Game powered by Gemini AI on iOS | SwiftUI Tutorial
มุมมอง 1.3K10 หลายเดือนก่อน
Murder Mystery Game powered by Gemini AI on iOS | SwiftUI Tutorial
Google Carousal Effect on iOS | SwiftUI Tutorial
มุมมอง 88210 หลายเดือนก่อน
Google Carousal Effect on iOS | SwiftUI Tutorial
Horoscope App with Gemini AI on iOS | SwiftUI Tutorial
มุมมอง 1.5K11 หลายเดือนก่อน
Horoscope App with Gemini AI on iOS | SwiftUI Tutorial
Text & Image (multimodal) streaming Chat with Gemini AI on iOS | SwiftUI Tutorial
มุมมอง 1.9Kปีที่แล้ว
Text & Image (multimodal) streaming Chat with Gemini AI on iOS | SwiftUI Tutorial
Multi-turn Chat with Gemini AI on iOS | SwiftUI Tutorial
มุมมอง 1.5Kปีที่แล้ว
Multi-turn Chat with Gemini AI on iOS | SwiftUI Tutorial
Gemini AI on iOS with SwiftUI (Tutorial)
มุมมอง 4.6Kปีที่แล้ว
Gemini AI on iOS with SwiftUI (Tutorial)
GTA 6 Logo Tutorial in SwiftUI | Gradients, InsettableShape & Overlays !
มุมมอง 204ปีที่แล้ว
GTA 6 Logo Tutorial in SwiftUI | Gradients, InsettableShape & Overlays !
Swift Logo Drawing using Shape in SwiftUI
มุมมอง 308ปีที่แล้ว
Swift Logo Drawing using Shape in SwiftUI
Screenshot iOS Simulator with Device Bezels !
มุมมอง 1.7Kปีที่แล้ว
Screenshot iOS Simulator with Device Bezels !
Not a full proof solution, it leaves a shadow around the bezel
OG my man!
Thank you ! 🙌🏼
Omg such a cool effect! Thank you! This is gonna be such a nice feature in my app, you’re a star!!!
I'm glad you like it
Epic !❤
Thank you!
Hi, this looks amazing!! I’m really bad at math so thanks for providing the code to rotate and scale the moon. Super creative SwiftUI solution and much better than creating in AE or Motion and creating a lottie file. Keep going!!
Thank you. And yes, nowadays a lot of folks might prefer going the Lottie way but nothing like creating it natively using SwiftUI! I find it a fun little exercise to try every now and then :)
Hey Swift Odyssey, thanks for another LIT tutorial, I really love the effects you create, especially the shine effect! I will DEFINITELY find a way to sneak it into my current project! I find it really interesting how you do the scratch card effect by gathering a list of points when it is dragged, then masking that with a thick line built with those points. Personally I’d use a completely different approach though: I’d use the PencilKit module which includes a PKCanvasView that allows the user to draw. It is a UIView so needs to be put in a UIViewRepresentable so it can be used in a SwiftUI context. It’s used in loads of different drawing apps and stuff, and how I’d do this create a FrontCardView with the rectangle and the pokemon logo, then a BackCardView which takes in the pokemon name (used to fetch image) and the colour. Then in the ZStack put the BackCardView on the bottom and the FrontCardView on top, and mask the front card view with a canvas view (PKCanvasView in a UIViewRepresentable). You can also set properties of the PKCanvasView in representable, such as the tool width to make your line thicker. This way, the front card only appears in the canvas view’s opaque areas and creates the look you want. If you’re mire interested in making the canvas view I write an article in how to use PKCanvasView with SwiftUI. (Just note your toolPickerShows would be .constant(false) and although I haven’t checked it, but I think you could either set the size of CanvasView with .frame or put it in the ZStack where it pushes out to the ZStack’s size. Article link: medium.com/@danielcrompton5/create-a-drawing-app-with-pencilkit-more-5c5a2a8a4738 Have a nice day!
Hey Daniel, I read your article and it's an interesting approach! I haven't really used PencilKit to be honest but I do think that it lends itself naturally towards drawing apps. For the purpose of the scratch card, I wanted to show a simpler way to achieve the effect as the surface area is much smaller. One improvement would be to combine it with CAEmitter's to probably show the scratched off particles flying off in different directions. I haven't gotten to it yet, but I might with some more time on my hands :)
woooooooow
@@Algorithmswithsubham thank you! Do leave a like and consider subscribe if you haven't already.
@@swiftodyssey i do
Can you restrain the chatbot only to information in firebase ?
Hi! As far as I know you can't. The extension acts as an intermediary to the LLM hence the information would not be restricted.
awesome effect thank you :)
Glad you like it! Do consider giving the video a like & subscribing to my channel 🙂
Latest version 👉🏻 th-cam.com/video/DiHP6WTxiqU/w-d-xo.html
Awesome!! I love the motion tilt, it just makes apps so more dynamic
Thank you! I agree, when done right it can transform user experience.
@@swiftodyssey You may have heard of an app for Mac called CleanMyMacX (or even have it) but when it is ‘cleaning’ (or searching the hard disk) it shows an icon that loops round in circles with an animation and a shadow appears when the animation reaches the bottom half of the circle. I’m sorry if you can’t imaging what I mean, just don’t worry about it, but I feel inspired to make something like that in SwiftUI.
Yeah I've heard of it but never used it so I'm having a hard time imagining 😁 Feel free to drop a video link if you can find one of the app in action or upload a short video and share it here. I'll probably look at some videos & see if I get what you mean.
@@danielcrompton7818I looked at a few videos on TH-cam but none showed the animation you mentioned. Also it seems that the software has been updated. If you've got the version number of the app you use, I could download it and check out the animation.
Swift Odyssey, yoo this video is heat
Thank you for your kind words!
OMG, you saved me SO MUCH TIME. Thank you very much for this.
You're welcome! Do leave a like and consider subscribing 🙂
Can yo do another video and show connecting to a quiz and then go to the next lesson like Duolingo for swiftUI please?
@@SwiftCoding55-x9f Hi ! There are already solutions provided for your use case on StackOverflow. Check NavigationStack & NavigationLink
@@swiftodyssey Can you provide the link please. Also, really good video you have gained a new subscriber.
good video
@@paschalkings8184 Thank you!
Great looking app! I’d love a tutorial on how to make it!!
Thank you Daniel ! The video is linked in the short, or you can click here for the full tutorial: th-cam.com/video/dMT4STrgquQ/w-d-xo.html
@@swiftodyssey 😅😝😁 Thanks!! I didn’t notice
This is awsome!?
Thank you so much !
@@swiftodyssey no problem!
Very interesting solution and a really creative idea!! Thanks 🙏 for your time and efforts creating TH-cam videos, worth a like and sub!
Thank you Daniel ! I'm glad you liked the video & I appreciate your support 🙂
👍
Thank you ! Do leave a like and subscribe for more interesting content 🙂
Hey, how to use tabview with tab ?? From recent new update
Hi deepjyoti ! I believe there are already articles & videos on this topic. However, if you'd like me to create one, let me know.
İ love your content❤
Thank you my friend 🙂 Do subscribe if you haven't already & share with others too!
· Get 10000 free mins with UIKits: bit.ly/3XBEuGk · Learn more about ZEGOCLOUD: bit.ly/45K5FR6 · 100% customized video call SDK: bit.ly/4clivrG · How to build iOS video call App: bit.ly/3VEHJKx ZEGOCLOUD video call SDK & API allows you to easily build your live video chat apps within minutes.
Is it possible create an App Store Like App, with this metod ? 😮
Hi ! Yeah of course. You could create a scroll/carousel of featured apps for example and on click use the zoom navigation transition to show an app details screen.
Does not lool smooth. I think using matchedgeometryeffect would be way smoother
Its true that it's sort of 'limited' in a sense. I also love MatchedGeometry & use it extensively, however I've often run into issues when using it inside NavigationStack for instance. I'm still playing around with it for now.
@@swiftodyssey thanks for sharing new features
@@RussChannel13 you're welcome, happy coding !
great game i love it, thx for all
You're welcome ! 🙂
Hi, I'm getting the error Argument type 'ModelContent.Part' does not conform to expected type 'PartsRepresentable' in the compression code. Can you pls explain why?
Hi @Navy-729 ! It seems the issue occurs in the latest version of the SDK v0.5.4 as of this writing while the tutorial used v0.4.4 when published. I've fixed the issue & pushed changes to use the latest version of the SDK here: github.com/anupdsouza/ios-gemini-chat/tree/multimodal Please take the latest source code from here. Hope this helps, & do consider subscribing to my channel if you found the content useful !
@@swiftodyssey thanks a lot!!!
@@Navy-729 you're welcome!
@@swiftodyssey One more thing: while the code works and I tested it, the model does not keep track of the context of the previous messages and cannot build off of prior responses. I was thinking that I would append the history of each message prior to the user's message, but is there a more efficient way to do this?
@@Navy-729 Yes, you can. You need to initialise a `Chat` instance for that. Take a look at the text-only chat with Gemini video here where I make use of it: th-cam.com/video/VO3YGN2UuHc/w-d-xo.html At the time of that video, the SDK wouldn't support text & media based interactions but more recently, it seems that the SDK is able to manage it. You may need to play around a bit to figure things out. Here's how Google does it using the vertex sdk but the code is almost exactly the same firebase.google.com/docs/vertex-ai/chat?platform=ios. Also take a look at my vertex ai video on how to send photo & video media from this point onwards th-cam.com/video/aEMGUF7Smro/w-d-xo.html. Do note that the context for the model is limited to a certain extent depending on the gemini model you use such as pro or flash. I might update this sample when I get some time. In case I do, I'll drop a line here. Hope this helps!
hey do you know how to upload image to the firebase like i want to use a profile image and want to use that images among the leaderboard of the active users
Hey! That would require working with Firebase Storage. Check out the documentation here: firebase.google.com/docs/storage/ios/upload-files . Consider subscribing to my channel if you haven't 🙂
@@swiftodyssey Thanks , I have subscribed already
How can I do the same with UI kit ? Can you also do it with UI kit ?
Hi ! The gemini SDK will work the same way with UIKit since the AI request code is not UIKit dependent. Once you get the AI response, you can display it in a UITextView or UILabel connected to, for instance an IBOutlet. Is there any particular challenge that you are facing? Let me know, and do subscribe to the channel if you haven't already :)
I!m getting error creating story ,please try again later why ?
Hi! There are a couple of reasons for this. #1. If there was an issue getting a story from Gemini API which could be due to incorrect api key, api response limits or incorrect json data OR #2. If there was an error retrieving images for the story received in step #1. This can happen if you dont have the a proper Open AI secret key, there is a rate limit or you don't have enough credits for Dall E to generate images. I'd advise setting a breakpoint in the code and checking the execution step by step.
@@swiftodyssey Hello, -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = <null selector>, customInfoType = UIEmojiSearchOperations im getting this error i search this error nothin help can you help please!
That is unrelated to the issue. Set a breakpoint at line #49 here github.com/anupdsouza/ios-gemini-storybook/blob/main/Storybook/Storybook/Library.swift and check the response you receive from Gemini. If all is well, you should see the story printed via the print statement at line #63. Next, see if you get an error printing at line #73 & #88. That will execute if there was an issue creating images.
@@swiftodyssey thank you it’s showing green thread 1 breakpoint 49,73 what does it mean
very good bro but Dall-E very expensive , do you have any suggestions, an api where we can create a more appropriate picture?
Hello! All the good ones are paid & lack a free trial.
wow is very interesting... thanks for sharing
Thank you! Do consider subscribing to the channel !
It seeems something has changed in their API - it worked 2 weeks ago and now stopped working. You can chat but cannot get data on any image. Do you know something about it?
Hi. Something is definitely broken with the SDK when using images. I've reported an issue on the SDK page on Github. Hopefully someone from the dev team can identify the problem. I will post an update here as & when I receive it. Thanks for bringing attention to this, also don't forget to subscribe to the channel :)
Hi, I tested with both the 0.4.4 version of the SDK used in this video as well as the latest 0.4.8 and I no longer see error 500 in the responses. The issue was temporarily occurring due to service related issues which are now resolved: github.com/google/generative-ai-swift/issues/122
I love it! Specially the way you use for saving api key helped a lot.
Glad it helped!
Yes, for sure! That is how it's recommended in the Gemini Documentation
"APIKey" cannot find in scope , xcode said. But I already imported googlegenerativeAI to my chatService file. private var proVisionModel = GenerativeModel(name: "gemini-pro-vision", apiKey: APIKey.default) but this code is not working. It says cannot find in scope. I am not sure whre I put my API Key. Can you explain for me ?
Hi ! So there are 2 parts to this. The first is a config plist file where the key is stored and the second part is the APIKey.swift helper file which helps to read the key from the plist. I have shown this in detail in my starter video here th-cam.com/video/X-zs-wa6j28/w-d-xo.htmlsi=vFy-0KAK1e4lP5ix & I'd highly recommend that you begin with that video first to understand the setup better. Alternatively, you can also download the code github.com/anupdsouza/ios-gemini-chat/tree/multimodal and copy your api key in the Generative AI plist file and play around. Hope this helps 🙂
Thank you so much buddy. Appreciated :)@@swiftodyssey
@@EnesTalhaUçar You're welcome! Do leave a like & consider subscribing if you found the videos helpful. 🙂
2022:Gemini horoscope 2023:Gemini Google⭐️