• apple-swift
  • App open source
  • organization
  • Animation
  • TabBarController
  • File Manage
  • Call Back(Delegate)
  • Socket
  • Device
  • DropDown
  • AppPersistence
  • Camera/Image
  • Network API
  • awesome-ios
  • SplashView
  • NTP
  • Popover&Tooltip&Menu
  • Alert
  • Tools for debugging
  • uiscrollview nested uiscrollview
  • BottomSheet
  • 多语言
  • Slider&Progress bar
  • Codable
  • 截屏防护方案
  • 图像处理的框架
  • generate resources
  • UI Component
  • Crypto(加密)
  • Charts
  • log
  • Swift UI
  • collectionview collectionlayout
  • Date
  • CoreText
  • Font
  • CoreML
  • WKWebView
  • Controllers Transition
  • push-tester
  • structure an application
  • autolayout
  • Test
  • Combine
  • Swift
  • MetricKit
  • GCD/Thread/Concurrency
  • LongImageStitcher
  • Reader
  • Hot Reloading
  • Memory leaks tracker
  • build tool
  • concurrency
  • screenshot or screenrecording
  • 3D
  • Images
  • Stable Diffusion
  • Security
  • Tool and Xcode Extension
  • Swift-Macros
  • Foundation
  • Swift OpenAPI Generator

awesome-ios

apple-swift

swift-log
swift-collections
swift-algorithms
swift-metrics


swift Package Index

swift Package Index

App open source

kickstarter


organization

Point-Free A video series exploring Swift and functional programming.
Immobiliare Labs t took sharp skills in technology to establish Immobiliare.it as the leadering online service provider for the real estate market.


Animation

ViewAnimator
PAG
lottie
Hero
spruce-ios Spruce is a lightweight animation library that helps choreograph the animations on the screen.
TabBarAnimation Sticky and Collapsible View Controller on top of tab bar


TabBarController

swipeableTabBarController UITabBarController通过手势滑动切换Tab,用系统的UIViewControllerInteractiveTransitioning实现手势和动画 (主要参考切换动画的实现方式)
Tabman paging view controller with interactive indicator bars 带指示器,bar可以再上面也可以再下面
ESTabBarController 一个高度自定义的TabBarController组件,继承自UITabBarController :改变文字样式、添加一些动画效果、设置一个比默认更大的样式 (主要参考Tabbar的自定义内容)


File Manage

PathKit


Call Back(Delegate)

RealEventsBus
Delegate


Socket

Starscream
swamp
pusher-websocket-swift This is the Pusher Channels websocket client, PusherSwift, which supports iOS, macOS (OS X) and tvOS. It works with Swift and Objective-C.
socket.io-client-swift


Device

DeviceKit


DropDown

DropDown


AppPersistence

RealFlags
Shallows
Boutique A simple but surprisingly fancy cache


Metal/Camera/Image

iOS-Depth-Sampler
image-segmenter-ios
MagicCamera
AnyImageKit AnyImageKit is a toolbox for picking, editing or capturing photos/videos, written in Swift. AnyImageKit 是一个选取、编辑、拍摄图片/视频的工具套件,使用 Swift 编写。


Network API

APIClient
swift-multipart-formdata Build multipart/form-data type-safe in Swift. A result builder DSL is also available. (主要参考用result builder封装multipart-formdata数据)
URLRequestBuilder
RSSwiftNetworking A Swift framework that provides a network communication layer API
swift-http-client Communicate via HTTP easily in Swift.


awesome-ios

https://github.com/matteocrippa/awesome-swift
https://github.com/vsouza/awesome-ios


SplashView

https://github.com/PiXeL16/RevealingSplashView


NTP

https://github.com/MobileNativeFoundation/Kronos


Popover&Tooltip&Menu

https://github.com/teodorpatras/EasyTipView
https://github.com/andreamazz/AMPopTip
https://github.com/saddamakhtar88/TipView
https://github.com/Kofktu/KUIPopOver 用系统原生的UIPopoverPresentationController实现, 扩展性比较强
FTPopOverMenu_Swift 主要参考getBackgroundPath方法里面arrow描画的部分
PopMenu
SwiftyMenu


Alert

https://github.com/KyoheiG3/SimpleAlert


Tools for debugging

