Get Updates By E-mail 

InAppPurchase – A Simple Swift Library For In-App Purchases With Support For iOS 11’s Promotion Features

  •  
  •  
  •  
  •  
  •  

InAppPurchase is an open source Swift library submitted by Jin Sasaki providing a simple syntax for In-App purchases with support for iOS 11’s new features for promoting in-app purchases.

This snippet from the readme shows the syntax for handling an in-app purchase with Store Kit:

let iap = InAppPurchase.default
iap.purchase(productIdentifier: "PRODUCT_ID", finishDeferredTransactionHandler: { (result) in
    // `finishDeferredTransactionHandler` is called if the payment had been deferred and then approved.
    // For example, the case that a child requests to purchase, and then the parent approves.

    switch result {
    case .success(let state):
        // Handle `InAppPurchase.PaymentState` if needed
    case .failure(let error):
        // Handle `InAppPurchase.Error` if needed
    }
}, handler: { (result) in
    // This handler is called if the payment purchased, restored, deferred or failed.

    switch result {
    case .success(let state):
        // Handle `InAppPurchase.PaymentState`
    case .failure(let error):
        // Handle `InAppPurchase.Error`
    }
})

You can find InAppPurchase on Github here.

A nice simple to use library for working with StoreKit.


  •  
  •  
  •  
  •  
  •  

TimelineCards – A Swift iOS UI Component For Interactive Timeline Feeds

  • 7
  •  
  •  
  •  
  •  

TimelineCards is an open source Swift based component for creating great looking highly customizable interactive timeline cards.

With TimelineCards you can create individual cards or integrate the cards into a feed.  There is easy event handling for creating card interactions.  Extensive examples are included.

This animation from the readme shows possible cards created with TimelineCards for a travel app:
TimelineCards

You can find TimelineCards on Github here.

A great component for creating timelines.


  • 7
  •  
  •  
  •  
  •  

FindMe – Open Source Swift Example App Using ARKit Demonstrating Route Following And Creation

  • 8
  •  
  •  
  •  
  •  

FindMe is an open source augmented reality Swift app using ARKit allowing you to share routes with your friends.

FindMe allows you to record a route, and share images of the starting position and a route with your friends. FindMe uses location, and distance to improve the routes displayed in the augmented reality world.

This image from the readme demonstrates using FindMe to follow a route:

FindMe

You can find FindMe on Github here.

A nice example of using Swift and ARKit.


  • 8
  •  
  •  
  •  
  •  

SwiftColorGen – An Open Source Tool For Easier Color Management In Storyboards And In Swift

  • 10
  •  
  •  
  •  
  •  

SwiftColorGen is an open source tool from Fernando Del Rio that simplifies usage of colors in interface builder.

SwiftColorGen allows you to save time by automatically updating colors within interface builder avoiding the need for you to manually go through and change colors if you need to. UIColor extensions are also created allowing access to these colors programmatically if needed.

As the readme states:

SwiftColorGen reads all storyboard files to find common colors, it creates them in a .xcassets folder (without any duplications) and refer them back in the storyboard. Then, it creates an UIColor extension allowing to access the same colors programmatically. It automatically puts a name to the colors found. The name will be the closest webcolor name, measuring the color distance between them. But, the user still can rename the colors and it will keep the storyboards updated.

The tool is demonstrated in this video:

You can find SwiftColorGen on Github here.

A handy tool for managing colors.


  • 10
  •  
  •  
  •  
  •  

TransitionalTab – Easy Tab Bar Transition Animations For UITabBar

  • 10
  •  
  •  
  •  
  •  

TransitionalTab is an open source Component allowing you to very easily add animation transitions for tab switching with a UITabBar.

It is easy to create custom animations with TransitionalTab using Core Animation, and built in are sliding, scaling, and fading animations.

This animation from the readme shows the scaling animation in action:

TransitionalTab

You can find TransitionalTab on Github here.

A nice component for simple tab transition animations.


  • 10
  •  
  •  
  •  
  •