JDBreaksLoading Based on simple UIView and SpriteKit.
  • October 3, 2023

Introduction


JDBreaksLoading Based on simple UIView and SpriteKit.

You can easily start up a little breaking game by one line.

By the way, don’t make user wait too long to play the game~

Thanks for using.

Usage


To add JDBreaksLoading to your view, just give it a frame and addSubview.

let jdbreaksLoading:JDBreaksLoading = JDBreaksLoading(frame: frame)
self.view.addSubview(jdbreaksLoading)

Installation


CocoaPods

 

platform :ios, ‘8.0’
use_frameworks!
pod ‘JDBreaksLoading’

Game Configuration

The default [ Ball, Block , Paddle -> All white, Block count: 3 ]

If you want to chagnge some game setting (color, block…etc).

You will need to set ‘JDBreaksGameConfiguration’

let config:JDBreaksGameConfiguration = JDBreaksGameConfiguration(paddle_color: UIColor.white, ball_color: UIColor.white, block_color: UIColor.white, blocks_count: 3)
let jd:JDBreaksLoading = JDBreaksLoading(frame: frame, configuration: config)
self.view.addSubview(jd)

GitHub


View Github

#activityindicator #breaksloadings #indicator #ios #loadingview #progressview #swift #uiactivityindicatorview
YOU MIGHT ALSO LIKE...
CameraBackground

Features Both front and back camera supported. Flash modes: auto, on, off. Countdown timer. Tap to focus. Pinch to zoom. Usage  

DKCamera

Description A light weight & simple & easy camera for iOS by Swift. It uses CoreMotion framework to detect device orientation, so ...

HorizonSDK-iOS

Horizon SDK is a state of the art real-time video recording / photo shooting iOS library. Some of the features ...

LLSimpleCamera

LLSimpleCamera: A simple customizable camera - video recorder control LLSimpleCamera is a library for creating a customized camera - video ...

RSBarcodes_Swift

RSBarcodes allows you to read 1D and 2D barcodes using the metadata scanning capabilities introduced with iOS 7 and generate ...