Latest 2.1
Homepage https://github.com/matteogobbi/MGFinderView
License MIT
Platforms ios 6.0, requires ARC
Frameworks CoreGraphics, UIKit
Authors

MGFinderView is an animated finder view useful for instance to focus or to suggest a point of the screen to the user.

MGFinderView Screenshot
MGFinderView gif

Info

This code must be used under ARC.
If your code doesn’t use ARC you can mark this source with the compiler flag -fobjc-arc

Example Usage

As in the video, MGFinderView supports IBInspectable and IB_DESIGNABLE making possible creating and customizing itself from Interface Builder.

If you instead prefer to create it by code:

MGFinderView *finderView = [[MGFinderView alloc] initWithSquareSide:150 color:[UIColor greenColor]];
[self.view addSubview:finderView];
[finderView startAnimating];

Do you want to do less? Use:

+ (instancetype)showAnimatedFinderViewForTargetView:(UIView *)targetView;
+ (instancetype)showAnimatedFinderViewForTargetView:(UIView *)targetView color:(UIColor *)color;

size and position will be automatically calculated respecting the targetView.

Tips

If you want the view behind the finderView still intercetting the user touch, remember to disable the user interaction on the finderView:

finderView.userInteractionEnabled = NO;

Contact

Matteo Gobbi

License

MGFinderView is available under the MIT license.

Latest podspec

{
    "name": "MGFinderView",
    "version": "2.1",
    "summary": "MGFinderView is an animated finder view useful for instance to focus or to suggest a point of the screen to the user.",
    "homepage": "https://github.com/matteogobbi/MGFinderView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Matteo Gobbi": "[email protected]"
    },
    "source": {
        "git": "https://github.com/matteogobbi/MGFinderView.git",
        "tag": "2.1"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source_files": [
        "Classes",
        "MGFinderView/MGFinderView/*"
    ],
    "frameworks": [
        "CoreGraphics",
        "UIKit"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This