April 2017: Four New GitHub Open Source Libraries

Our April GitHub digest is here, and today we’ll talk about notable new Swift and Objective-C open source releases.


Swift, ~1k stars this month

github most popular Swift libraries April

EFQRCode is a Swift tool to generate QR codes and recognize QR codes in images. It was created on top of CIImage, but has a much higher recognition rate. It can even recognize several codes in a single image and return an array if needed. EFQRCode supports iOS, macOS, and tvOS.

To recognize an image (it must be a CGImage), simply call:

EFQRCode.recognize(image: CGImage)


EFQRCodeRecognizer(image: CGImage).contents

To generate a QR code, call:

   content: String,
   inputCorrectionLevel: EFInputCorrectionLevel,
   size: EFIntSize,
   magnification: EFIntSize?,
   backgroundColor: CIColor,
   foregroundColor: CIColor,
   icon: EFIcon?,
   watermark: EFWatermark?,
   extra: EFExtra?

As you can see, you can add icons or watermarks to generated QR codes, but this is obviously optional.

When to use:

Whenever you’re dealing with QR codes.

Material Motion

Swift, ~800 stars this month

This CoreAnimation-based library includes a variety of ready-to-use interactions that are assigned to the MotionRuntime instance:

let runtime = MotionRuntime(containerView: <view>)

There are ten types of interactions: ArcMove, ChangeDirection, DirectlyManipulable, Draggable, Rotatable, Scalable, SetPositionOnTap, Spring, Tossable and Tween . You can easily combine several animations to achieve your desired effect.

When to use:

When you need to implement complex responsive motion.


Swift, ~800 stars this month

Gliding Collection is a cool UI component created and maintained by Ramotion, Inc. The team at Ramotion have done some great work by developing this kind of component that only includes UIKit and CoreAnimation. It’s quite easy to use: pretty much the same as UICollectionView or UITableView. You just need to implement some protocols. You can customize Gliding Collection effortlessly through GlidingConfig.

When to use:

When you want to save time while developing use it as a ready component.


Swift, ~400 stars in the past 2 weeks

GitHub Open Source libraries in Swift

Of course, we can’t just ignore this release by Google. Although it’s been developed only for macOS so far, Google is planning to support other platforms in the future.

This editor is beautiful and stable, and has incredibly readable code and very high performance. The most interesting part of XiEditor is its client-server interaction based on Rust and RPC (https://github.com/google/tarpc). XiEditor looks very exciting, and I’d highly recommend that you take a look.

When to use:

If you want to get familiar with with modern client-server technologies like Rust and RPC protocol.

3.0/ 5.0
Article rating
Remember those Facebook reactions? Well, we aren't Facebook but we love reactions too. They can give us valuable insights on how to improve what we're doing. Would you tell us how you feel about this article?

We use cookies to personalize our service and to improve your experience on the website and its subdomains. We also use this information for analytics.

More info