Skip to content

Instantly share code, notes, and snippets.

Avatar

Emmanuel Kehinde emmanuelkehinde

View GitHub Profile
@emmanuelkehinde
emmanuelkehinde / DropdownSelector.swift
Created May 16, 2021
Reusable Dropdown selector using SwiftUI + Overlapping displaying using zIndex()
View DropdownSelector.swift
import SwiftUI
struct DropdownOption: Hashable {
let key: String
let value: String
public static func == (lhs: DropdownOption, rhs: DropdownOption) -> Bool {
return lhs.key == rhs.key
}
}
@emmanuelkehinde
emmanuelkehinde / PagingView.swift
Created May 14, 2021
Custom PagingView in SwiftUI
View PagingView.swift
struct PagingView<Content>: View where Content: View {
@Binding var index: Int
let maxIndex: Int
let content: () -> Content
@State private var offset = CGFloat.zero
@State private var dragging = false
init(index: Binding<Int>, maxIndex: Int, @ViewBuilder content: @escaping () -> Content) {
@emmanuelkehinde
emmanuelkehinde / DropdownSelector.swift
Created May 9, 2021
Reusable Dropdown selector using SwiftUI
View DropdownSelector.swift
import SwiftUI
struct DropdownOption: Hashable {
let key: String
let value: String
public static func == (lhs: DropdownOption, rhs: DropdownOption) -> Bool {
return lhs.key == rhs.key
}
}
@emmanuelkehinde
emmanuelkehinde / UIImage+Extension.swift
Created Mar 8, 2021
Remove transparency from an image in swift
View UIImage+Extension.swift
extension UIImage {
func trimmed() -> UIImage {
let newRect = cropRect()
if let imageRef = cgImage?.cropping(to: newRect) {
return UIImage(cgImage: imageRef)
}
return self
}
@emmanuelkehinde
emmanuelkehinde / twittasave_ios_privacy_policy
Last active Jan 24, 2021
Privacy Policy for TwittaSave iOS app
View twittasave_ios_privacy_policy
Privacy Policy
Emmanuel Kehinde built the TwittaSave app as a Free app. This SERVICE is provided by Emmanuel Kehinde at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at TwittaSave unless otherwise defined in this Privacy Policy.
Information Collection and Use
View twittasave_privacy_policy_by_emmanuel_kenny
Privacy Policy
Emmanuel Kenny built the TwittaSave app as a Free app. This SERVICE is provided by Emmanuel Kenny at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you need to be assured that no information of yours is collected at any point while using the app.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at TwittaSave unless otherwise defined in this Privacy Policy.
Information Collection and Use
View prepper_app_privacy_policy
Privacy Policy
PREPPER built the PREPPER app as a Free app. This SERVICE is provided by PREPPER at no cost and is intended for use as is.
This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.
If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at PREPPER unless otherwise defined in this Privacy Policy.
Information Collection and Use