This file contains hidden or 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
| // | |
| // Copyright © 2017 Kalpesh Talkar. All rights reserved. | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software |
This file contains hidden or 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
| // | |
| // CustomActivity.swift | |
| // | |
| // Created by Kalpesh on 24/03/17. | |
| // Copyright © 2017 Kalpesh Talkar. All rights reserved. | |
| // | |
| // | |
| class CustomActivity: UIActivity { | |
| override func activityType() -> String? { |
This file contains hidden or 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
| // | |
| // Created by Kalpesh Talkar on 16/12/15. | |
| // Copyright © 2015 Kalpesh Talkar. All rights reserved. | |
| // | |
| /** | |
| Function to parse string/data from <html> tags. | |
| @param htmlStartTag start tag for e.g. <h1> | |
| @param htmlEndTag edn tag for e.g. </h1> |
This file contains hidden or 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
| import android.app.Activity; | |
| import android.content.Context; | |
| import android.graphics.Bitmap; | |
| import android.graphics.Canvas; | |
| import android.graphics.drawable.BitmapDrawable; | |
| import android.text.Spannable; | |
| import android.text.SpannableStringBuilder; | |
| import android.text.style.ImageSpan; | |
| import android.util.AttributeSet; |
This file contains hidden or 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
| // | |
| // UIViewController+PresentationStyle.h | |
| // | |
| // Created by Kalpesh Talkar on 22/08/16. | |
| // Copyright © 2016 Kalpesh Talkar. All rights reserved. | |
| // | |
| #import <UIKit/UIKit.h> | |
| @interface UIViewController (PresentationStyle) <UIPopoverPresentationControllerDelegate> |
This file contains hidden or 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
| // | |
| // TouchIDAuthenticationObject.swift | |
| // | |
| // Created by Kalpesh Talkar on 03/06/16. | |
| // Copyright © 2016 Kalpesh. All rights reserved. | |
| // | |
| import UIKit | |
| import LocalAuthentication |
This file contains hidden or 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
| // | |
| // MessageObject.swift | |
| // | |
| // Created by Kalpesh Talkar on 29/05/16. | |
| // Copyright © 2016 Kalpesh Talkar. All rights reserved. | |
| // | |
| import UIKit | |
| import MessageUI |
This file contains hidden or 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
| // | |
| // KImageCache.swift | |
| // | |
| // Created by Kalpesh Talkar on 01/04/16. | |
| // Copyright © 2016 Kalpesh. All rights reserved. | |
| // | |
| import UIKit | |
| class KImageCache { |