Top 14 Cocoapod Open-Source Projects
-
PinLayout
Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
moko-mvvm
Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development
-
JDFlipNumberView
[iOS] Animated analog flip numbers like airport/train-station displays (Swift/SwiftUI ready)
-
CollapsibleTableSectionViewController
:tada: Swift library to support collapsible sections in a table view.
-
DTPhotoViewerController
A fully customizable photo viewer ViewController to display single photo or collection of photos, inspired by Facebook photo viewer.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
SwiftyComments
UITableView based component designed to display a hierarchy of expandable/foldable comments.
-
ParseCareKit
Securely synchronize any CareKit based app to a Parse Server Cloud. Compatible with parse-hipaa.
-
PTEventView
An Event View based on Apple's Event Detail View. Written in Swift 3. Supports ARC, Autolayout and editing via StoryBoard.
-
Constraint
Constraint is a simple fluent Swift wrapper for iOS Auto Layout that has a very natural syntax
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: react-native-fast-image VS react-native-blasted-image - a user suggested alternative | libhunt.com/r/react-native-fast-image | 2023-10-17
Project mention: A lightweight wrapper for lazily initializing UIViews | /r/iOSProgramming | 2023-12-08
Project mention: Show HN: CycleQuest – Indoor Cycling game with steering | news.ycombinator.com | 2024-04-04- Comes with ready-to-use models and textures
To generate roads, I downloaded .gpx files from my Strava activities, then implemented a parser to take coordinates and elevations and build roads in-game using EasyRoads3D. These tools combined worked quite well but required some manual work. I had to go over the entire length of the road to smoothen it up (due to GPS noise in .gpx files). The terrain also didn’t always perfectly align with the road, so I had to manually modify it.
I figured that steering would be a good way to keep the user engaged in the gameplay, instead of just sitting on the bike and pedalling. With required steering, you need to be engaged to not drive off the road.
There are some solutions to virtual steering in other smart trainer games, but they are hardware-based - e.g., for Zwift, you need to buy their hardware controller. I really wanted to keep it as simple and inexpensive as possible, so I used a smartphone mounted to the handlebars as a steering controller.
I implemented native apps for both iOS and Android. They use the gyroscope to get the steering value and broadcast it as a BLE peripheral. Implementing Bluetooth in Unity was a little tricky as there is no built-in solution. The implementation depends on the platform the game is running on. It boils down to writing a native plugin for each platform you support.
For macOS, there is an open-source library written in Swift - https://github.com/codeinversion/sensors-swift. It already has the necessary services and characteristics implemented. I had to modify it a little and compile it into a Unity plugin.
For Windows, there also is a library - https://github.com/adabru/BleWinrtDll, but it wasn’t working too well. Because I targeted UWP, I was able to implement my own Bluetooth logic in C# and compile it directly in Unity.
Overall, it was a really fun project to work on. I’m particularly happy that I was able to release it starting from scratch in just a couple of months, and I hope to continue working on it.
Cocoapod related posts
Index
What are some of the best open-source Cocoapod projects? This list will help you:
Project | Stars | |
---|---|---|
1 | react-native-fast-image | 8,024 |
2 | PinLayout | 2,289 |
3 | FDWaveformView | 1,208 |
4 | moko-mvvm | 972 |
5 | JDFlipNumberView | 776 |
6 | CollapsibleTableSectionViewController | 353 |
7 | DTPhotoViewerController | 282 |
8 | XestiMonitors | 271 |
9 | SwiftyComments | 225 |
10 | SwiftyXML | 102 |
11 | sensors-swift | 54 |
12 | ParseCareKit | 36 |
13 | PTEventView | 34 |
14 | Constraint | 13 |
Sponsored