In this video, I display the bug in action. There really isn't much code to show. It's basically textbook the way you describe to implement this. It worked perfectly before Swift 3.
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
source 'https://github.com/CocoaPods/Specs'
source 'https://github.com/twilio/cocoapod-specs'
target 'Chitchat' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'SwiftyJSON', '3.1.0'
pod 'SCLAlertView-Objective-C', '1.0.3'
pod 'SDWebImage', '3.8.2'
pod 'TwilioIPMessagingClient'
pod 'Alamofire', '4.0.1'
pod 'SlackTextViewController', '1.9.4'
pod 'ChameleonFramework/Swift'
pod 'JGProgressHUD', '1.4'
pod 'YALSideMenu', '2.0'
# Honestly, I'd prefer to use just one library, but some bugs in ActiveLabel got me to include both of these. In the future, we can refactor some code to just incorporate one. Probably TTTAttributedLabel due to its verbosity
pod 'ActiveLabel', :git => 'https://github.com/optonaut/ActiveLabel.swift.git', :branch => 'swift-3'
pod 'TTTAttributedLabel', '2.0.0'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end
If you use Carthage: run carthage version | pbcopy and insert here
In this video, I display the bug in action. There really isn't much code to show. It's basically textbook the way you describe to implement this. It worked perfectly before Swift 3.
https://streamable.com/ac6t
Your Environment
Stack
Installation Source
Plugins
Podfile
carthage version | pbcopy
and insert here