https://github.com/arturgrigor/AGMedallionView
iOS Picture View Control (Mac OS X Lion User's Avatar Like)
https://github.com/arturgrigor/AGMedallionView
ios macos objective-c osx xcode
Last synced: 5 months ago
JSON representation
iOS Picture View Control (Mac OS X Lion User's Avatar Like)
- Host: GitHub
- URL: https://github.com/arturgrigor/AGMedallionView
- Owner: arturgrigor
- License: mit
- Created: 2012-01-31T07:31:37.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2016-01-14T13:07:45.000Z (over 9 years ago)
- Last Synced: 2024-10-12T23:48:16.040Z (6 months ago)
- Topics: ios, macos, objective-c, osx, xcode
- Language: Objective-C
- Homepage:
- Size: 432 KB
- Stars: 219
- Watchers: 9
- Forks: 35
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - AGMedallionView - iOS Picture View Control (Mac OS X Lion User's Avatar Like) (xcode)
- awesome - AGMedallionView - iOS Picture View Control (Mac OS X Lion User's Avatar Like) (objective-c)
README
[](http://unmaintained.tech/)
[](http://twitter.com/arturgrigor)## AGMedallionView
AGMedallionView is a picture view control just like the one that Apple is using at the login screen in Mac OS X Lion.

## Installation
Copy over the files from the Classes folder to your project folder.
## Usage
Wherever you want to use AGMedallionView, import the appropriate header file and initialize as follows:
``` objective-c
#import "AGMedallionView.h"
```### Basic
``` objective-c
AGMedallionView *medallionView = [[AGMedallionView alloc] init];
medallionView.image = [UIImage imageNamed:@"sample"];
[self.view addSubview:medallionView];
[medallionView release];
```## Contact
- [GitHub](http://github.com/arturgrigor)
- [Twitter](http://twitter.com/arturgrigor)Let me know if you're using or enjoying this product.