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
| var resultString = "" | |
| for eachDay in mArray { | |
| // make "day" header from first Event in eachDay | |
| let dHeader = dayHeaderFromEvent(eachDay[0]) | |
| // append to string | |
| resultString += dHeader |
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
| for index in dayArray { | |
| let tmpObject = index | |
| } | |
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
| mediastreamvalidator -d iphone http://msv-inserter-440707102.us-east-1.elb.amazonaws.com:8180/cdn/linear/espn/index.m3u8 | |
| mediastreamvalidator: Version 1.2(160525) | |
| [/cdn/linear/espn/index.m3u8] Started root playlist download | |
| [/cdn/linear/espn/index.m3u8] Started media playlist download | |
| [/cdn/linear/espn/index.m3u8] All media files delivered, waiting until next playlist fetch | |
| [/cdn/linear/espn/index.m3u8] All media files delivered, waiting until next playlist fetch | |
| [/cdn/linear/espn/index.m3u8] All media files delivered, waiting until next playlist fetch | |
| [/cdn/linear/espn/index.m3u8] All media files delivered, waiting until next playlist fetch |
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
| case "record": | |
| self.flagAutoRecord = true | |
| if let tabBarController = self.window!.rootViewController as? UITabBarController { | |
| if tabBarController.selectedIndex == 2 { | |
| let vc = tabBarController.selectedViewController as! DictateViewController | |
| vc.performSelector(#selector(DictateViewController.buttonMic(_:)), withObject: nil, afterDelay: 0.1) | |
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
| // in Today2ViewController... | |
| // add this func.... | |
| func shareEvent(event:EKEvent) -> Void { | |
| let cView = ShareEventView.init(frame: CGRect(x: 0, y: 0, width: 600, height: 200)) | |
| cView.lblDate.text = "Your format.... \(event.startDate)" | |
| cView.lblTitle.text = event.title | |
| cView.lblOther.text = event.calendar.title |
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
| Parse the string (typed or voice-dictated) | |
| Is it a Phone Call? | |
| Yes, start the call and quit doing anything else | |
| Is it a Text? | |
| Yes, launch Message editor and quit doing anything else |
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
| // | |
| // RoundedUIView.h | |
| // TmpRoundable | |
| // | |
| // Created by Don Mag on 2/1/17. | |
| // Copyright © 2017 DonMag. All rights reserved. | |
| // | |
| #import <UIKit/UIKit.h> |
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
| self.layer.cornerRadius = 16.0f; | |
| self.layer.shadowColor = [UIColor darkGrayColor].CGColor; | |
| self.layer.shadowOffset = CGSizeMake(4,4); | |
| self.layer.shadowOpacity = 0.9; |