-
Notifications
You must be signed in to change notification settings - Fork 270
Conversation
@@ -6,7 +6,7 @@ target 'nMessenger' do | |||
use_frameworks! | |||
|
|||
# Pods for nMessenger | |||
pod 'AsyncDisplayKit', '1.9.80' | |||
pod 'AsyncDisplayKit' | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we keep this at 1.9.90
? I want to avoid issues like the 1.9.81
we had earlier.
@@ -133,5 +133,5 @@ NMessenger is a fast, lightweight messenger component built on AsyncDisplaykit a | |||
s.requires_arc = true | |||
|
|||
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } | |||
s.dependency "AsyncDisplayKit", "1.9.80" | |||
s.dependency "AsyncDisplayKit" | |||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
fileprivate func waitForMessageLock(_ completion: @escaping ()->Void) { | ||
//DispatchQueue.global(priority: DispatchQueue.GlobalQueuePriority.default).async { | ||
|
||
DispatchQueue.global(qos: DispatchQoS.QoSClass.default).async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can also be DispatchQueue.global().async {}
. (qos' default value is ´DispatchQoS.QoSClass.default`) I'd prefer this since it is a bit cleaner.
messengerNode.frame = self.bounds | ||
messengerNode.view.separatorStyle = UITableViewCellSeparatorStyle.None | ||
messengerNode?.frame = self.bounds | ||
messengerNode?.view.separatorStyle = UITableViewCellSeparatorStyle.none |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is messengerNode
an optional now? I'd prefer to fix this since it ripples down to so many functions.
} | ||
} | ||
|
||
//run this on a background thread | ||
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) { | ||
DispatchQueue.global(qos: DispatchQoS.QoSClass.default).async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
9e8d3ce
to
8f8733e
Compare
Changes according to @atainter comments Removed cocoapod junk and edited readme
4a96fc8
to
0256f5f
Compare
LGTM |
@atainter