From ff92e90ca963bb08067857cf9a876ee08e584f54 Mon Sep 17 00:00:00 2001 From: Dave MacLachlan Date: Fri, 5 Jun 2020 15:38:16 -0700 Subject: [PATCH] Set up designated initializer for OCMBlockConstraint --- Source/OCMock/OCMConstraint.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/OCMock/OCMConstraint.h b/Source/OCMock/OCMConstraint.h index da293796..57116c5c 100644 --- a/Source/OCMock/OCMConstraint.h +++ b/Source/OCMock/OCMConstraint.h @@ -70,7 +70,8 @@ BOOL (^block)(id); } -- (instancetype)initWithConstraintBlock:(BOOL (^)(id))block; +- (instancetype)initWithConstraintBlock:(BOOL (^)(id))block NS_DESIGNATED_INITIALIZER; +- (instancetype)init NS_UNAVAILABLE; @end