Swift develops Bluetooth projects using the corebluetooth framework

Swift develops Bluetooth projects using corebluetooth framework To develop a Bluetooth project in Swift and use the CoreBluetooth framework, you need to follow the following steps: Import CoreBluetooth framework: Create a new Swift project in Xcode and make sure you have imported the CoreBluetooth framework. You can add this framework in the project settings in […]

How to create a floating action button in SwiftUI

Article directory Preface Create a floating action button The floating button appears at the front of the screen The floating button is located in the lower right corner of the screen Make the floating button appear circular add shadow Summarize Foreword Floating Action Button (FAB) is a UI element used in Android and Material Design. […]

[SwiftUI module] 0060, SwiftUI builds an Instagram-like App based on Firebase Part 2/7 – Building TabBar

SwiftUI module series – 60 articles updated SwiftUI Projects – 5 projects updated Previous Demo source code downloads Technology: SwiftUI, SwiftUI4.0, Instagram, Firebase Operating environment: SwiftUI4.0 + Xcode14 + MacOS12.6 + iPhone Simulator iPhone 14 Pro Max SwiftUI builds an Instagram-like App based on Firebase Part 2/7 – Building TabBar Overview detailed 1. Operation effect […]

Swift uses Embassy library for data collection: hot news automatic generator

Overview A crawler is a software that automatically crawls data from web pages. Crawlers can be used for various purposes such as search engines, data analysis, content aggregation, etc. This article will introduce how to use Swift language and Embassy library to write a simple crawler program that can collect hot information from news websites […]

IOS-Swiftui background call ring vibration

IOS background ringing, implementation solution through UNNotificationServiceExtension Xcode creates UNNotificationServiceExtension target Process the specified notification content through the didReceive method of NotificationService Use UserDefaults(suiteName: self.groupName) for shared data transfer Create UNNotificationServiceExtension target Click Xcode-File-New-Target and the following options will pop up for filtering selections Here we choose Notification Service Extension Click Finish here to complete […]

SwiftData: A Swift library for quickly building and operating databases

Table of Contents introduction Detailed introduction to SwiftData main feature Usage example Data modeling principles Entity Property Data modeling process in conclusion Introduction In modern software development, data modeling is a very important part. It involves how to design and organize data structures, and how to store and retrieve data in databases. In mobile application […]

A SwiftUI-Based Calculator for iOS

The Link Your Class ?https://bbs.csdn.net/forums/ssynkqtd-04? The Link of Requirement of This Assignment ?https://bbs.csdn.net/topics/617332156? The Aim of This Assignment Create a calculator with a visual interface Link to the finished project code https://github.com/Aer123r/Calculator-for-IOS MU STU ID and FZU STU ID Catalog I. PSP Form II. Introduction Link to this project code III. Why Choose SwiftUI What […]

SwiftUI 4.0: Two ways to implement subview navigation function

0. Overview Starting from SwiftUI 4.0, the awakened Apple resolutely abandoned the “ineffective” NavigationView and replaced it with the new NavigationStack view. It is true that NavigationStack has a lot of improvements over NavigationView in terms of advancedness. If you want to introduce it in a single article, it will be like a treasure trove. […]