440 Repositories
Swift sample-code Libraries
The code for my CoreGraphics+CoreAnimation talk, held during the 2012 iOS Game Design Seminar at the Technical University Munich.
PKCoreTechniques ======= Core Techniques is the result of a presentation I held at the Technical University of Munich during the 'iOS Game Design Semi
Pretty GCD calls and easier code execution.
Threader Pretty GCD calls and easier code execution. Overview Threader makes GCD calls easy to read & write. It also provides a simple way to execute
Sample project for select specific Web Browser on iOS.
Sample project for select specific Web Browser on iOS.
A sample application showcasing Vapor 4 connecting to an Oracle database using SwiftOracle package.
vapor-oracle A sample application showcasing Vapor 4 connecting to an Oracle database using SwiftOracle package. In this Vapor application, we create
Automaticly display Log,Crash,Network,ANR,Leak,CPU,RAM,FPS,NetFlow,Folder and etc with one line of code based on Swift. Just like God opened his eyes
GodEye Automaticly display Log,Crash,Network,ANR,Leak,CPU,RAM,FPS,NetFlow,Folder and etc with one line of code based on Swift. Just like God opened hi
Yumemi Co., Ltd. iOS engineer code check task
株式会社ゆめみ iOS エンジニアコードチェック課題 概要 本プロジェクトは株式会社ゆめみ(以下弊社)が、弊社に iOS エンジニアを希望する方に出す課題のベースプロジェクトです。本課題が与えられた方は、下記の概要を詳しく読んだ上で課題を取り組んでください。 アプリ仕様 本アプリは GitHub の
A sample app that implements MVVM architecture using Swift, ViewModel, Alamofire
MVVM Architecture Android: Template This repository contains a sample app that implements MVVM architecture using Swift, ViewModel, Alamofire, and etc
Health Sample app using Swift, RxSwift, Anchorage, Charts
HealthSample First run pod install, then build the project and run in your devices or simulators. This project has used RIBs, Swift, RxSwift, Anchorag
Some helpful swift code snippets
HelpfulSwiftSnippets Some helpful swift code snippets Network Manager - a generic network manager that deals with downloading data from the internet u
Code Swift iOS app showcasing basic movies list from Orange TV API.
iOS Code Test - Optiva Media Code Swift iOS app showcasing basic movies list from Orange TV API. Built using XCode 13.0 (Swift 5) How to run the examp
REDUX like architecture sample for iOS
perdux_sample_swiftUI REDUX like architecture sample for iOS (target 14.*) Motivation: to share reactive architecture approach with single direction d
qr code generator tool
qr code generator tool Small command line tool for generate and reconition qr codes written in Swift Using Usage: ./qrgen [options] -m, --mode:
ColorAssetsFinder can help you find particular color assets easily by hex color code.
ColorAssetsFinder ColorAssetsFinder can help you find particular color assets easily by hex color code. Features Find particular color assets in Asset
iOS Picture In Picture Sample with Swift Language
PipSamleProject iOS Picture In Picture Sample with Swift Language Application Demo Resources Apple Adopting Picture in Picture Sample Video License MI
Useful extensions for my Swift code
UIViewController extensions presentAlert(withTitle title: String, message : String) presentAlertDialog(withTitle title: String, message : String, acti
A framework for sharing code between iOS and OS X
MAIKit MAIKit (Mac and iOS Kit) is a framework for sharing code between OS X and iOS. UIKit contains many classes which have counterparts in Appkit. T
This is a sample AR project written with Swift language for iOS devices
ARSample This is a sample AR project written with Swift language for iOS devices. While I was learning the ARKit framework, I defined this project and
A place to share code and server configurations in support of the networkQuality tool
Network Quality Server Welcome! The Network Quality Server project was created as a place to share example servers that can used by the networkQuality
Add PullToRefresh using animated GIF to any scrollView with just simple code
UzysAnimatedGifPullToRefresh Add PullToRefresh using animated GIF to any scrollView with just simple code UzysAnimatedGifPullToRefresh features: simpl
Give pull-to-refresh & infinite scrolling to any UIScrollView with 1 line of code.
SVPullToRefresh + SVInfiniteScrolling These UIScrollView categories makes it super easy to add pull-to-refresh and infinite scrolling fonctionalities
The iOS pod which can collect profile data to detect code coverage.
CodeCoverageKit Installation CodeCoverageKit is available through CocoaPods.
Vision Camera 📸 The Camera library that sees the vision.
Vision Camera 📸 The Camera library that sees the vision. npm i react-native-vision-camera npx pod-install Documentation Guides API Ex
Take home task from one company developed on VIPER, UI Through code and splash from plist
HelloFresh Dev Team - Mobile iOS Developer Test Hello! Thank you for taking the time to try our iOS test. The goal of the test is to assess your codin
Telegram iOS Source Code Compilation Guide
Telegram iOS Source Code Compilation Guide We welcome all developers to use our API and source code to create applications on our platform. There are
Starter code for the Flash Chat project in the Complete iOS Development Bootcamp
Flash-Chat Our Goal One of the most fundamental component of modern iOS apps is the Table View. Table Views are used everywhere from the Mail app to t
Write amazing, strong-typed and easy-to-read NSPredicate.
PredicateFlow Write amazing, strong-typed and easy-to-read NSPredicate. This library allows you to write flowable NSPredicate, without guessing attrib
Core Data code generation
mogenerator Visit the project's pretty homepage. Here's mogenerator's elevator pitch: mogenerator is a command-line tool that, given an .xcdatamodel f
Generate Markdown documentation from source code
SourceDocs SourceDocs is a command line tool that generates markdown documentation files from inline source code comments. Similar to Sphinx or Jazzy,
A simple UIColor category to get color with hex code.
TFTColor A simple UIColor library to get UIColor object from RGB hex string/value, CMYK hex string/value or CMYK base component values. You can also r
Measure Swift code metrics and get reports in Xcode, Jenkins and other CI platforms.
Taylor ⚠️ Taylor is DEPRECATED. Use SwiftLint instead. A tool aimed to increase Swift code quality, by checking for conformance to code metrics. Taylo
A static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C
OCLint - https://oclint.org OCLint is a static code analysis tool for improving quality and reducing defects by inspecting C, C++ and Objective-C code
InputMethodKit Sample App with macOS11, Xcode13, Swift5.5 in 2021.
What is this? This is a sample implementation of IMKit App with Swift/SwiftUI. Working Environment macOS 11.5 Swift 5.5 Xcode13 (beta) Procedure to ma
GenStore is a lightweight swift code generator for your resources.
GenStore is a lightweight swift code generator for your resources. GenStore can create classes for your images, colors and localized strings.
A sample iOS app built using the Clean Swift architecture
Main Purpose is to create a simple project for Clean-Swift This project wrote with using Clean-Swift and MVP Design Pattern
Source code for iOS app "Photos for VK" — albums and photos manager for social network VKontakte
VK Photos (formally Photos for VK) VK Photos is an iOS app for manage albums and photos in social network VKontakte (vk.com) Screenshots Disclaimer ⚠️
Source code for the iOS app Screenshotter, on the App Store
Screenshotter This is the source code for the iOS app Screenshotter, available on the App Store. General Project Info Screenshotter is an Objective C
Code examples for Depth APIs in iOS
iOS-Depth-Sampler Code examples of Depth APIs in iOS Requirement Use devices which has a dual camera (e.g. iPhone 8 Plus) or a TrueDepth camera (e.g.
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...
Alerts & Pickers Advanced usage of native UIAlertController with TextField, TextView, DatePicker, PickerView, TableView, CollectionView and MapView. F
🎈 Curated collection of advanced animations that I have developed using (Swift UI for iOS) and (React Native for iOS/Android). Source code is intended to be reused by myself for future projects.
🎈 Curated collection of advanced animations that I have developed using (Swift UI for iOS) and (React Native for iOS/Android). Source code is intended to be reused by myself for future projects.
Glow Weather app source code
Glow-Weather Weather & air quality application created with a glow theme. This weather app uses APIs from weatherapi.com, and allows users to search t
Learn to Code While Building Apps - The Complete iOS Development Bootcamp
Xylophone Our Goal The goal of this tutorial is to dive into a simple iOS recipe - how to play sound and use an Apple library called AVFoundation. The
AudioKit Sample Player (ROM Player) - EXS24, Sound Font, Wave Player
AudioKit ROM / Sample Player Welcome to the official AudioKit example of a sample-based music instrument written in Swift. It can be modified to play
PlacenoteSDK Sample app in native iOS using ARKit, written primarily in Swift
Placenote SDK for iOS Placenote SDK lets you easily build cloud-based Augmented Reality (AR) apps that pin digital content to locations in the real wo
SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
Articles related to this project Clean Architecture for SwiftUI Programmatic navigation in SwiftUI project Separation of Concerns in Software Design C
This repository contains a detailed sample app that implements VIPER architecture in iOS using libraries and frameworks like Alamofire, AlamofireImage, PKHUD, CoreData etc.
iOS Viper Architecture: Sample App This repository contains a detailed sample app that implements VIPER architecture using libraries and frameworks li
A collection of operators and utilities that simplify iOS layout code.
Anchorage A lightweight collection of intuitive operators and utilities that simplify Auto Layout code. Anchorage is built directly on top of the NSLa
A simple, customizable Country picker for picking country or dialing code. 🇮🇳 🇯🇵 🇰🇷 🇩🇪 🇨🇳 🇺🇸 🇫🇷 🇪🇸 🇮🇹 🇷🇺 🇬🇧
CountryPicker A simple, customizable Country picker for picking country or dialing code. This library is for country picker used in many app for selec
🎯 Swift country and phone code Picker
CountryPicker Picker code Swift 3 / 4 / 5. Example To run the example project, clone the repo, and run pod install from the Example directory first. U
sample project for `UICollectionViewLayout` implementation
collection-view-layout-pattern-sample UICollectionViewLayout implementation pattern. About This project is introduced in iOSDC Japan 2021. sample code
SnippetsLibrary - Code snippets library for SwiftUI Devs.
SnippetsLibrary is a helpful tool for SwiftUI developers to help with their daily coding life. SnippetsLibrary contains all the needed code snippets for you to view, edit, or add more and more. This will make your daily work easier and faster.
GoodAsOldPhones is the demo app of Swift tutorial on code school.
GoodAsOldPhones GoodAsOldPhones is the demo app of Swift tutorial on code school. This app demonstates basic use and implementation of tab bar control
A 2048 game writing with SwiftUI.
2048 Game (SwiftUI app) This is a simple game to demonstrate the new SwiftUI framework. Note that the game algorithm may have issues, and this is stil
Full source code for the ComicFlow comic reader for iPad
Overview Finally a comic reader for iPad done right! ComicFlow was designed with one goal in mind: providing the best experience for comic fans with l
📅 Sample calendar app created with CalendarKit (template)
CalendarApp CalendarApp is a template repository serving as a starting point for experiments with CalendarKit. It's a sample calendar app for iOS buil
Telegram iOS Source Code Compilation Guide
Telegram iOS Source Code Compilation Guide We welcome all developers to use our API and source code to create applications on our platform. There are
Sample iOS app demonstrating Coordinators, Dependency Injection, MVVM, Binding
iOS Sample App Sample iOS app written the way I write iOS apps because I cannot share the app I currently work on. Shown concepts Architecture concept
Simple sample of using the VIP (Clean Swift) architecture for iOS
MyAnimeList Simple sample of using the VIP (Clean Swift) architecture for iOS. ViewController: controls the event handling, view life cycle and displa
Sample app to demonstrate data sharing between a WatchKit app and its main app using Realm
#Done! A sample app demonstrating how to share data between an app an its Watch extension using Realm. You can read more about it here. ##Screenshot #
QR Blank - QR Code URL scanner
QR Blank - QR Code URL scanner No Ads, Clean, Simple open source QR Code URL scanner Check URL by Google Safe Browsing before open. Google Safe Browsi
Core Plot source code and example applications
Core Plot Cocoa plotting framework for macOS, iOS, and tvOS. Introduction Core Plot is a 2D plotting framework for macOS, iOS, and tvOS. It is highly
An iOS wrapper for ChartJS. Easily build animated charts by leveraging the power of native Obj-C code.
TWRCharts TWRCharts An Obj-C wrapper for ChartJS. Easily build animated charts by leveraging the power of native code. TWRCharts is yet another charti
Write great asynchronous code in Swift using futures and promises
BrightFutures How do you leverage the power of Swift to write great asynchronous code? BrightFutures is our answer. BrightFutures implements proven fu
Tame async code with battle-tested promises
Then Reason - Example - Documentation - Installation fetchUserId().then { id in print("UserID : \(id)") }.onError { e in print("An error occur
Clocks made out of clocks made out of code
Clocks I came across this digital clock composed out of a set of analog clocks, created by Humans Since 1982, in a tweet, so I decided to remake it in
Distributed actors transport example, for feature review
swift-sample-distributed-actors-transport Sample application and ActorTransport, associated with distributed actor language evolution proposal. Runnin
Useful Swift code samples, extensions, functionalities and scripts to cherry-pick and use in your projects
SwiftyPick 🦅 🍒 Useful Swift code samples, extensions, functionalities and scripts to cherry-pick and use in your projects. Purpose The idea behind t
Source code related to blog post about creating custom parseable format styles in iOS 15 (and similar versions of tvOS, watchOS, and macOS). Blog post can be found at https://emptytheory.com/2021/08/14/creating-custom-parseable-format-styles-in-ios-15/
Project Title Custom Parseable Format Styles Description With iOS 15 (and the latest versions for watch, iPad, etc.), we can now convert certain value
SSToastMessage is written purely in SwiftUI. It will add toast, alert, and floating message view over the top of any view. It is intended to be simple, lightweight, and easy to use. It will be a popup with a single line of code.
SSToastMessage SSToastMessage is written in SwiftUI. It will add toast, alert, and floating message view over the top of any view. It is intended to b
An iOS view-controller navigation management. No inherit, using one line code to integrate.
KGNavigationBar Example An iOS view-controller navigation management. No inherit, using one line code to integrate. 一个 iOS 控制器导航管理库. 无需继承, 一行代码即可实现集成。
This is a sample app to create a photo selection classifier using CreateML on an iOS Device.
PhotoSelectionClassifier This is a sample app to create a photo selection classifier using CreateML on an iOS Device. Demo In the demo video below, we
Demonstration code for a simple Swift property-wrapper, keypath-based dependency injection system. The keypaths ensure compile-time safety for all injectable services.
Injectable Demo Preliminary musings and demonstration code for a simple Swift property-wrapper, keypath-based dependency injection system. The keypath
A mirror of Apple's sample code for high performance collection views in iOS 15.
Building High-Performance Lists and Collection Views Improve the performance of lists and collections in your app with prefetching and image preparati
This repository accompanies Test-Driven Development in Swift: Compile Better Code with XCTest and TDD
Apress Source Code This repository accompanies Test-Driven Development in Swift: Compile Better Code with XCTest and TDD by Gio Lodi (Apress, 2021). D
🛠 A flexible and easy template created to speed up the development of your iOS application based on the MVP pattern.
Model-View-Presenter template A flexible and easy template created to speed up the development of your iOS application based on the MVP pattern. This
A simple macOS app to read code from images, written purely in Swift using Vision Framework.
CodeReader A simple macOS app to read code from images, written purely in Swift using Vision Framework. Usage Drag an image Click the convert button R
Some code for playing with the Teenage Engineering Ortho Remote
ortho-remote C program for interfacing with the Teenage Engineering Ortho Remote. Currently only implemented for macOS Puts the remote into MIDI mode
Tutorial GraphQL + Node Express + MySQL, and sample for Android / iOS client
GraphQL-tutorial Tutorial for GraphQL + Node Express + MySQL, and sample for Android / iOS client Blog NeoRoman's GraphQL-tutorial (Korean) Materials
React Native library that implements PayPal Checkout flow using purely native code (swift).
react-native-paypal-swift React Native library that implements PayPal Checkout flow using purely native code (swift). Installation npm install react-n
A simple project to demonstrate VIPER design pattern.
live-news-viper A simple RESTful news headline fetching project to demonstrate VIPER design pattern. Alamofire is used for networking and News API end
You will learn how to scan QR code with iOS framework.
QR Code Scanner You will learn how to scan QR code with in iOS without using any library. It is as simple to scan QR code in iOS. In this example, We
Digger is a lightweight download framework that requires only one line of code to complete the file download task
中文说明 Digger is a lightweight download framework that requires only one line of code to complete the file download task. Based on URLSession, pure Swif
The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs!
SwiftGen SwiftGen is a tool to automatically generate Swift code for resources of your projects (like images, localised strings, etc), to make them ty
This is a sample project that supplements the tutorial written over at my blog on 'Building a music recognization app in SwiftUI with ShazamKit'
Shazam-Kit-Tutorial This is a sample project that supplements the tutorial written over at my blog on 'Building a music recognization app in SwiftUI w
SwiftTypeReader - You can gather type definitions from Swift source code.
SwiftTypeReader - You can gather type definitions from Swift source code.
Sample project to learn how to use swiftui 2.0 with Combine, we look into using SwiftUI MVVM, also interact with an API to get our newsfeed, use SPM(Swift Package Manager) to speed up our development flow and handle swiftui layout with views such as VStack.
News APP MVVM + SwiftUI + Combine + Swift Package Manager Sample project to learn how to use swiftui 2.0 with Combine, we look into using SwiftUI MVVM
Sample app to demonstrate using Firebase features
Photoram Sample app to demonstrate using Firebase features Uses: Firebase authentification for login and registrations Firebase storage to keep image
SwiftGen is a tool to automatically generate Swift code for resources of your projects (like images, localised strings, etc), to make them type-safe to use.
SwiftGen is a tool to automatically generate Swift code for resources of your projects (like images, localised strings, etc), to make them type-safe to use.
Instagram-like photo browser and a camera feature with a few line of code in Swift.
NOTE: This project is no longer maintained. We highly recommend YPImagePicker. Fusuma Fusuma is a Swift library that provides an Instagram-like photo
A better way to operate QR Code in Swift, support iOS, macOS, watchOS and tvOS.
EFQRCode is a lightweight, pure-Swift library for generating stylized QRCode images with watermark or icon, and for recognizing QRCode from images, in
GenericLocalPersistence is a clean and easy-to-use code that is useful for integrating local storage
GenericLocalPersistence is a clean and easy-to-use code that is useful for integrating local storage like UserDefaults, PList, Keychain.
Sample Code for WWDC21
WWDC21 Sample Code Accessibility Create Accessible Experiences for watchOS Creating Accessible Views WWDC21 Challenge: Large Text Challenge WWDC21 Cha
Swift code to programmatically execute local or hosted JXA payloads without using the on-disk osascript binary
Swift code to programmatically execute local or hosted JXA payloads without using the on-disk osascript binary. This is helpful when you have Terminal access to a macOS host and want to launch a JXA .js payload without using on-disk osascript commands.
Animate easy and with less code with Swift
JDAnimationKit is designed to be extremely easy to use. You can animate your UI withe less lines of code. This library use internally POP framework, a
A UICollectionViewLayout subclass that adds custom transitions/animations to the UICollectionView without effecting your existing code.
AnimatedCollectionViewLayout Normally a UICollectionView has no transition effects when you scroll from one item to another. There are lots of ways to
CodeEditorView Swift package provides a SwiftUI view implementing a rich code editor for iOS and macOS
SwiftUI code editor view for iOS and macOS
Swiftly convert country codes and cultural terms to all 269 emoji flags without hassle
Swiftly convert country codes and cultural terms to all 269 emoji flags without hassle
Sample app to demonstrate data sharing between a WatchKit app and its main app using Realm
#Done! A sample app demonstrating how to share data between an app an its Watch extension using Realm. You can read more about it here. ##Screenshot #
Sample iOS project built by SwiftUI + MVVM and Combine framework using GitHub API
SwiftUI-MVVM One of the biggest idea for having MVVM is that most of data flow can be testable. Data binding in view layer by SwiftUI is awesome. Howe
Sample iOS project built by SwiftUI + Flux and Combine framework using GitHub API
SwiftUI-Flux Flux enables us to have unidirectional data flow and make it testable. It's used to be implemented using RxSwift or ReactiveSwift in the
SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
Articles related to this project Clean Architecture for SwiftUI Programmatic navigation in SwiftUI project Separation of Concerns in Software Design C