Skip to content

Instantly share code, notes, and snippets.

View Arutyun2312's full-sized avatar

Aru Enfendzhyan Arutyun2312

View GitHub Profile
@Arutyun2312
Arutyun2312 / CustomGeometryReader.swift
Last active January 10, 2022 19:23
Custom Geometry Reader
//
// CustomGeometryReader.swift
//
//
// Created by Arutyun Enfendzhyan on 10.01.22.
//
import SwiftUI
struct CustomGeometryReader: View {
@Arutyun2312
Arutyun2312 / CustomNavigationLink.swift
Last active April 5, 2023 16:45
IOS 14 NavigationLink Pop Bug Fix, using custom NavigationLink.
@Arutyun2312
Arutyun2312 / CustomScrollView.swift
Last active October 25, 2021 23:24
Simple Scrollview created based on UIKit. Can control content offset and scroll direction. Note: to control content offset, set 'scrollOwner' to code.
//
// CustomScrollView.swift
// BearFitness
//
// Created by Arutyun Enfendzhyan on 05.10.21.
//
import SwiftUI
struct CustomScrollView: View {
@Arutyun2312
Arutyun2312 / CheckableImageButton.kt
Last active September 26, 2020 12:19
ImageButton that is checkable. Supports the state_checked, so that selectors can work seamlessly. MUST put the file attrs.xml in raw/values. Min sdk is 16
/*
Do whatever u want, I don't care
Arutyun 2020
*/
import android.*
import android.content.*
import android.content.res.*
import android.os.*
import android.util.*