mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Remove non-null definitions
This commit is contained in:
committed by
Levi McCallum
parent
e410595f42
commit
aa1842e484
@@ -32,7 +32,7 @@
|
|||||||
_pendingIndexPaths = [NSMutableDictionary dictionary];
|
_pendingIndexPaths = [NSMutableDictionary dictionary];
|
||||||
|
|
||||||
NSArray *elementKinds = [self.collectionDataSource supplementaryNodeKindsInDataController:self];
|
NSArray *elementKinds = [self.collectionDataSource supplementaryNodeKindsInDataController:self];
|
||||||
[elementKinds enumerateObjectsUsingBlock:^(NSString *kind, NSUInteger idx, BOOL * _Nonnull stop) {
|
[elementKinds enumerateObjectsUsingBlock:^(NSString *kind, NSUInteger idx, BOOL *stop) {
|
||||||
ASLOG(@"Populating elements of kind: %@", kind);
|
ASLOG(@"Populating elements of kind: %@", kind);
|
||||||
NSMutableArray *indexPaths = [NSMutableArray array];
|
NSMutableArray *indexPaths = [NSMutableArray array];
|
||||||
NSMutableArray *nodes = [NSMutableArray array];
|
NSMutableArray *nodes = [NSMutableArray array];
|
||||||
|
|||||||
@@ -843,7 +843,7 @@ static void *kASSizingQueueContext = &kASSizingQueueContext;
|
|||||||
- (void)dealloc
|
- (void)dealloc
|
||||||
{
|
{
|
||||||
ASDisplayNodeAssertMainThread();
|
ASDisplayNodeAssertMainThread();
|
||||||
[_completedNodes enumerateKeysAndObjectsUsingBlock:^(NSString *kind, NSMutableArray *nodes, BOOL * _Nonnull stop) {
|
[_completedNodes enumerateKeysAndObjectsUsingBlock:^(NSString *kind, NSMutableArray *nodes, BOOL *stop) {
|
||||||
[nodes enumerateObjectsUsingBlock:^(NSMutableArray *section, NSUInteger sectionIndex, BOOL *stop) {
|
[nodes enumerateObjectsUsingBlock:^(NSMutableArray *section, NSUInteger sectionIndex, BOOL *stop) {
|
||||||
[section enumerateObjectsUsingBlock:^(ASDisplayNode *node, NSUInteger rowIndex, BOOL *stop) {
|
[section enumerateObjectsUsingBlock:^(ASDisplayNode *node, NSUInteger rowIndex, BOOL *stop) {
|
||||||
if (node.isNodeLoaded) {
|
if (node.isNodeLoaded) {
|
||||||
|
|||||||
Reference in New Issue
Block a user