Giter Club home page Giter Club logo

typist's Introduction

Hi! I'm an app developer, designer, amateur triathlete, and photographer who loves walking.

I'm currently working in a cyber-security company as an iOS developer. There is a big chance you've heard of it. On weekends and free time that feels like programming, I work on Tride โ€” an indie cycling and running app for all Apple products.

  • ๐ŸŒฑ I'm currently learning digital signal processing and ML applications for activity tracking and training load predictions.
  • ๐Ÿ“ซ How to reach me: @totocaster or email.
  • ๐Ÿ˜„ Pronouns: he/him
  • โšก Fun fact: I shoot a lot of photos that are not published yet, but you can see some of my snaps here.

P.S. I just discovered this GitHub feature, to be updated with more goodies soon.

typist's People

Contributors

colinhumber avatar duliodenis avatar jeanbernard avatar jeehut avatar lasha-ring avatar mman avatar mohpor avatar nikans avatar sirioz avatar tosinaf avatar totocaster avatar tylerian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

typist's Issues

Installation Section

Hey, your library is really interesting.

The only problem I found was the README.md, which lacks an Installation Section
I created this iOS Open source Readme Template so you can take a look on how to easily create an Installation Section
If you want, I can help you to organize the lib.

What are your thoughts? ๐Ÿ˜„

ios 12 changes

Seems like lot of constants have changed,
'UIApplicationDidBecomeActive' has been renamed to 'UIApplication.didBecomeActiveNotification'
'kCAFillModeBoth' has been renamed to 'CAMediaTimingFillMode.both'
'UIApplicationDidBecomeActive' has been renamed to 'UIApplication.didBecomeActiveNotification'

and a few more

How to use options.animationCurve?

I'm trying to setup a UIView animation to match the keyboard animation, including the animation curve. .animationCurve is available from Typist.KeyboardOptions, but I'm getting a type error. Any way around this?

UIView.animate(withDuration: options.animationDuration, delay: 0, options: options.animationCurve, animations: {
    self.view.layoutIfNeeded()
}, completion: nil)
Cannot convert value of type 'UIViewAnimationCurve' to expected argument type 'UIViewAnimationOptions'

Make it possible to use typist in multiple View controllers at the same time

I'm aware of the current limitations of using a singleton instance and start/stop methods to setup and remove listeners.

I'm opening this issue to start conversation about how to best address this limitation so that multiple typist instances can be setup at the same time for example from a full screen view controller on the iPad and another modally present page view controller that is occupying just part of the screen (page modal view controller)

Quickly thinking out loud I think it should be possible instead of using a singleton just instantiate and start typist in viewDidLoad and stop it in deinit...

Any thoughts on this?

Thanks
Martin

The singleton pattern is encouraged, but doesn't support multiple callbacks

Since callbacks only stores one closure of each event type, multiple controllers that use Typist.shared will "fight" over who receives notifications.

class ControllerOne: UIViewController {
  override func viewDidLoad() {
    Typist.shared.on(event: .willShow) { _ in print("will show from one") }
  }
}

class ControllerTwo: UIViewController {
  override func viewDidLoad() {
    Typist.shared.on(event: .willShow) { _ in print("will show from two") }
  }
}

If both of these controllers are loaded, only the second controller will get the notifications.

Easy fix: remove the singleton, and have each controller retain its own Typist instance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.