Packages authored by William-Weng
These packages are available as a package collection, usable in Xcode or SwiftPM.
WWAcknowledgementViewController
⚠️ WWAcknowledgementViewController has been deprecated. Please use WWMarkdownWebViewUI instead.
WWAppFirstInstall
Check whether the APP is installed for the first time?
WWAppInstallSource
Widget to detect where an app was installed from.
WWAppLifeCycleManager
WWAppLifeCycleManager centralizes lifecycle events that would otherwise be distributed across AppDelegate and SceneDelegate. It also provides a concise, chainable API for registering callbacks from SwiftUI or UIKit applications.
WWAssistiveTouch
Mimicking iPhone’s Assistive Touch function.
WWAudioFileTranscription
Convert existing audio files into text using Apple’s `Speech` framework. This package does not handle recording; it only processes audio files that already exist, making it suitable for voice memos, interview transcription, subtitle generation, and audio content search.
WWAudioRecorderHelper
WWAudioRecorderHelper is a lightweight iOS audio recording utility distributed through Swift Package Manager. It wraps AVAudioRecorder, AVAudioSession, and AVAudioRecorderDelegate to provide simple APIs for starting and stopping recordings, configuring the audio session, and receiving recording completion or error callbacks.
WWAudioStreamTranscription
WWAudioStreamTranscription is a real-time audio stream transcription component built on top of Apple’s Speech framework.
WWAutolayoutConstraint
Simple use of NSLayoutConstraint.
WWBadgeView
A simple badge controller that can simply display the numbers on the badge.
WWBankBalanceAnimationLabel
UILabel text animation.
WWBarberPoleView
Imitate the animation effect of barber's pole.
WWBarcodeSlicer
Barcode text splitter, a function used to process Barcode text.
WWBluetoothManager
WWBluetoothManager is a lightweight CoreBluetooth wrapper library written in Swift. It simplifies the complex processes of CBCentralManager and CBPeripheralDelegate by providing a unified delegate interface that delivers clear status updates and automated handling logic.
WWByteReader
A high-performance big-endian binary reader designed for audio and video format parsing. It uses a unified shift-and-OR approach to read all data types, with full support for Int, UInt, Float, and Double.
WWCacheManager
An efficient, thread-safe cache manager that supports DispatchQueue read-write locking and @propertyWrapper syntax.
WWCameraPickerController
The enhanced version of UIImagePickerController made by AVFoundation, with higher customization functions, is more convenient when using the camera to take photos.
WWCameraZoomOptionView
Option to mimic phone camera magnification.
WWCapsuleTabBarController
Based on UITabBarController, implement a TabBarController that can display more than six Tabs.
WWCaptchaView
CAPTCHA - Completely Automated Public Turing test to tell Computers and Humans Apart
WWCircularRangePickerUI
A circular range picker built with SwiftUI. It lets you select a start angle and an end angle on a dial, then converts that selection into a `(start, end)` index range through a simple callback.
WWClampedValue
WWClampedValue is a lightweight and elegant Swift Property Wrapper designed to clamp any Comparable value within a specified ClosedRange. It is perfect for limiting UI alpha values, game scores, age inputs, and more.
WWCollectionViewLayout
UICollectionViewLayout collection.
WWCompositionalLayout
A simple integrated version of iOS 13 Compositional Layout, modified into a way similar to Functional Programming to generate UICollectionViewCompositionalLayout.
WWCountdownButton
A countdown button.
WWCropViewController
WWCropViewController is a lightweight, high-performance image cropping solution designed for iOS development. Built on a non-destructive editing architecture and utilizing the Core Image rendering pipeline, it ensures lossless quality, remaining completely independent of image scaling or resolution.
WWCustomerService
An integrated tool for handling commonly used customer service communication tools.
WWDebugOverlay
A lightweight UIKit debug overlay that visualizes view bounds, center lines, target frames, and reference frames. Ideal for layout debugging, alignment validation, and frame inspection.
WWDetectDevice
Detect the device name and other related information from the device number.
WWDonutChartView
Simple donut chart.
WWDualCamera
Simple generation of dual camera functions.
WWEither
Imitating Rust's Either function, the Swift language can also have the function of choosing between two options.
WWEmitterLayerEffect
CAEmitterLayer Effect Maker (SnowFlake / Firework)
WWEmojiTextField
A text field that simply converts input words into emoticons.
WWEventSource
Use URLSession to implement the functions of the SSE client and receive information from the SSE server.
WWExpandableCell
Can be folded to use Cell.
WWExpandableTextView
TextView that can automatically change the height according to the number of words and lines.
WWFaceLandmarkDetection
Facial landmark detection using the official Vision framework.
WWFileService
A lightweight, pure Foundation file utility collection focused on common needs such as folders, files, recursive scanning, and file metadata. WWFileService is designed as an enum + static func namespace, with no shared state, making it simple to call and easy to reuse in apps, frameworks, or Swift Packages.
WWFloatingActionButton
仿Android的FloatingActionButton
WWFloatingViewController
A simple hover and drag window.
WWFortuneWheelView
A scroll wheel that can be customized.
WWGMTColor
Convert GMT color codes into a simple and usable enum.
WWHash
A small tool for calculating Hash values.
WWHashTagViewController
Simple hashtag functionality, menu of applicable product options.
WWHighTechView
Imitation of a high-tech View.
WWHttpFetchTool
WWHttpFetchTool is a lightweight Swift utility for sending HTTP requests and returning the response content as plain text.
WWHUD
Custom read animation, support custom pictures, GIF animation.
WWHUDUI
A simple SwiftUI HUD (Head-Up Display) component that supports a loading indicator, dynamic text, and smooth fade-in/fade-out transitions. The HUD is layered on top of existing content with a ViewModifier, while WWHUDUI controls the presentation state and displayed title.
WWImageFormat
Simply analyze the commonly used image data formats.
WWImageView
Enhance the functionality of UIImageView (you can get the above color)
WWIntelligentAgent
A lightweight Swift wrapper built on Apple Foundation Models that simplifies SystemLanguageModel, LanguageModelSession, prompt validation, and both standard and streaming response workflows.
WWIPAddress
Get the external IP address of the mobile phone.
WWJavaScriptContext
JavaScriptCore Widget
WWJavaScriptContext_ChineseConvert
Use JavaScript to convert traditional and simplified Chinese text.
WWJavaScriptContext_CSV
Use JavaScript to convert CSV text.
WWJavaScriptContext_Markdown
Use JavaScript to convert Markdown text.
WWJavaScriptContext_Pinyin
Convert Chinese characters to Hanyu Pinyin.
WWJavaScriptContext_Thumbnail
Get the URL of the thumbnail of the website.
WWJWTAuthenticationToken
Generate JWT authentication token.
WWKeyboardShadowView
A View that can interact with keyboard events can change simultaneously with the height of the keyboard, simply and effectively solving the problem of the input box being blocked during text input.
WWKeychain
Use the "property wrapper" to make an enhanced version of Keychain, so that Keychain can be as convenient as UserDefaults.
WWLabel
Enhance the function of UILabel (add Loading text display).
WWLocationManager
Find location-related settings on your phone. (Region / Language / SIM / GPS)
WWLog
This is a good helper for iOS engineer Debug.
WWMachineLearning_ImageColorizer
Use the CoreML model to convert grayscale images into color images.
WWMachineLearning_MNIST
Classify a single handwritten digit (supports digits 0-9).
WWMachineLearning_Resnet50
Use Apple's ResNet (Residual Neural Network) model to determine the probability of what the object in the picture is.
WWMarkdownWebViewUI
A lightweight Swift Package that renders Markdown with `WKWebView` inside SwiftUI, supports dynamic height, and keeps the integration simple.
WWMessageBar
Simple message bar.
WWMicrophoneInput
A lightweight iOS microphone input manager built on AVAudioEngine, providing a simple and easy-to-use API for capturing PCM audio data from the microphone.
WWMLWhisper
⚠️ WWMLWhisper has been deprecated. Please use WWAudioFileTranscription instead.
WWMotionGraphicTransition
Imitate the polygonal transition animation commonly used in movies.
WWNetworkClient
WWNetworkClient is a ultra-lightweight, pure, strongly typed networking core built specifically for iOS 17+ / Swift 6.0+
WWNetworking
This is a simple integration of HTTP transmission, upload and download functions. It is a rare and good tool for iOS engineers.
WWNetworking-UIImage
⚠️ This Project is Deprecated, can use WWWebImage.
WWNetWorkMonitor
Integrate NWPathMonitor to detect network connections.
WWNormalizeAudioPlayer
Normalizing the volume of music files will prevent the volume from fluctuating.
WWNtpClient
Get NTP (Network Time Protocol) time.
WWNtpClientTool
`WWNtpClientTool` is a tool for querying **NTP network time**.
WWOnBoardingViewController
Use UIPageViewController to simply implement the function of the guide page.
WWOneTimePasswordView
Simple one-time password input text field.
WWOrderedSet
Make NSOrderedSet easier to use.
WWPatternLockView
Mimics Android's Pattern Lock feature.
WWPerpetualCalendar
Use the functions of UIPageViewController to make a simple perpetual calendar.
WWPrint
The number of lines that can be printed + the printing method of the method name => convenient for debugging.
WWPrivateView
Prevent system screenshot function.
WWProgressMaskView
The progress ring function of the custom background image uses the principle of picture shielding to make the color of the progress ring more diverse...
WWProgressView
A dynamically flowing progress bar.
WWPulseLayer
Use CAReplicatorLayer to achieve pulse animation effects.
WWPuzzleBoardView
A UIKit-based puzzle board component that slices a UIImage into draggable puzzle tiles, with support for custom rows and columns, shuffling, solving, auto-sort animations, and both Storyboard and code-based initialization.
WWQOA
A Pure Swift implementation of the Quite OK Audio (QOA) codec, prioritizing simplicity, clarity, and zero dependencies. Well-suited for learning codec internals and integrating into Swift-based audio pipelines.
WWQOI
A pure Swift QOI (Quite OK Image) encoder / decoder package without BinaryParsing.
WWRegularExpression
Wrap NSPredicate / NSRegularExpression to make regular expressions easier to use on iOS.
WWRoundedSegmentedControl
Add the rounded corner function to the original UISegmentedControl.
WWRssParser
A lightweight, pure Swift RSS/Atom parser designed specifically for iOS development.
WWSafariViewUI
WWSafariViewUI is a lightweight SwiftUI wrapper around SFSafariViewController, allowing you to open web content with the native Safari experience directly inside your SwiftUI app without writing your own UIViewControllerRepresentable bridge.
WWSaveFileTool
`WWSaveFileTool` is a `Tool` for Apple Foundation Models / Apple Intelligence. It saves model-generated or model-curated content as files in your app's `Documents` directory.
WWScanViewController
Use AVFoundation Framework to make a simple QRCode / BarCode scanner.
WWScratchCard
Imitation Scratch Card function.
WWScreenRecorder
Simple mobile screen recording function.
WWScrollableMaskImageView
Implement draggable mask layer function.
WWSegmentControlView
Enhanced version of UISegmentControl.
WWSideMenuViewController
Customizable side menu of the screen.
WWSignInWith3rd_Apple
Use native Apple third-party login.
WWSignInWith3rd_Discord
Use Discord third-party login.
WWSignInWith3rd_Facebook
Use Facebook third-party login.
WWSignInWith3rd_GitHub
Use GitHub third-party login.
WWSignInWith3rd_Google
Use Google third-party login.
WWSignInWith3rd_LINE
Use LINE third-party login
WWSignInWith3rd_Wechat
Use Wechat third-party login.
WWSignInWith3rd_Weibo
Use Weibo third-party login.
WWSimpleAI_ChatGPT
Simply use the functionality of ChatGPT.
WWSimpleAI_Claude
Simply use the functionality of Anthropic Claude AI.
WWSimpleAI_DeepSeek
Simply use the functionality of DeepSeek AI.
WWSimpleAI_Gemini
Simply use the functionality of Google Gemini AI.
WWSimpleAI_Ollama
Simple connection to Ollama API functionality.
WWSimpleAI_Perplexity
Simply use the functionality of Perplexity AI.
WWSimpleVideoPlayerViewUI
A lightweight video player view built on top of Apple's VideoPlayer and AVPlayer.
WWSimpleZipDirectoryReader
Simply read the directory names of files within a zip archive.
WWSimplifiedMusicalNotationPlayer
Simplified musical notation player.
WWSkeletonView
Simply imitate the HTML Skeleton Screen function.
WWSlider
Use UIResponder to imitate an iOS slider.
WWSpectrumViewUI
WWSpectrumViewUI is a lightweight audio spectrum analysis and visualization toolkit built with Swift, SwiftUI, and Accelerate. It extracts raw frequency-band data from an `AVAudioNode`, then renders it as a configurable live spectrum view.
WWSQLite3Manager
A lightweight SQLite3 helper for Swift that makes schema definition, CRUD, conditional queries, and aggregate selection easier to read and maintain.
WWStreamPlayer
Use FFMpeg to play RSTP streaming videos.
WWStringTransform
String transform - latin / english / pinyin / bopomofo / hansHant / hantHans.
WWSVGImageView
Simple use of SVG images.
WWSwiftUI_Charts
Transfer SwiftUI's Charts to UIKit.
WWSwiftUI_List
Transfer SwiftUI's List to UIKit.
WWSwiftUI_MultiDatePicker
Transfer SwiftUI's MultiDatePicker to UIKit.
WWSystemStatus
Get various system status values supported by Apple.
WWTableViewParallaxCell
Implementing parallax scrolling effect.
WWTcpConnection
TCP/IP client connection tool.
WWTextDropView
A View with text falling animation.
WWTextMarquee
WWTextMarquee is a lightweight Swift-based library that renders LED-style scrolling text (marquee) on iOS.
WWTextMarqueeUI
WWTextMarqueeUI is a SwiftUI wrapper for rendering LED-style marquee text using WWTextRasterizer.
WWTextRasterizer
A lightweight Swift tool that converts text into a bitmap (BitMatrix) on iOS, suitable for use cases such as LED displays, small screens, font rasterization, custom font rendering, and dot-matrix type layouts.
WWTextReaderTool
`WWTextReaderTool` is a lightweight Swift tool for reading file contents from the Documents directory and returning the text to **Apple Intelligence** for analysis.
WWTextToSpeechManager
WWTextToSpeechManager is a lightweight Swift text-to-speech utility that uses Apple's `AVSpeechSynthesizer` to convert text into spoken audio, making it ideal for iOS applications.
WWTipView
Because TipKit can only be used on iOS 17.0 or above, a simple alternative was made.
WWToast
A small tool imitating Android's Toast function...
WWTouchEffectButton
Imitating the function of Android Button, there will be a visual reaction when you click or long press.
WWTranslationManager
An Apple Translation manager designed specifically for UIKit. It wraps a hidden SwiftUI `UIHostingController` so UIKit applications can use Apple Translation’s on-device translation features and the system-provided language pack download authorization dialog without significantly changing the existing architecture.
WWTwelveEqualTemperament
A small program that generates 12 equal temperament.
WWTypewriterLabel
Mimics the display function of a typewriter.
WWUserDefaults
Use the "property wrapper" to make an enhanced version of UserDefaults.
WWWavWriter
A lightweight Swift Package for wrapping raw PCM or float audio data into WAV files.
WWWebImage
An async/await-based web image downloading utility, designed as a lightweight alternative to SDWebImage / Kingfisher.
WWWebSocket
Wraps URLSession's iOS 13 webSocketTask() into an easy-to-use widget.
WWWebView_ChartJS
By loading Chart.js through WebView, the chart function can be quickly implemented.
WWWheelPickerViewUI
A wheel-picker style control built with SwiftUI. It supports tap-to-center selection, real-time index updates while scrolling, automatic snapping after scrolling ends, and a fixed center indicator line for alignment.
WWZHConverter
Convert the words and phrases between the two sides of the Taiwan Strait and the three places into each other.
153 packages.