Skip to content

Commit

Permalink
Mark BONTagMake functions unavailable in swift.
Browse files Browse the repository at this point in the history
  • Loading branch information
Imperiopolis committed May 19, 2016
1 parent f2350f2 commit d5d617f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pod/Classes/BONTag.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*
* @return A @p BONTag instance representing the tag.
*/
NS_INLINE BONTag *BONCNonnull BONTagComplexMake(NSString *BONCNonnull startTag, NSString *BONCNonnull endTag, NSString *BONCNonnull escapeString, id<BONTextable> BONCNonnull textable)
NS_INLINE BONTag *BONCNonnull BONTagComplexMake(NSString *BONCNonnull startTag, NSString *BONCNonnull endTag, NSString *BONCNonnull escapeString, id<BONTextable> BONCNonnull textable) NS_SWIFT_UNAVAILABLE("Use BONTag(startTag:endTag:escapeString:textable:)")
{
return [[BONTag alloc] initWithStartTag:startTag endTag:endTag escapeString:escapeString textable:textable];
}
Expand All @@ -50,7 +50,7 @@ NS_INLINE BONTag *BONCNonnull BONTagComplexMake(NSString *BONCNonnull startTag,
*
* @return A @p BONTag instance representing the tag.
*/
NS_INLINE BONTag *BONCNonnull BONTagMake(NSString *BONCNonnull tag, id<BONTextable> BONCNonnull textable)
NS_INLINE BONTag *BONCNonnull BONTagMake(NSString *BONCNonnull tag, id<BONTextable> BONCNonnull textable) NS_SWIFT_UNAVAILABLE("Use BONTag(tag:textable:)")
{
return [[BONTag alloc] initWithTag:tag textable:textable];
}
Expand Down

0 comments on commit d5d617f

Please sign in to comment.