SlyceSearchImage Class Reference

Inherits from NSObject
Declared in SlyceSearchImage.h

– initWithImage:

Initializes a new SlyceSearchImage.

- (instancetype)initWithImage:(UIImage *)image

Parameters

image
  • The UIImage to be used for this search.

Return Value

A SlyceSearchImage instance.

Discussion

Use this method to create a new SlyceSearchImage without an anchor point.

Declared In

SlyceSearchImage.h

– initWithImage:anchor:

Initializes a new SlyceSearchImage.

- (instancetype)initWithImage:(UIImage *)image anchor:(CGPoint)anchor

Parameters

image
  • The UIImage to be used for this search.

Return Value

A SlyceSearchImage instance.

Discussion

Use this method to create a new SlyceSearchImage with an anchor point.

Declared In

SlyceSearchImage.h

  image

The image to be searched.

@property (nonatomic, readonly) UIImage *image

Declared In

SlyceSearchImage.h

  anchor

The point of interest. If no anchor was supplied, this will equal SlyceAnchorPointNone.

@property (nonatomic, readonly) CGPoint anchor

Declared In

SlyceSearchImage.h