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
import UIKit | |
import MBProgressHUD | |
import FacebookCore | |
import FacebookLogin | |
import FBSDKCoreKit | |
@IBAction func facebookAction(_ sender: UIButton) { | |
showHUDWithMessage("Facebook Login") | |
if let accessToken = AccessToken.current { |
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
// | |
// Created by Bishal Ghimire on 11/5/16. | |
// Copyright © 2016 bigBsoft. All rights reserved. | |
// | |
// Language - Swift 3.0 | |
// IDE - Xcode 8.0 | |
import Foundation | |
import Alamofire | |
import SwiftyJSON |
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
// | |
/// Router - | |
/// https://gist.github.com/bishalg/4d554cd79a138c43c00c17cebf6eb3d3 | |
// | |
/// Alamofire - Swifty JSON Response Parser | |
/// https://gist.github.com/bishalg/0561c81f921858725731f2c36819e99c | |
/// | |
import Foundation | |
import SwiftyJSON |
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
// | |
// Created by Bishal Ghimire on 11/6/16. | |
// Copyright © 2016 bigBsoft. All rights reserved. | |
// | |
import Foundation | |
import Alamofire | |
enum ActivitiesDate { | |
case currentDay // Activities Current Day |
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
// | |
// CoreDataHelper.swift | |
// Xcode 8.0 | |
// Swift 3.0 | |
// Subclass of CoreDataStack - | |
// https://gist.github.com/bishalg/6e3a4fc4020b558f40b02c1d835aad8b | |
// | |
import Foundation | |
import CoreData |
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
// Created by Bishal Ghimire on 5/15/16. | |
import UIKit | |
@IBDesignable | |
class CircularImageView: UIImageView { | |
override func prepareForInterfaceBuilder() { | |
super.prepareForInterfaceBuilder() | |
makeCircularImage() |
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
// | |
// UIView+Extension.swift | |
// | |
// Created by Bishal Ghimire on 4/30/16. | |
// Copyright © 2016 Bishal Ghimire. All rights reserved. | |
// | |
import UIKit | |
// |
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
// | |
// CoreDataStack.swift | |
// Swift 3.0 | |
// Xcode 8.0 | |
// | |
import Foundation | |
import CoreData | |
class CoreDataStack: NSObject { |
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
// | |
// AppInfo.swift | |
// This is an Util to get app infos like build / version number etc | |
// Swift 3.0 | |
// Xcode 8.0 | |
// | |
import Foundation | |
import AVFoundation |
NewerOlder