Karin Prater
Karin Prater
  • Видео 109
  • Просмотров 876 398
AI on Mac Made Easy: How to run LLMs locally with OLLAMA in Swift/SwiftUI
Running AI on Mac in your Xcode projects just got simpler! Join me as I guide you through running Local Large Language Models (LLMs) like llama 3 locally on your Mac with OLLAMA. In this video, I’ll walk you through installing OLLAMA, an open-source platform, and demonstrate how you can integrate AI directly into your Swift and SwiftUI apps.
Whether you’re dealing with code, creating new applications, or simply curious about AI capabilities on macOS, this tutorial covers everything from basic setup to advanced model configurations. Dive into the world of local AI and enhance your apps’ functionality without the need for extensive cloud computing resources. Let’s explore the potential of l...
Просмотров: 3 289

Видео

WWDC24: Key Updates for macOS Development with SwiftUI
Просмотров 2,2 тыс.Месяц назад
What's New in macOS 15 for SwiftUI development with WWDC24. In this video, I dive into the exciting new features coming to macOS 15 for SwiftUI development, as announced at WWDC24. We'll explore new APIs for window management, keyboard input, tab views, and much more. I'll also show you some practical demos using Xcode 16 and macOS 15 beta to illustrate these enhancements. This video is perfect...
Get Ready For WWDC 2024: Updates, AI, and Developer Predictions
Просмотров 2,5 тыс.Месяц назад
Get ready for WWDC 2024! 🎉 If you’re gearing up for the latest and greatest in Apple’s software development, you’ve come to the right place. In this video, I’ll be diving into what to expect, how I prepare, and some exciting predictions for what could be unveiled at this year’s event. 🔍 What’s Inside: - Predictions for WWDC 2024: Join me as I share my thoughts on potential updates, focusing on ...
Make a macOS app PART 2: Keyboard Shortcuts, Settings Window and Menu Bar Extra - SwiftUI tutorial
Просмотров 2 тыс.2 месяца назад
In this 2nd part of our SwiftUI series on building a macOS app, I dive deeper into enhancing the functionality of our screenshot application. If you’ve ever wanted to streamline your workflow or integrate more advanced features into your macOS apps, this tutorial is tailored for you. What You’ll Learn: 1. Global Keyboard Shortcuts: I’ll show you how to implement global keyboard shortcuts that a...
Make a MacOS App from Start to Finish with SwiftUI - Screenshot app - PART 1
Просмотров 11 тыс.2 месяца назад
Start macOS app development in this SwiftUI tutorial where I guide you through creating a screenshot app from scratch. Learn how to leverage command line tools for powerful functionality, manage images with NSPasteboard, and enhance your app’s interface with SwiftUI’s LazyVGrid and drag-and-drop features. This is the first part of a series where you will learn about macos app develeopment. This...
XCTest Tutorial: How to add automated UI tests for Better iOS App Quality - Swift - SwiftUI - Xcode
Просмотров 2,9 тыс.4 месяца назад
In this XCTest Tutoria tutorial, I guide you through the steps to add automated UI tests to your iOS app using XCTest in Xcode. You’ll learn the importance of testing your SwiftUI app under various data loads to ensure optimal performance and quality. You’ll discover how to: - Write UI tests using XCTest for UI testing. - Set up your Xcode project with the necessary test targets. - Run tests on...
The Essentials of SwiftUI View Identity: How to Ensure Reliable View Updates Across Your iOS Apps
Просмотров 1 тыс.4 месяца назад
Discover the core principles of SwiftUI view identity and master the art of maintaining consistent and reliable view updates in your iOS app. In this SwiftUI tutorial, I delve into the critical concept of view identity, which plays a pivotal role in SwiftUI, ensuring your app’s interface reflects data changes accurately and efficiently. Whether you’re dealing with lists, popovers, sheets, or ma...
SwiftUI Performance Optimisation: How to manage Data Flow and UI Updates in your iOS and macOS apps
Просмотров 2,4 тыс.4 месяца назад
How to optimize data flow and managing UI updates efficiently in SwiftUI. In this tutorial, I dive into the common performance pitfalls when working with complex UIs, large images, and view updates in SwiftUI. 🚀 What You’ll Learn: - Understanding SwiftUI’s automatic UI updates with ObservableObject - Strategies for reducing unnecessary view refreshes - How to manage complex data sets without co...
From Slow to Fast: Profiling SwiftUI Applications for Peak Performance - SwiftUI Testing Tutorial 1
Просмотров 2,6 тыс.4 месяца назад
Are you tired of your SwiftUI app’s performance not living up to your expectations? In this deep-dive tutorial, I walk you through three powerful strategies to pinpoint and squash performance issues in SwiftUI 🚀. You’ll learn how to use Instruments, debugging in Xcode, and visual cues to optimize your app’s efficiency. Stop guessing and start mastering the art of SwiftUI performance! In this vi...
How to Make a Color Picker with ScrollView, Scroll Position and Visual Effects - SwiftUI iOS 17
Просмотров 1,6 тыс.8 месяцев назад
In this SwiftUI tutorial, I’ll show you how to create a custom color picker with scroll position and visual effects using SwiftUI in iOS 17. With the new features introduced in iOS 17, you can now easily track the scroll position and create a fancy color picker. First, we’ll explore the default color picker in iOS and learn how to customize its appearance. Then, we’ll dive into creating our own...
How to translate and localize an iOS app with string catalogs in Xcode 15
Просмотров 11 тыс.10 месяцев назад
In this tutorial, I show you how to translate and localize an iOS app with string catalogs in Xcode 15. Localizing your app and managing string resources can be a difficult task, but with the new string catalogs feature in Xcode 15, it has become much easier. In this video, I walk you through the process of working with string catalogs and converting an existing project. First, I demonstrate ho...
How to Save and Manage Data with Core Data in Swift - SwiftUI Basics Tutorial 2023
Просмотров 14 тыс.11 месяцев назад
Are you struggling to find an efficient and easy way to save and manage user data in your Swift app? - In this tutorial, we’ll dive into the basics of Core Data, a powerful framework that allows you to save or cache data locally on the device. In a previous tutorial, I created a macOS/iOS task manager app and encountered challenges with filtering data streams. To overcome this, we’ll transform ...
Beyond Basics: Can SwiftUI Handle the Challenge of Complex macOS Apps?
Просмотров 5 тыс.11 месяцев назад
Are you a macOS enthusiast looking to create your first macOS app? Unsure about whether to use SwiftUI or AppKit? I've developed three rather complex apps with SwiftUI, and in some cases, I had to transition to AppKit. In this video, I'll share my experiences and provide a review of SwiftUI for macOS. I'll highlight what to be cautious of, the advantages, and the aspects that might not work as ...
How to build a macOS app for beginners (2023, Swift, SwiftUI, Xcode 15) - mac development course
Просмотров 40 тыс.11 месяцев назад
Build your first macos app with SwiftUI. In this mini course, I'm excited to provide you with a foundational introduction to creating macOS applications using Swift and SwiftUI within Xcode 15. Whether you're taking your first steps into programming or venturing into the realm of macOS development, this video is tailored to give you a head start in 2023. This tutorial serves as your stepping st...
I converted a Core Data to SwiftData: Here is what happened - Xcode 15 Beta 5
Просмотров 7 тыс.11 месяцев назад
Core Data and SwiftData are both frameworks that help you store the user's data in a SwiftUI application. In this video, I share my experience of converting a complex Core Data project to SwiftData. I discuss the advantages, missing features, and issues I encountered during the process. I aim to provide a comprehensive comparison between Core Data and SwiftData, showcasing the similarities and ...
How to use SwiftData with Previews - Xcode 15 beta 5 - Preview Container and Sample Data
Просмотров 4,2 тыс.11 месяцев назад
How to use SwiftData with Previews - Xcode 15 beta 5 - Preview Container and Sample Data
SwiftData Tutorial: How to Easily Persist Data in SwiftUI - Xcode 15 - Swift
Просмотров 17 тыс.Год назад
SwiftData Tutorial: How to Easily Persist Data in SwiftUI - Xcode 15 - Swift
Advanced SwiftUI Tutorial: Build a Complex App with Swift Charts for iOS 17 & macOS (Xcode 15 2023)
Просмотров 15 тыс.Год назад
Advanced SwiftUI Tutorial: Build a Complex App with Swift Charts for iOS 17 & macOS (Xcode 15 2023)
Introduction to SwiftCharts: Creating Charts and Graphs in SwiftUI
Просмотров 13 тыс.Год назад
Introduction to SwiftCharts: Creating Charts and Graphs in SwiftUI
SwiftUI Search Bar - How to work with searchable in your iOS and macOS apps
Просмотров 7 тыс.Год назад
SwiftUI Search Bar - How to work with searchable in your iOS and macOS apps
SwiftUI Data Flow with the new Observation - simpler SwiftUI code and improved performance in iOS 17
Просмотров 15 тыс.Год назад
SwiftUI Data Flow with the new Observation - simpler SwiftUI code and improved performance in iOS 17
How to use SwiftUI Table on macOS and iOS
Просмотров 7 тыс.Год назад
How to use SwiftUI Table on macOS and iOS
SwiftUI in Action: A Deep Dive into Action Sheets and Confirmation Dialog
Просмотров 1,3 тыс.Год назад
SwiftUI in Action: A Deep Dive into Action Sheets and Confirmation Dialog
How to Show SwiftUI Alerts with Buttons, Textfields and Error Messages
Просмотров 2,9 тыс.Год назад
How to Show SwiftUI Alerts with Buttons, Textfields and Error Messages
SwiftUI Menu and Context Menu: How to Show Buttons with Dropdown Lists
Просмотров 8 тыс.Год назад
SwiftUI Menu and Context Menu: How to Show Buttons with Dropdown Lists
How to work with SwiftUI Popovers and Popups
Просмотров 7 тыс.Год назад
How to work with SwiftUI Popovers and Popups
SwiftUI Presentations with Modals, Bottom Sheets, and FullScreen cover in iOS
Просмотров 10 тыс.Год назад
SwiftUI Presentations with Modals, Bottom Sheets, and FullScreen cover in iOS
SwiftUI TabView Tutorial - How to work with Tab Bar Navigation, Page Style, and tab items
Просмотров 20 тыс.Год назад
SwiftUI TabView Tutorial - How to work with Tab Bar Navigation, Page Style, and tab items
Decoding WWDC 2023: Insights and Highlights for Developers - SwiftUI News
Просмотров 2,2 тыс.Год назад
Decoding WWDC 2023: Insights and Highlights for Developers - SwiftUI News
SwiftUI Tips and Tricks: Coding Review of Apple´s Scrumdinger Project
Просмотров 3,3 тыс.Год назад
SwiftUI Tips and Tricks: Coding Review of Apple´s Scrumdinger Project

