From b0a05c2fd17933be4a809cadf6fcb9c852234e65 Mon Sep 17 00:00:00 2001 From: Alexandre Jouandin Date: Thu, 31 Aug 2017 01:21:08 +0300 Subject: [PATCH] Fix `No @interface declares "containsIndex:"` This fixes the `No visible @interface for NSArray declares the selector "containsIndex:"` error that prevented Xcode (9b6) from compiling. --- macosx/FileOutlineController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/FileOutlineController.m b/macosx/FileOutlineController.m index 885be8f0f..817a24993 100644 --- a/macosx/FileOutlineController.m +++ b/macosx/FileOutlineController.m @@ -617,7 +617,7 @@ typedef enum __block NSUInteger retIndex = NSNotFound; - [list enumerateObjectsAtIndexes: indexes options: NSEnumerationConcurrent usingBlock: ^(id checkNode, NSUInteger index, BOOL * stop) { + [list enumerateObjectsAtIndexes: indexes options: NSEnumerationConcurrent usingBlock: ^(FileListNode * checkNode, NSUInteger index, BOOL * stop) { if ([[checkNode indexes] containsIndex: [[node indexes] firstIndex]]) { if (![checkNode isFolder]) -- 2.40.0