FlagKit alternatives and similar libraries
Based on the "Image" category.
Alternatively, view FlagKit alternatives based on common mentions on social networks and blogs.
-
Kingfisher
A lightweight and pure Swift implemented library for downloading and caching image from the web. -
GPUImage2
GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing. -
RSKImageCropper
An image cropper for iOS like in the Contacts app with support for landscape orientation. -
AspectFillFaceAware
An extension that gives UIImageView the ability to focus on faces within an image when using AspectFill. -
SKPhotoBrowser
Simple PhotoBrowser/Viewer inspired by facebook, twitter photo browsers written by swift -
GPUImage3
GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal. -
EBPhotoPages
A photo gallery for iOS with a modern feature set. Similar features as the Facebook photo browser. -
ImagePickerSheetController
ImagePickerSheetController is like the custom photo action sheet in iMessage just without the glitches. -
YUCIHighPassSkinSmoothing
An implementation of High Pass Skin Smoothing using Apple's Core Image Framework -
DFImageManager
Modern framework for fetching images from various sources. Zero config yet immense customization and extensibility. Uses NSURLSession. -
AsyncImageView
Simple extension of UIImageView for loading and displaying images asynchronously without lock up the UI. -
CTPanoramaView
Displays spherical or cylindrical panoramas or 360-photos with touch or motion based control options. -
ShadowImageView
ShadowImageView is a iOS 10 Apple Music style image view, help you create elegent image with shadow. -
ComplimentaryGradientView
Create complementary gradients generated from dominant and prominent colors in supplied image. Inspired by Grade.js. -
AXPhotoViewer
An iPhone/iPad photo gallery viewer, useful for viewing a large (or small!) number of photos
Get performance insights in less than 4 minutes.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of FlagKit or a related project?
README
[Header](Header.png)
FlagKit
Beautiful flag icons for usage in apps and on the web. All flags are provided as stand-alone PNG and SVG files. FlagKit also provides an Asset Catalog and framework for easy use on Apple platforms.
Installation (iOS, macOS, tvOS)
FlagKit provides a framework for easy installation as a dependency. You can also manually copy the Asset Catalog into your project.
Carthage
Add the following line to your Cartfile
:
github "madebybowtie/FlagKit"
CocoaPods
Add the following line to your Podfile
:
pod 'FlagKit'
Manual
Add Assets/FlagKit.xcassets
to your target.
Usage (iOS, macOS, tvOS)
FlagKit provides both rectangular unstyled flags and styled flags in a variety of shapes. Our [sample project](Sources/Swift/FlagKitDemo-iOS) demonstrates how to display flags and customize them into different shapes (rounded corners, square, circle).
Note: Styling is currently not supported by FlagKit on macOS
This brief example loads the flag for the users current locale, and retrieves the unstyled flag and a styled flag:
let countryCode = Locale.current.regionCode!
let flag = Flag(countryCode: countryCode)!
// Retrieve the unstyled image for customized use
let originalImage = flag.originalImage
// Or retrieve a styled flag
let styledImage = flag.image(style: .circle)
You can always access the underlying assets directly, through the bundled Asset Catalog:
let countryCode = Locale.current.regionCode!
let bundle = FlagKit.assetBundle
let originalImage = UIImage(named: countryCode, in: bundle, compatibleWith: nil)
Reference
FlagKit provides over 250 flags. A list of all flags can be [found here](Assets/Flags.md).
More Info
Have a question? Please open an issue!
License
FlagKit is released under the MIT license. See LICENSE.
*Note that all licence references and agreements mentioned in the FlagKit README section above
are relevant to that project's source code only.