Комментарии

  • @balabuyew
    @balabuyew День назад

    1) Cannot find any information of how to scroll a Table using scrollPosition modifier both horizontally and vertically at the same time. Suppose I want to ensure that the 15-th column cell of 10-th row is shown on the screen. It seems that ScrollPosition structure does not provide any proper API. 2) Also, it's interesting how the system fills ScrollPosition structure after scrolling via mouse or gesture. When the top item is shown only partially, for example.

  • @MrOktony
    @MrOktony 2 дня назад

    Warning about using Ollamac app: Once you quit the application, the app is still using the memory. You have to restart the Mac to free up the memory...

  • @OpiumSmoke8971
    @OpiumSmoke8971 4 дня назад

    I have been up nights with garbage AI and this woman helped in an hour im talking many countless great projects that failed omg. Thank you so. much I dont trust machines esp AI their code is trash. I love how you did the nav split view or nav stack well I never understood I was good at c++ and not objc and swift mostly all cli mips lua guys I legit wasted nights so frustrated my mac probably wanted to cry .. You really have to just know and can't copy paste. Thanks again

  • @aleksandrkravtsov8727
    @aleksandrkravtsov8727 5 дней назад

    perfect explanation

  •  6 дней назад

    Awesome video! Vielen Dank 🙏

  • @AndyJMacLeod
    @AndyJMacLeod 7 дней назад

    I'm struggling to figure-out the best option for navigation when I have a mixture of non-value and value based navigation... and there's no tutorials on it. For example, to get to my main settings screen I use traditional destination based navigation links. But deeper in, I'm using value based navigation. It turns-out you cannot used the "dismiss" action with the isPresented navigationDestinations... and everything just becomes more messy that it needed to be.

  • @charliecho5392
    @charliecho5392 8 дней назад

    47:50 "That's what they do with flashcards," haha, that was hilarious.

  • @leynercastillo
    @leynercastillo 8 дней назад

    Your content was the only that it helps me to fix my issue with my TabView without using UIKit components. Thanks

  • @LyricsVideo4U
    @LyricsVideo4U 9 дней назад

    01:14 Great stuff, keep it up

  • @sonnyramen
    @sonnyramen 10 дней назад

    Anyone knows Why can’t I see the subtitles? ? ?

  • @khermawan
    @khermawan 11 дней назад

    Ollamac and OllamaKit creator here! 👋🏼 Great video, Karin!! ❤

  • @kimsanov
    @kimsanov 12 дней назад

    The best Charts tutorial ever! Thank you!

  • @byaruhaf
    @byaruhaf 12 дней назад

    Hi Karin, have your views on Swift Combine changed in 2024? Do you think it's still worth investing time to learn Combine?

  • @dranoel8177
    @dranoel8177 12 дней назад

    Your mouth noises are so annoying but your video is great. Please fix this for later and thanks a lot for the help, you made my day !

  • @kimsanov
    @kimsanov 13 дней назад

    Thanks for great video! At 01:03:49 dividing by count could crash if sales on real data will be 0. I usually use guard count ≠ 0 else return {0.0} in average functions. And grouping in dict could be also implemented via Dictionary(groupBy:) initializer

  • @sownhere
    @sownhere 13 дней назад

    Hi Karin, what are u thinking about if i do it by swift, It harder than swiftUI, isn't it. can u give me sowe advice. Thank you so much. Hope you see and answer me soon.

  • @marceljaeger
    @marceljaeger 14 дней назад

    There can't be enough "cat".🤩😂

  • @ekarademirr
    @ekarademirr 17 дней назад

    Thank you 😍

  • @ananda7086
    @ananda7086 17 дней назад

    Could we have multiple navigation stacks in a SwiftUI app? Let's say I have a login flow, onboarding flow, and the main app flow. Could I use a navigation stack in the root view of each flow or just have one Navigation stack enum that covers all the flow in the app.

  • @andrelabbe5050
    @andrelabbe5050 17 дней назад

    I enjoyed the video. Easy to understand and most importantly showing what you can do without to much hassle with a not too powerful MacBook. From the video I believe I have the same model as the one you used. I do like the idea of setting preset for the 'engine'. I do use the Copilot Apps. I can then check how both perform for the same question. I have just tested deepseek-coder-v2 with the same questions as you... Funny thing, it is not exactly the same answer. Also on my 16Gb Mac,,, The Memory activity get a nice yellow colour. Sadly contrary to the Mac in the video, I got more stuff running in the background like Dropbox, etc... Which I cannot really kill just for the sake of it,

  • @mindrivers
    @mindrivers 18 дней назад

    Dear Karin, Could you please advise on how to put my entire Xcode project into a context window and ask the model about my entire codebase?

  • @bobgodwinx
    @bobgodwinx 18 дней назад

    LLMs have a long way to go. 4GB to run a simple question is a no go. The have to reduce it to 20MB and people will start paying attention.

  • @millie6781
    @millie6781 19 дней назад

    Thank you so much it is very helpful☺

  • @juliocuesta
    @juliocuesta 20 дней назад

    if i understood correctly. The idea could be to create an app for macOS that includes some function that requires a LLM. The app is distributed without the LLM. The user is notified that said function will only be available if download the model. This message should be implemented in a View that contains a button that will download the file and configure the macOS app to start its use.

  • @midnightcoder
    @midnightcoder 20 дней назад

    Any way of running it on iOS?

    • @EsquireR
      @EsquireR 15 дней назад

      Only watchos sorry

  • @guitaripod
    @guitaripod 20 дней назад

    wondering what it'd take to get something running on iOS. Even with 2B it might prove useful

  • @officialcreatisoft
    @officialcreatisoft 20 дней назад

    I've tried using the LLM's locally, but I only have 8gb of ram. Great video!

    • @SwiftyPlace
      @SwiftyPlace 20 дней назад

      Unfortunately, Apple made the base models with 8GB. A lot of people have the same problem as you.

    • @jayadky5983
      @jayadky5983 20 дней назад

      I feel like you can still run the Phi3 model on your device.

  • @Another0neTime
    @Another0neTime 21 день назад

    Thank you for the video, and sharing your knowledge.

  • @kamertonaudiophileplayer847
    @kamertonaudiophileplayer847 21 день назад

    The awesome video!

  • @ericwilliams4554
    @ericwilliams4554 21 день назад

    Great video. Thank you. I am interested to know if any developers are using this in their iOS apps.

    • @SwiftyPlace
      @SwiftyPlace 20 дней назад

      This is not working for iOS. If you want to run LLM on an iPhone you will need to use a smaller model which usually dont perform so well. Most iPhones have less than 8GB Ram. That is also why Apple Intelligence will process more advanced complex task in the cloud

  • @tsalVlog
    @tsalVlog 21 день назад

    Great video!

  • @husnainjaved272
    @husnainjaved272 21 день назад

    This was a fantastic video 👏

  • @ravishekdar
    @ravishekdar 23 дня назад

    Thanks!

  • @norcrowe
    @norcrowe 23 дня назад

    very helpful thank you so much

  • @user-uv1qv3xi5j
    @user-uv1qv3xi5j 24 дня назад

    o

  • @AndrewDChristie
    @AndrewDChristie 24 дня назад

    Thanks!

  • @sergiovinhal5934
    @sergiovinhal5934 26 дней назад

    Thank you Karin . You are important . You serve me very well.

  • @mEtAlMaNiAc787
    @mEtAlMaNiAc787 28 дней назад

    14:27 how did you get list max width?

  • @cometmace
    @cometmace Месяц назад

    Thank you for doing a wonderful job explaining things like Codeable, CodingKeys and custom decoding via the init().

  • @jean-claudegolovine5725
    @jean-claudegolovine5725 Месяц назад

    Brillant tutorial. Thank you!

  • @theflutterguy6301
    @theflutterguy6301 Месяц назад

    good stuff

  • @aleksandrsukhinin3997
    @aleksandrsukhinin3997 Месяц назад

    Thanks from Russia. Your voice is really pleasant to listen to and your English is understandable for me. Thanks for your lesson.

  • @bernardonigbinde
    @bernardonigbinde Месяц назад

    #NoteToSelf: 24:39

  • @thornwebdesign
    @thornwebdesign Месяц назад

    Very good indeed

  • @yasindalklc5317
    @yasindalklc5317 Месяц назад

    I just have one question. How we will manage rest of Coordinator if we want to pass from FirstDetailView to OnotherView? Do we have to create ViewController again every section or we can continue just with NavigationStack?

  • @akashskumar6389
    @akashskumar6389 Месяц назад

    Thanks!

  • @dmitriyobidin6049
    @dmitriyobidin6049 Месяц назад

    If i start learning ios development in 2024 should i start with SwiftUI or UIKit? And should i even consider native ios development as a career with KMP and React native coming on to the scene.

  • @LivinExtreme
    @LivinExtreme Месяц назад

    just learned CoreData wait they are replacing it again!?

    • @SwiftyPlace
      @SwiftyPlace Месяц назад

      They introduced a replacement SwiftData last year. But it is not good. You are much better of with CoreData for now.

  • @aleksandrkravtsov8727
    @aleksandrkravtsov8727 Месяц назад

    Special thanks for showing how to handle navigation on iPhone and iPad

  • @numalesoybea1348
    @numalesoybea1348 Месяц назад

    Thanks man you're a life saver