Skip to content

Commit

Permalink
Fix a build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuki Nishiyama committed Apr 9, 2019
1 parent 4516727 commit efeced0
Show file tree
Hide file tree
Showing 7 changed files with 254 additions and 167 deletions.
11 changes: 2 additions & 9 deletions Example/AWARE-DynamicESM/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,12 @@ class ViewController: UIViewController {
let esmViewController = ESMScrollViewController()

// set an original ESM generation handler
esmViewController.originalESMViewGenerationHandler = {(esm, bottomESMViewPositionY, viewController) -> BaseESMView? in
// if esm.esm_type?.intValue == 99 {
// let height = 100.0
// let width = Double(viewController.view.frame.size.width);
// return BaseESMView.init(frame: CGRect(x:0.0, y:bottomESMViewPositionY, width:width, height:height),
// esm: esm,
// viewController: viewController)
// }
esmViewController.setOriginalESMViewGenerationHandler { (esm, bottomESMViewPositionY, viewController) -> BaseESMView? in
return nil
}

// set a answer completion handler
esmViewController.answerCompletionHandler = {
esmViewController.setESMAnswerCompletionHandler {
// delete the schedule when the answer is completed
ESMScheduleManager.shared().deleteSchedule(withId: "sample_esm")
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- AWAREFramework (1.4.5):
- AWAREFramework (1.4.6):
- GoogleSignIn
- ios-ntp
- SCNetworkReachability
Expand Down Expand Up @@ -53,7 +53,7 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
AWAREFramework: 602e6dc58be7ef5dee7edfd7bf94679b04b66e25
AWAREFramework: fc99c6d6c40d70505fcec1ffda0c3c54e5306c85
Charts: f69cf0518b6d1d62608ca504248f1bbe0b6ae77e
CocoaAsyncSocket: eafaa68a7e0ec99ead0a7b35015e0bf25d2c8987
GoogleSignIn: 7ff245e1a7b26d379099d3243a562f5747e23d39
Expand Down
7 changes: 2 additions & 5 deletions Example/Pods/Local Podspecs/AWAREFramework.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit efeced0

Please sign in to comment.