Skip to content

Commit

Permalink
Remove warning, replace some method
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilen committed Nov 26, 2016
1 parent 2979d74 commit fede5a9
Show file tree
Hide file tree
Showing 19 changed files with 57 additions and 223 deletions.
21 changes: 8 additions & 13 deletions TSWeChat.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,10 @@
AE8F49AD1C46A905009C1541 /* CGRect+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE8F499E1C46A905009C1541 /* CGRect+Extension.swift */; };
AE8F49AE1C46A905009C1541 /* Device.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE8F499F1C46A905009C1541 /* Device.swift */; };
AE8F49B01C46A905009C1541 /* NSDictionary+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE8F49A11C46A905009C1541 /* NSDictionary+Extension.swift */; };
AE8F49B11C46A905009C1541 /* NSNotificationCenter+Block.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE8F49A21C46A905009C1541 /* NSNotificationCenter+Block.swift */; };
AE8F49B21C46A905009C1541 /* NSObject+String.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE8F49A31C46A905009C1541 /* NSObject+String.swift */; };
AE8F49B31C46A905009C1541 /* UIBarButtonItem+Block.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE8F49A41C46A905009C1541 /* UIBarButtonItem+Block.swift */; };
AE8F49B51C46A905009C1541 /* UIScreen+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE8F49A61C46A905009C1541 /* UIScreen+Extension.swift */; };
AE8F49B61C46A905009C1541 /* UISearchBar+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE8F49A71C46A905009C1541 /* UISearchBar+Extension.swift */; };
AE8F49B81C46A905009C1541 /* UIView+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE8F49A91C46A905009C1541 /* UIView+Extension.swift */; };
AE8F49B91C46A905009C1541 /* UIView+Frame.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE8F49AA1C46A905009C1541 /* UIView+Frame.swift */; };
AE8F49BA1C46A905009C1541 /* UIViewController+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE8F49AB1C46A905009C1541 /* UIViewController+Extension.swift */; };
AE8F49C01C46AA5F009C1541 /* Notes.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE8F49BF1C46AA5F009C1541 /* Notes.swift */; };
Expand Down Expand Up @@ -92,7 +90,6 @@
AEE69A5A1C7CB07C00C69224 /* Expression.plist in Resources */ = {isa = PBXBuildFile; fileRef = AEE69A591C7CB07C00C69224 /* Expression.plist */; };
AEE69B251C7CB2AF00C69224 /* Expression.bundle in Resources */ = {isa = PBXBuildFile; fileRef = AEE69B241C7CB2AF00C69224 /* Expression.bundle */; };
AEE69B621C81997500C69224 /* PHAsset+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEE69B5F1C81997500C69224 /* PHAsset+Extension.swift */; };
AEE69B641C81997500C69224 /* String+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEE69B611C81997500C69224 /* String+Extension.swift */; };
AEE69B661C81999E00C69224 /* UIImage+Orientation.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEE69B651C81999E00C69224 /* UIImage+Orientation.swift */; };
AEE69BA01C81B58600C69224 /* TSChatBaseCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEE69B691C81B58600C69224 /* TSChatBaseCell.swift */; };
AEE69BA11C81B58600C69224 /* TSChatCellDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEE69B6A1C81B58600C69224 /* TSChatCellDelegate.swift */; };
Expand Down Expand Up @@ -203,12 +200,10 @@
AE8F499E1C46A905009C1541 /* CGRect+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "CGRect+Extension.swift"; sourceTree = "<group>"; };
AE8F499F1C46A905009C1541 /* Device.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Device.swift; sourceTree = "<group>"; };
AE8F49A11C46A905009C1541 /* NSDictionary+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "NSDictionary+Extension.swift"; sourceTree = "<group>"; };
AE8F49A21C46A905009C1541 /* NSNotificationCenter+Block.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "NSNotificationCenter+Block.swift"; sourceTree = "<group>"; };
AE8F49A31C46A905009C1541 /* NSObject+String.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "NSObject+String.swift"; sourceTree = "<group>"; };
AE8F49A41C46A905009C1541 /* UIBarButtonItem+Block.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIBarButtonItem+Block.swift"; sourceTree = "<group>"; };
AE8F49A61C46A905009C1541 /* UIScreen+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIScreen+Extension.swift"; sourceTree = "<group>"; };
AE8F49A71C46A905009C1541 /* UISearchBar+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UISearchBar+Extension.swift"; sourceTree = "<group>"; };
AE8F49A91C46A905009C1541 /* UIView+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIView+Extension.swift"; sourceTree = "<group>"; };
AE8F49AA1C46A905009C1541 /* UIView+Frame.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIView+Frame.swift"; sourceTree = "<group>"; };
AE8F49AB1C46A905009C1541 /* UIViewController+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIViewController+Extension.swift"; sourceTree = "<group>"; };
AE8F49BE1C46A95E009C1541 /* TSWeChat-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "TSWeChat-Bridging-Header.h"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -248,7 +243,6 @@
AEE69A591C7CB07C00C69224 /* Expression.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Expression.plist; sourceTree = "<group>"; };
AEE69B241C7CB2AF00C69224 /* Expression.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Expression.bundle; sourceTree = "<group>"; };
AEE69B5F1C81997500C69224 /* PHAsset+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "PHAsset+Extension.swift"; sourceTree = "<group>"; };
AEE69B611C81997500C69224 /* String+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "String+Extension.swift"; sourceTree = "<group>"; };
AEE69B651C81999E00C69224 /* UIImage+Orientation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIImage+Orientation.swift"; sourceTree = "<group>"; };
AEE69B691C81B58600C69224 /* TSChatBaseCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TSChatBaseCell.swift; sourceTree = "<group>"; };
AEE69B6A1C81B58600C69224 /* TSChatCellDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TSChatCellDelegate.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -403,15 +397,12 @@
AE8F499F1C46A905009C1541 /* Device.swift */,
AE8742781C7AE48A003A435C /* NSDate+Extension.swift */,
AE8F49A11C46A905009C1541 /* NSDictionary+Extension.swift */,
AE8F49A21C46A905009C1541 /* NSNotificationCenter+Block.swift */,
AE8F49A31C46A905009C1541 /* NSObject+String.swift */,
AEE69B5F1C81997500C69224 /* PHAsset+Extension.swift */,
AEE69B611C81997500C69224 /* String+Extension.swift */,
AE8F49A41C46A905009C1541 /* UIBarButtonItem+Block.swift */,
AEE69B651C81999E00C69224 /* UIImage+Orientation.swift */,
AE8F49A61C46A905009C1541 /* UIScreen+Extension.swift */,
AE8F49A71C46A905009C1541 /* UISearchBar+Extension.swift */,
AE8F49A91C46A905009C1541 /* UIView+Extension.swift */,
AE8F49AA1C46A905009C1541 /* UIView+Frame.swift */,
AE8F49AB1C46A905009C1541 /* UIViewController+Extension.swift */,
);
Expand Down Expand Up @@ -756,7 +747,7 @@
attributes = {
CLASSPREFIX = TS;
LastSwiftUpdateCheck = 0720;
LastUpgradeCheck = 0720;
LastUpgradeCheck = 0810;
ORGANIZATIONNAME = Hilen;
TargetAttributes = {
AE92B5E01C3FF73000968A3A = {
Expand Down Expand Up @@ -902,7 +893,6 @@
buildActionMask = 2147483647;
files = (
AE8F49BA1C46A905009C1541 /* UIViewController+Extension.swift in Sources */,
AE8F49B11C46A905009C1541 /* NSNotificationCenter+Block.swift in Sources */,
AE8742751C7AE23E003A435C /* TSModel.swift in Sources */,
AE8F49AE1C46A905009C1541 /* Device.swift in Sources */,
AEBEE5B01C8754BD00956B0C /* TSChatButton+UI.swift in Sources */,
Expand All @@ -921,7 +911,6 @@
AE87428C1C7B250D003A435C /* TSContactModel.swift in Sources */,
AE69C7761C8E74A900D929CD /* TSMessageActionFloatView.swift in Sources */,
AE8F49B61C46A905009C1541 /* UISearchBar+Extension.swift in Sources */,
AE8F49B81C46A905009C1541 /* UIView+Extension.swift in Sources */,
AE69C77A1C8F355700D929CD /* TSNavigationBar.swift in Sources */,
AEE69BD01C81B58600C69224 /* TSChatShareMoreView.swift in Sources */,
AEE69BB21C81B58600C69224 /* ChatConfig.swift in Sources */,
Expand Down Expand Up @@ -976,7 +965,6 @@
AE8F49B51C46A905009C1541 /* UIScreen+Extension.swift in Sources */,
AE92B7881C3FF7C900968A3A /* TSAppMacro.swift in Sources */,
AEE69C181C81B92700C69224 /* UILabel+Extension.swift in Sources */,
AEE69B641C81997500C69224 /* String+Extension.swift in Sources */,
AEE69BD31C81B58600C69224 /* TSChatVoiceIndicatorView.swift in Sources */,
AEBEE5AE1C8754BD00956B0C /* TSChatSystemEdgeLabel.swift in Sources */,
AEE69BB91C81B58600C69224 /* TSYYTextLinePositionModifier.swift in Sources */,
Expand Down Expand Up @@ -1029,8 +1017,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
Expand Down Expand Up @@ -1073,8 +1063,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
Expand All @@ -1093,6 +1085,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
VALIDATE_PRODUCT = YES;
};
name = Release;
Expand All @@ -1101,6 +1094,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = FE685E6D2F38288FF2725A99 /* Pods-TSWeChat.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_IDENTITY = "iPhone Developer";
Expand All @@ -1123,6 +1117,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 3A0A115624D01BDFF95A5161 /* Pods-TSWeChat.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_IDENTITY = "iPhone Developer";
Expand Down
2 changes: 1 addition & 1 deletion TSWeChat/Classes/Chat/Cells/TSChatSystemCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class TSChatSystemCell: UITableViewCell {
}
var height: CGFloat = 0
height += kChatInfoLabelMarginTop + kChatInfoLabelMarginTop
let stringHeight: CGFloat = model.messageContent!.stringHeightWithMaxWidth(kChatInfoLabelMaxWdith, font: kChatInfoFont)
let stringHeight: CGFloat = model.messageContent!.ts_heightWithConstrainedWidth(kChatInfoLabelMaxWdith, font: kChatInfoFont)
height += stringHeight + kChatInfoLabelPaddingTop*2
model.cellHeight = height
return model.cellHeight
Expand Down
4 changes: 4 additions & 0 deletions TSWeChat/Classes/Chat/ChatHelper/AudioFilesManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class AudioFilesManager {

- returns: 返回路径
*/
@discardableResult
class func amrPathWithName(_ fileName: String) -> URL {
let filePath = self.amrFilesFolder.appendingPathComponent("\(fileName).\(kAudioFileTypeAmr)")
return filePath
Expand All @@ -33,6 +34,7 @@ class AudioFilesManager {

- returns: 返回路径
*/
@discardableResult
class func wavPathWithName(_ fileName: String) -> URL {
let filePath = self.wavFilesFolder.appendingPathComponent("\(fileName).\(kAudioFileTypeWav)")
return filePath
Expand All @@ -47,6 +49,7 @@ class AudioFilesManager {

- returns: 目标路径
*/
@discardableResult
class func renameFile(_ originPath: URL, destinationPath: URL) -> Bool {
do {
try FileManager.default.moveItem(atPath: originPath.path, toPath: destinationPath.path)
Expand All @@ -60,6 +63,7 @@ class AudioFilesManager {
/**
创建录音的文件夹
*/
@discardableResult
class fileprivate func createAudioFolder(_ folderName :String) -> URL {
let documentsDirectory = FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask)[0]
let folder = documentsDirectory.appendingPathComponent(folderName)
Expand Down
23 changes: 1 addition & 22 deletions TSWeChat/Classes/Chat/ChatHelper/AudioPlayManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AudioPlayManager: NSObject {
super.init()
//监听听筒和扬声器
let notificationCenter = NotificationCenter.default
notificationCenter.addObserver(self, name: NSNotification.Name.UIDeviceProximityStateDidChange.rawValue, object: UIDevice.current, handler: {
notificationCenter.ts_addObserver(self, name: NSNotification.Name.UIDeviceProximityStateDidChange.rawValue, object: UIDevice.current, handler: {
observer, notification in
if UIDevice.current.proximityState {
do {
Expand Down Expand Up @@ -166,28 +166,7 @@ class AudioPlayManager: NSObject {
log.info("Downloaded file successfully")
self.convertAmrToWavAndPlaySound(audioModel)
}

}

// Alamofire.download(.GET, audioModel.audioURL!, destination: destination)
// .progress { bytesRead, totalBytesRead, totalBytesExpectedToRead in
// print(totalBytesRead)
//
// // This closure is NOT called on the main queue for performance
// // reasons. To update your ui, dispatch to the main queue.
// dispatch_async(dispatch_get_main_queue()) {
// log.info("Total bytes read on main queue: \(totalBytesRead)")
// }
// }
// .response { [weak self] request, response, _, error in
// if let error = error, let delegate = self!.delegate {
// log.error("Failed with error: \(error)")
// delegate.audioPlayFailed()
// } else {
// log.info("Downloaded file successfully")
// self!.convertAmrToWavAndPlaySound(audioModel)
// }
// }
}
}

Expand Down
2 changes: 2 additions & 0 deletions TSWeChat/Classes/Chat/ChatHelper/ImageFilesManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import Kingfisher
class ImageFilesManager {
let imageCacheFolder = KingfisherManager.shared.cache

@discardableResult
class func cachePathForKey(_ key: String) -> String? {
let fileName = key.ts_MD5String
return (KingfisherManager.shared.cache.diskCachePath as NSString).appendingPathComponent(fileName)
Expand All @@ -35,6 +36,7 @@ class ImageFilesManager {

- returns: 目标路径
*/
@discardableResult
class func renameFile(_ originPath: URL, destinationPath: URL) -> Bool {
do {
try FileManager.default.moveItem(atPath: originPath.path, toPath: destinationPath.path)
Expand Down
42 changes: 21 additions & 21 deletions TSWeChat/Classes/Chat/TSChatViewController+Subviews.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ extension TSChatViewController {
初始化操作栏
*/
fileprivate func setupActionBar(_ delegate: UITextViewDelegate) {
self.chatActionBarView = TSChatActionBarView.fromNib()
self.chatActionBarView = UIView.ts_viewFromNib(TSChatActionBarView.self)
self.chatActionBarView.delegate = self
self.chatActionBarView.inputTextView.delegate = delegate
self.view.addSubview(self.chatActionBarView)
self.chatActionBarView.snp_makeConstraints { [weak self] (make) -> Void in
self.chatActionBarView.snp.makeConstraints { [weak self] (make) -> Void in
guard let strongSelf = self else { return }
make.left.equalTo(strongSelf.view.snp_left)
make.right.equalTo(strongSelf.view.snp_right)
strongSelf.actionBarPaddingBottomConstranit = make.bottom.equalTo(strongSelf.view.snp_bottom).constraint
make.left.equalTo(strongSelf.view.snp.left)
make.right.equalTo(strongSelf.view.snp.right)
strongSelf.actionBarPaddingBottomConstranit = make.bottom.equalTo(strongSelf.view.snp.bottom).constraint
make.height.equalTo(kChatActionBarOriginalHeight)
}
}
Expand All @@ -62,26 +62,26 @@ extension TSChatViewController {
*/
fileprivate func setupKeyboardInputView() {
//emotionInputView init
self.emotionInputView = TSChatEmotionInputView.fromNib()
self.emotionInputView = UIView.ts_viewFromNib(TSChatEmotionInputView.self)
self.emotionInputView.delegate = self
self.view.addSubview(self.emotionInputView)
self.emotionInputView.snp_makeConstraints {[weak self] (make) -> Void in
self.emotionInputView.snp.makeConstraints {[weak self] (make) -> Void in
guard let strongSelf = self else { return }
make.left.equalTo(strongSelf.view.snp_left)
make.right.equalTo(strongSelf.view.snp_right)
make.top.equalTo(strongSelf.chatActionBarView.snp_bottom).offset(0)
make.left.equalTo(strongSelf.view.snp.left)
make.right.equalTo(strongSelf.view.snp.right)
make.top.equalTo(strongSelf.chatActionBarView.snp.bottom).offset(0)
make.height.equalTo(kCustomKeyboardHeight)
}

//shareMoreView init
self.shareMoreView = TSChatShareMoreView.fromNib()
self.shareMoreView = UIView.ts_viewFromNib(TSChatShareMoreView.self)
self.shareMoreView!.delegate = self
self.view.addSubview(self.shareMoreView)
self.shareMoreView.snp_makeConstraints {[weak self] (make) -> Void in
self.shareMoreView.snp.makeConstraints {[weak self] (make) -> Void in
guard let strongSelf = self else { return }
make.left.equalTo(strongSelf.view.snp_left)
make.right.equalTo(strongSelf.view.snp_right)
make.top.equalTo(strongSelf.chatActionBarView.snp_bottom).offset(0)
make.left.equalTo(strongSelf.view.snp.left)
make.right.equalTo(strongSelf.view.snp.right)
make.top.equalTo(strongSelf.chatActionBarView.snp.bottom).offset(0)
make.height.equalTo(kCustomKeyboardHeight)
}
}
Expand All @@ -91,14 +91,14 @@ extension TSChatViewController {
*/
fileprivate func setupVoiceIndicatorView() {
//voiceIndicatorView init
self.voiceIndicatorView = TSChatVoiceIndicatorView.fromNib()
self.voiceIndicatorView = UIView.ts_viewFromNib(TSChatVoiceIndicatorView.self)
self.view.addSubview(self.voiceIndicatorView)
self.voiceIndicatorView.snp_makeConstraints {[weak self] (make) -> Void in
self.voiceIndicatorView.snp.makeConstraints {[weak self] (make) -> Void in
guard let strongSelf = self else { return }
make.top.equalTo(strongSelf.view.snp_top).offset(100)
make.left.equalTo(strongSelf.view.snp_left)
make.bottom.equalTo(strongSelf.view.snp_bottom).offset(-100)
make.right.equalTo(strongSelf.view.snp_right)
make.top.equalTo(strongSelf.view.snp.top).offset(100)
make.left.equalTo(strongSelf.view.snp.left)
make.bottom.equalTo(strongSelf.view.snp.bottom).offset(-100)
make.right.equalTo(strongSelf.view.snp.right)
}
self.voiceIndicatorView.isHidden = true
}
Expand Down
Loading

0 comments on commit fede5a9

Please sign in to comment.