No visible interface error


I'm new to estimote SDK, when i try the sample code in my xcode project. I get the no visible @ interface for EstimoteBeconRegion declare the selector "initRegionWithIdentifier" for the sample code.

// create sample region object (you can additionally pass major / minor values)
ESTBeaconRegion* region = [[ESTBeaconRegion alloc] initRegionWithIdentifier:@"EstimoteSampleRegion"];

All other steps steps in set up dev environment completed successfully.

What am i missing here ?

Thank you


Try changing the problematic line to:

ESTBeaconRegion *region = [[ESTBeaconRegion alloc] initWithProximityUUID:ESTIMOTE_PROXIMITY_UUID identifier:@"EstimoteSampleRegion"];