A nature, universe, science, music, love lover

Any and AnyObject


According to Apple’s Swift documentation, Any can represent an instance of any type at all, including function types and optional types. AnyObject can represent an instance of any class type. So in theory, AnyObject shouldn’t work with Struct, Int,… (value types). But it did. You…



What is iBeacon I want to clarify that Beacon is not only bluetooth. iBeacon use both core location and core Bluetooth frameworks to communicate and to provide user’s enter and exits points to specific geographical region iBeacon advertising packet structure UUID (Universally…