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 Jun 18, 2020
1 parent 17754a9 commit a41d9df
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 @@ -71,7 +71,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 a41d9df

Please sign in to comment.