This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// IPFacebookLogin.swift | |
// | |
// | |
// Created by Ilesh's 2018 on 05/11/18. | |
// Copyright © 2018. All rights reserved. | |
// | |
import UIKit | |
import FacebookLogin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// IPTapableLabel.swift | |
// | |
// | |
// Created by Ilesh's 2018 on 07/10/19. | |
// Copyright © 2019 Ilesh's. All rights reserved. | |
// | |
import Foundation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Protocal that copyable class should conform | |
protocol Copying { | |
init(original: Self) | |
} | |
//Concrete class extension | |
extension Copying { | |
func copy() -> Self { | |
return Self.init(original: self) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// GoogleLogin.swift | |
// | |
// | |
// Created by Ilesh's on 31/12/18. | |
// Copyright © 2018 Ilesh's. All rights reserved. | |
// | |
// HERE I HAVE IMPLEMENTED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// GoogleAds.swift | |
// | |
// | |
// Created by Ilesh's 2018 on 18/05/19. | |
// Copyright © 2019 Ilesh. All rights reserved. | |
// | |
import UIKit | |
import GoogleMobileAds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
@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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// IPMailComposer.swift | |
// | |
// | |
// Created by Ilesh's 2018 on 02/07/19. | |
// Copyright © 2019 Ilesh. All rights reserved. | |
// | |
import MessageUI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// IPDirectory.swift | |
// | |
// | |
// Created by Ilesh's 2018 on 13/06/19. | |
// Copyright © 2019 Ilesh's mac. All rights reserved. | |
// | |
import Foundation | |
import UIKit |