Skip to content

Instantly share code, notes, and snippets.

View Coder-ACJHP's full-sized avatar
:bowtie:
Creating buggy programs

Onur Işık Coder-ACJHP

:bowtie:
Creating buggy programs
View GitHub Profile
@Coder-ACJHP
Coder-ACJHP / ZoomOutAndBounceVC.swift
Last active March 15, 2019 14:25
Anmiation : - Apply zoom out and bounce animation together when user tap on view and swipe down to reverse animation (like in Photo library of IOS)
//
// ZoomOutAndBounceVC.swift
// Cartoonize Image
//
// Created by Coder ACJHP on 15.03.2019.
// Copyright © 2019 Onur Işık. All rights reserved.
//
// ********************************************************************
// Be careful and don't use AutoLayout Constraints for animating view *
// This animations works with AutoResizing only! *
@Coder-ACJHP
Coder-ACJHP / UICClockView.swift
Created March 21, 2019 00:01
Analog clock with swift 4 (Core graphics)
//
// ClockView.swift
// UICAnalogClock
//
// Created by Coder ACJHP on 20.03.2019.
// Copyright © 2019 Onur Işık. All rights reserved.
//
import UIKit
@Coder-ACJHP
Coder-ACJHP / UICCircularProgressBar.swift
Last active April 1, 2019 13:51
File downloader (in background) with animated circular loading progress bar for swift
//
// UICCircularProgressBar.swift
// UICCircularDownloadProgressBar
//
// Created by Coder ACJHP on 1.04.2019.
// Copyright © 2019 Onur Işık. All rights reserved.
//
import UIKit
@Coder-ACJHP
Coder-ACJHP / UICTabbarViewController.swift
Last active July 13, 2020 14:04
Fully customizable 🎨 tab bar without using storyboard or .xib files for IOS written by Swift 4
//
// ViewController.swift
// UICTabbar
//
// Created by Coder ACJHP on 2.04.2019.
// Copyright © 2019 Onur Işık. All rights reserved.
//
import UIKit
@Coder-ACJHP
Coder-ACJHP / AutoLayoutExtension.swift
Created April 5, 2019 08:42
Make autolayout easier with this extension.
extension UIView {
func fillContainer() {
anchor(top: superview?.topAnchor, leading: superview?.leadingAnchor,
bottom: superview?.bottomAnchor, trailing: superview?.trailingAnchor)
}
// When you use this function don't pass "size" parameter into "anchor" function
func anchorSize(to view: UIView) {
widthAnchor.constraint(equalTo: view.widthAnchor).isActive = true
@Coder-ACJHP
Coder-ACJHP / UICBalanceSlider.swift
Last active November 12, 2019 11:45
UICBalanceSlider : designable vertical balance slider for Swift.
// Created by Hitendra Solanki on 04/17/2018. Updated by Coder ACJHP
// Copyright (c) 2018 Hitendra Solanki. All rights reserved.
//
import UIKit
public class UICBalanceSlider: UIControl {
enum HSProgressType {
case left(progress: Double)
@Coder-ACJHP
Coder-ACJHP / ChartBarViewController.swift
Last active April 12, 2019 18:56
How to draw chart bar with animation in swift 4+
//
// ChartBarViewController.swift
//
// Created by Onur Işık on 12.04.2019.
// Copyright © 2019 Onur Işık. All rights reserved.
//
import UIKit
class ChartBarViewController: UIViewController {
//
// EmitterProvider.swift
//
// Created by Coder ACJHP on 15.04.2019.
// Copyright © 2019 FitBest Bilgi Teknolojileri. All rights reserved.
//
import UIKit
class EmitterProvider {
//
// UICAwesomeSlider.swift
//
// Created by Coder ACJHP on 15.04.2019.
// Copyright © 2019 FitBest Bilgi Teknolojileri. All rights reserved.
//
import UIKit
class UICValueLabeledSlider: UISlider {
@Coder-ACJHP
Coder-ACJHP / UICContextMenu.swift
Created April 23, 2019 12:51
Custom contextual menu appears from bottom to top like `UIAlertControllerStyleActionSheet`
//
// ContextMenu.swift
//
// Created by Onur Işık on 23.04.2019.
// Copyright © 2019 Coder ACJHP. All rights reserved.
//
import UIKit
protocol UIContextMenuDelegate: AnyObject {
func contextMenu(_ contextMenu: UICContextMenu?, didSelectAspectRatio ratio: CGFloat)