HapticButton - A button that is triggered based on the 3D Touch pressure, similar to the iOS 11 control center

  •        112

HapticButton replicates the behavior of the buttons in the iOS 10 and 11 Control Center as well as in the Home app. A device with 3D Touch is required to fully experience the haptic feedback on supported devices. It is implemented as a subclass of UIControl, so feel free to further customize it to your needs. The example project shows how to set up HapticButton in a few different ways.

https://github.com/BalestraPatrick/HapticButton

Tags
Implementation
License
Platform

   




Related Projects

Haptico - Haptico 📳 - easy to use haptic feedback generator with pattern-play support

  •    Swift

Haptico is easy to use iOS haptic feedback generator. Besides default haptic feedbacks it can play patterns! Checkout Example project. To run the example project, clone the repo, and run pod install from the Example directory first.

AHDownloadButton - Customizable download button with progress and transition animations

  •    Swift

AHDownloadButton is a customizable download button similar to the download button in the latest version of Apple's App Store app (since iOS 11). It features download progress animation as well as animated transitions between download states: start download, pending, downloading and downloaded. You can find more details about the implementation on my blog. The state of the button can be changed through its state property.

ZLPhotoBrowser - 方便易用的相册多选框架,支持预览/相册内拍照及录视频、拖拽/滑动选择,3DTouch预览,编辑裁剪图片(滤镜)/视频,导出视频(可添加水印,粒子特效,视频转码);支持多语言国际化(中文简/繁,英语,日语,可手动切换);在线下载iCloud端图片;支持预览网络及本地图片/视频

  •    Objective-C

方便易用的相册多选框架,支持预览/相册内拍照及录视频、拖拽/滑动选择,3DTouch预览,编辑裁剪图片(滤镜)/视频,导出视频(可添加水印,粒子特效,视频转码);支持多语言国际化(中文简/繁,英语,日语,可手动切换);在线下载iCloud端图片;支持预览网络及本地图片/视频


Mandoline - An iOS picker view to serve all your "picking" needs

  •    Swift

The PickerView is a UICollectionView that provides a smooth "picking" interface. In order to get the most out of it, a consuming view controller should support the Selectable protocol in the intended UICollectionViewCells that dictates whether a cell isSelectable. It also has responsive haptic feedback that is generated upon selection and moving across cells.

SPStorkController - Now playing controller from Apple Music, Mail & Podcasts Apple's apps.

  •    Swift

Controller as in Apple Music, Podcasts and Mail apps. Simple adding close button and centering arrow indicator. Customizable height. Using custom TransitionDelegate. Alert you can find in SPAlert project. The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

duckduckgo - DuckDuckGo Instant Answer Infrastructure

  •    Perl

This repo is only for issues related to the DuckDuckHack (ZeroClickInfo) Architecture. General DuckDuckGo issues (unrelated to our open source projects) should be reported here: https://duckduckgo.com/feedback, or via the "Feedback" button in the bottom right corner of the search results page.

Expandy

  •    C

Expandy allows full control of the Gnome desktop environment through a single button interface. This gives people with physical disabilities access to a computing environment by emulating keyboard and mouse events using a button and on-screen feedback.

HaptiCast

  •    C++

HaptiCast is a 3D game where players assume the role of a wizard equipped with an arsenal of haptically-enabled wands. The goal of the project is to experiment with haptic interaction in 3D games and to report findings to the haptic,gaming communities.

UniversalProject - 基于MVC架构的iOS轻量级框架,封装了基类、基于猿题库YTKNetwork的网络服务、工具库,NavigationController转场动画/瀑布流/粒子动画/小demo,已适配iOS11 & iPhone X。欢迎Star🌟

  •    Objective-C

基于MVC架构的iOS轻量级框架,封装了基类、基于猿题库YTKNetwork的网络服务、工具库,NavigationController转场动画/瀑布流/粒子动画/小demo,已适配iOS11 & iPhone X。欢迎Star🌟

iOS11-NFC-Example - 📱 Example showing how to use the Core NFC API in iOS 11 and later.

  •    Swift

A quick example showing how to use the Core NFC API in iOS 11 and Swift 4. In order to work with NFC-tags, it is fundamental to understand the NDEF (NFC Data Exchange Format) specification. Whenever CoreNFC discovers a new tag, the didDetectNDEFs delegate method will provide an array of NDEF messages ([NFCNDEFMessage]). Usually, there is only one NDEF message included, but the specification keeps it flexible to provide multiple messages at the same time.

UINavigation-SXFixSpace - 新的导航栏按钮位置偏移的解决方案,兼容iOS11,可自定义间距,同时兼容性更好

  •    Objective-C

新的导航栏按钮位置偏移的解决方案,兼容iOS11,可自定义间距,同时兼容性更好

pressure - :point_down::boom: JavaScript library for handling Force Touch, 3D Touch, and Pointer Pressure

  •    Javascript

Pressure is a JavaScript library for handling both Force Touch and 3D Touch on the web, bundled under one library with a simple API that makes working with them painless. Head over to the documentation for installation instructions, supported devices, and more details on pressure.js.

Android-3DTouch-PeekView - Simple and powerful library to emulate iOS's "3D Touch" preview functionality on Android

  •    Java

iOS uses 3D Touch as a way to "peek" into full content, such as emails, pictures, web searches, etc. While they have dedicated hardware for this functionality, it is still possible to get similar functionality out of Android, with a long click, rather than the dedicated hardware. This library aims to create a simple and powerful API to enable 3D Touch style "Peeking" on Android.

SwitchCompatLibrary - I backported the ICS Switch (api level 14+) to Froyo (api level 8)

  •    Java

Unfortunately it isn't perfect. You cannot disable it for example, because I didn't need it in my use case. After I got some feedback, I decided to do a complete backport of the original Switch button, which was fairly easy! I just copied the code and edited some lines. Yeah. Unfortunately there is a minor bug aswell. For some reason the OnCheckedChangeListener is only called when the Switch has an OnClickListener. As a workaround I added an OnClickListener in the constructor of the Switch, so you don't have to worry about it.

DLRadioButton - Radio Button for iOS

  •    Objective-C

DLRadioButton is an easy to use and highly customizable radio buttons control for iOS. It's a subclass of UIButton, and works smoothly with both Objective-C and Swift. Since its release, DLRadioButton has become the most popular radio buttons control for iOS 🎉. Thank you for all the great feedback and making it better for all of us 👏.

Feedback Form

  •    CSharp

Feedback application makes it easier for attendees who attend an seminar/event and event organizers. Organizers of the event will no longer need to produce lots of feedback forms to know the feedback of their attendees. It's developed in C# Language.