https://github.com/facebook/flipper
https://github.com/pointfreeco/swift-custom-dump
https://github.com/CocoaDebug/CocoaDebug
SimBuddy SimBuddy – Your Simulator’s BFF


uiscrollview nested uiscrollview

uiscrollview nested uiscrollview 实现原理就是两个scrollview,父scrollview和子scrollview,
跟据offset决定父scrollview和子scrollview的isScrollEnable属性,[GKPageScrollView][SegementSlide]都是这么实现的。

SegementSlide Multi-tier UIScrollView nested scrolling solution.
JXSegmentedView A powerful and easy to use segmented view
ParallaxHeader Simple way to add parallax header to UIScrollView or it's subclasses.
TwitterProfile asily create screens like Instagram and Twitter profile. Example project shows Twitter case but you can change header and bottom view controllers easily to mimic instagram or similar UIs.
GKPageScrollView About iOS类似微博、抖音、网易云等个人详情页滑动嵌套效果
SGPagingView


BottomSheet

UBottomSheet Apple Maps bottom sheet behaviour


多语言

BartyCrouch BartyCrouch incrementally updates your Strings files from your Code and from Interface Builder files.
Localize-Swift Localize-Swift is a simple framework that improves i18n and localization in Swift iOS apps - providing cleaner syntax and in-app language switching.


Slider&Progress bar

https://github.com/HamzaGhazouani/HGCircularSlider
MKRingProgressView Ring progress view similar to Activity app on Apple Watch


Codable

https://github.com/marksands/BetterCodable


截屏防护方案

https://github.com/RyukieSama/Swifty
ShyViewA UI component that avoids screenshots and recordings


图像处理的框架

MetalPetal: An image processing framework based on Metal
Brightroom A composable image editor using Core Image and Metal.


generate resources

swift-gen Swift's randomness API is powerful and simple to use
R.swift Get strong typed, autocompleted resources like images, fonts and segues in Swift projects


UI Component

antern Lantern(花灯)是一个基于Swift的高可用视图框架。它基于iOS原生的图片/视频浏览功能进行封装,并提供了更加酷炫的交互方式。此外,它还提供丰富的接口,扩展灵活,能让App快速集成浏览功能。
AttributedString AttributedString - 基于Swift插值方式优雅的构建富文本
UIComponent This framework allows you to build UI using UIKit with syntax similar to SwiftUI "可以通过这个代码学习resultBuilder dynamicMemberLookup 协议"
CHIPageControl A set of cool animated page controls written in Swift to replace boring UIPageControl
SwiftTheme (Powerful theme/skin manager for iOS 9+ 主题/换肤, 暗色模式) [主要参考主题资源下载以及加载的代码]
SwiftLinkPreview (It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.)
BetterSegmentedControl An easy to use, customizable replacement for UISegmentedControl & UISwitch
Atributika About Convert text with HTML tags, links, hashtags, mentions into NSAttributedString. Make them clickable with UILabel drop-in replacement.
RandomColorSwift An attractive color generator for Swift. Ported from randomColor.js.
Skeleton An easy way to create sliding CAGradientLayer animations! Works great for creating skeleton screens for loading content.
Drops A µFramework for showing alerts like the one used when copying from pasteboard or connecting Apple pencil
epoxy-ios Epoxy is a suite of declarative UI APIs for building UIKit applications in Swift 快速搭建UI
ContextMenuSwift A better version of iOS 13 Context Menu
EachNavigationBar A custom navigation bar for each view controller.
ARSLineProgress About iOS progress bar, replacement for the default activity indicator
SideMenu An interactive iOS side menu with rich features.
FloatingPanel A clean and easy-to-use floating panel UI component for iO
MagicTimer MagicTimer is a UIView based timer that displays a countdown or count-up timer.
WhatsNewKit About Showcase your awesome new app features
Aiolos A floating panel for your iOS Apps
ScrollStackController Easy scrollable layouts in UIKit


Crypto(加密)

CryptoSwift Crypto related functions and helpers for Swift implemented in Swift.


Charts

FLCharts FLCharts is an easy-to-use library to build highly customizable bar, line and pie charts. It allows you to create your own chart bar UIView and use it to display data in the chart.


log

SwiftPrettyPrint SwiftPrettyPrint gives Human-readable outputs than print(), debugPrint() and dump() in Swift standard library.
Glider Universal logging Swift - simple, extensible, performant!


