Skip to content

Instantly share code, notes, and snippets.

View Ilesh's full-sized avatar
:octocat:
Learn | Build | Test | 🚀

Ilesh Panchal Ilesh

:octocat:
Learn | Build | Test | 🚀
View GitHub Profile
@Ilesh
Ilesh / IPFacebookLogin.swift
Created November 5, 2019 11:34
Login with facebook manager class. Its help to login and share with facebook.
//
// IPFacebookLogin.swift
//
//
// Created by Ilesh's 2018 on 05/11/18.
// Copyright © 2018. All rights reserved.
//
import UIKit
import FacebookLogin
//
// IPTapableLabel.swift
//
//
// Created by Ilesh's 2018 on 07/10/19.
// Copyright © 2019 Ilesh's. All rights reserved.
//
import Foundation
@Ilesh
Ilesh / IPButton.swift
Created October 7, 2019 10:50
Custom buttons for layout entire project with manage using tag.
//
// IPButton.swift
//
// Created by SAS
// Copyright © 2018 MAC7. All rights reserved.
//
import UIKit
@Ilesh
Ilesh / ArrayDeepCopy.swift
Created September 2, 2019 10:48 — forked from sohayb/ArrayDeepCopy.swift
Array deep copy in Swift
//Protocal that copyable class should conform
protocol Copying {
init(original: Self)
}
//Concrete class extension
extension Copying {
func copy() -> Self {
return Self.init(original: self)
}
//
// GoogleLogin.swift
//
//
// Created by Ilesh's on 31/12/18.
// Copyright © 2018 Ilesh's. All rights reserved.
//
// HERE I HAVE IMPLEMENTED
@Ilesh
Ilesh / IPGoogleAds.swift
Created August 8, 2019 10:13
For display google ads
//
// GoogleAds.swift
//
//
// Created by Ilesh's 2018 on 18/05/19.
// Copyright © 2019 Ilesh. All rights reserved.
//
import UIKit
import GoogleMobileAds
@Ilesh
Ilesh / compareimages.swift
Created July 26, 2019 12:41 — forked from SheffieldKevin/compareimages.swift
A couple of swift functions for comparing two CGImage using CIImage in OS X
/**
@brief Returns true if images have same meta. Width, Height, bit depth.
@discussion Assumes images are non null.
*/
func doImagesHaveSameMeta(#image1:CGImage, #image2:CGImage) -> Bool {
if CGImageGetWidth(image1) != CGImageGetWidth(image2) {
return false
}
if CGImageGetHeight(image1) != CGImageGetHeight(image2) {
//
// IPMailComposer.swift
//
//
// Created by Ilesh's 2018 on 02/07/19.
// Copyright © 2019 Ilesh. All rights reserved.
//
import MessageUI
//
// IPShareActivityItem.swift
//
//
// Created by Ilesh's 2018 on 18/06/19.
// Copyright © 2019 All rights reserved.
//
/*
// *** CALL USING LIKE
//
// IPDirectory.swift
//
//
// Created by Ilesh's 2018 on 13/06/19.
// Copyright © 2019 Ilesh's mac. All rights reserved.
//
import Foundation
import UIKit