Alexander Gusev

9pods

Anthology

A collection of less common collections in Swift.

License: MIT

  • Swift

SGASScreenRecorder

Record whatever is happening on your device's screen while your app is in foreground.

Features:

  • low performance impact
  • low memory footprint
  • save recordings to a video file or import into Photo Library
  • touch visualization during recording
  • simple overlay UI to start/stop recording

         To be only used in development and in-house builds, *not* App Store-safe at all.
    

License: MIT

  • Objective C

SGProxyingURLProtocol

An NSURLProtocol subclass for easy creation of pass-through URL protocols.

License: MIT

  • Objective C

SGVAppearanceProxy

UIAppearance performs slow under iOS7 because of some internal changes: certain setter methods (those with axis values or those with more than one argument end up calling an expensive method_exchageImplementations() function. This proxy wraps around original appearance proxy and uses the message forwarding mechanism of Objective-C to translate the affected method calls into methods with a single argument, and then passes them along to the original proxy, thus mitigating the problem.

License: MIT

  • Objective C

SGVAttributedNavigationBarTitle

Enables use of attributed strings as navigation item titles by [ab]using the power of Objective-C runtime.

License: MIT

  • Objective C

SGVBackgroundRunloop

A longer description of SGVBackgroundRunloop in Markdown format.

  • Think: Why did you write this? What is the focus? What does it do?
  • CocoaPods will be using this to generate tags, and improve search results.
  • Try to keep it short, snappy and to the point.
  • Finally, don't worry about the indent, CocoaPods strips it!

License: MIT

  • Objective C

SGVObjcMixin

SGVObjcMixin allows to 'mix in' methods from another class into any existing object (of any class). The class being mixed in should meet certain requirements. This can be used as an object-scoped (versus class-scoped) alternative to method swizzling. It is also arguably easier to reverse at runtime if needed.

License: MIT

  • Objective C

SGVReachability

Simple reachability wrapper for iOS.

  • Thread-safe
  • Non-blocking
  • Provides access to raw reachability flags structure
  • Can post notifications on reachability change to a given NSOperationQueue

License: MIT

  • Objective C

SGVSuperMessagingProxy

This NSProxy/SwiftObject proxy allows one to invoke method implementations from any class in the inheritance hierarchy for any Objective-C object or invoke dynamically-dispatched method implementations for any Swift object.

On creation, the proxy is passed the object and optionally a class in that object's inheritance hierarchy.

Any message sent to the proxy will be executed as if it was invoked with the super keyword from within that object's class declaration.

License: MIT

  • Objective C