Swift UI

stinsen Simple, powerful and elegant implementation of the Coordinator pattern in SwiftUI.
Popovers A library to present popovers.
clean-architecture-swiftui swiftUI架构 About SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
swiftui-atomic-architecture A declarative state management and dependency injection library for SwiftUI x Concurrency.
ASCollectionView A SwiftUI collection view with support for custom layouts, preloading, and more.
Swift-Charts-Examples



collectionview collectionlayout

CollectionKit A modern Swift framework for building composable data-driven collection view.
InfiniteLayout Horizontal and Vertical infinite scrolling feature for UICollectionView with Paging
SwiftGridView 可以用来做股票app Swift based data grid component based on UICollectionView. SwiftGridView allows for quick and easy data grids that are fully customizable with powerful built in functionality.
CCSheetView CCSheetView继承自UITableView, 它实现了Cell的横向滚动功能, 并且支持多个Cell横向同步滚动, 效果看起来就像Office Excel oc代码仅供参考
StickyGridCollectionView-Final About Sticky Grid Collection View: Implementing From Scratch


Date

SwiftDate Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift. let _ = ("2010-05-20 15:30:00".toDate() + 3.months - 2.days)
DateBuilder Create dates and date components easily


CoreText

DTCoreText
lexical-ios

Font

UIFontComplete


CoreML

CoreMLHelpers Types and functions that make it a little easier to work with Core ML in Swift.


WKWebView

WKWebViewJavascriptBridge A Bridge for Sending Messages between Swift and JavaScript in WKWebViews.


Controllers Transition

SPLarkController


push-tester

macos-push-tester


Effects

effects-library


structure an application

AsyncStateMachine



autolayout

Align Intuitive and powerful Auto Layout library


Test

SwiftMonkey
SYM (A crash log symbolicating Mac app | 一个图形化的崩溃日志符号化工具)
ViewInspector Runtime introspection and unit testing of SwiftUI views

Combine

combine-schedulers A few schedulers that make working with Combine more testable and more versatile.

Swift

SwifterSwift A handy collection of more than 500 native Swift extensions to boost your productivity.
swiftregex Swift Regex is an online tool to learn, build and test Swift Regex Regex and Regex Builder.

MetricKit

Meter Library for interacting with MetricKit

GCD/Thread/Concurrency

Semaphore About A Synchronization Primitive for Swift Concurrency

LongImageStitcher

OpenCVSwiftStitch Version 5 of OpenCVStitch. How to stitch images using OpenCV on iOS. This version demonstrates using Swift, Objective-C and C++ together in one project.
LongImageStitcher A long images vertical stitcher written in Swift

Reader

DZMeBookRead

Hot Reloading

Inject (Hot reloading workflow helper that enables you to save hours of time each week, regardless if you are using UIKit, AppKit or SwiftUI.)
InjectionIII (About Re-write of Injection for Xcode in (mostly) Swift)

Memory leaks tracker

LifetimeTracker

build tool

Scipio (A new build tool to generate XCFramework)
CodePecker (CodePecker is a tool to detect unused Swift code.)

concurrency

swift-async-queue A queue that enables ordered sending of events from synchronous to asynchronous code

screenshot or screenrecording

ScreenshotPreventing-iOS Prevent screenshot or screenrecording on iOS devices

3D

Euclid About A Swift library for creating and manipulating 3D geometry

Images

SwiftDraw A Swift library and command-line tool for drawing and converting SVG images.

AI&Stable Diffusion

https://stability.ai/blog/stable-diffusion-announc
https://machinelearning.apple.com/research/stable-diffusion-coreml-apple-silicon
https://github.com/ynagatomo/ImgGenSD2
https://github.com/chenxi92/ChatGPT

Security

Security Application Static Analysis applied to iOS and Gitlab CI

Tool and Xcode Extension

Sourcery Meta-programming for Swift, stop writing boilerplate code.
SwiftFormat

Swift-Macros

Swift-Macros

Foundation

attributed-string-builder UIColor-Hex-Swift

Swift OpenAPI Generator

Meet Swift OpenAPI Generator
Meet Swift OpenAPI Generator Note
CreateAPI Delightful code generator for OpenAPI specs