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
let configuration:ActivityConfiguration = ActivityConfiguration(indicatorColor: UIColor.orange, indicatorColorWithMessage: UIColor.red, backgroundColor: UIColor.green, messageTextColor: UIColor.white, indicatorBackGroundColor: UIColor.black) | |
self.showActivityIndicator(isHidden: false, message: "With great power comes great responsibility",configuration: configuration) | |
DispatchQueue.main.asyncAfter(deadline: .now() + 3) { | |
self.hideActivityIndicator() | |
self.showActivityIndicator(configuration: configuration) | |
DispatchQueue.main.asyncAfter(deadline: .now() + 3) { | |
self.hideActivityIndicator() | |
} | |
} |
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 DemoActivityIndicator | |
class ViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
self.showActivityIndicator() | |
DispatchQueue.main.asyncAfter(deadline: .now() + 3) { | |
self.hideActivityIndicator() | |
self.showActivityIndicator(isHidden: false, message: "With great power comes great responsibility") | |
DispatchQueue.main.asyncAfter(deadline: .now() + 3) { |
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
if let swipeActionView: UIView = cell.getActionView() { | |
if cell.swipeView != nil { | |
cell.swipeView?.sendSubviewToBack(swipeActionView) | |
} else { | |
cell.sendSubviewToBack(swipeActionView) | |
} | |
} |
This file has been truncated, but you can view the full file.
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
mihirmehta:iOS mihir$ ./build_ios.sh | |
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.25") | |
-- Building a non-boost version of Assimp. | |
-- Looking for ZLIB... | |
-- checking for module 'zzip-zlib-config' | |
-- package 'zzip-zlib-config' not found | |
-- Could not locate ZLIB | |
-- compiling zlib from souces | |
-- Looking for sys/types.h |