Skip to content

Commit

Permalink
Set up designated initializer for OCMBlockConstraint
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaclach committed Jan 2, 2021
1 parent 1ba2dc1 commit ff92e90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/OCMock/OCMConstraint.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ff92e90

Please sign in to comment.