All Projects → eliakorkmaz → Icard

eliakorkmaz / Icard

Licence: mit
Bank Card Generator with Swift using SnapKit DSL 💳

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Icard

Triplea
TripleA is a turn based strategy game and board game engine, similar to Axis & Allies or Risk.
Stars: ✭ 268 (-17.03%)
Mutual labels:  opensource
Online
Collabora Online is a collaborative online office suite based on LibreOffice technology. This is also the source for the Collabora Office apps for iOS and Android.
Stars: ✭ 278 (-13.93%)
Mutual labels:  opensource
Augur
Python library and web service for Open Source Software Health and Sustainability metrics & data collection.
Stars: ✭ 304 (-5.88%)
Mutual labels:  opensource
Ottodiyesp
build you own internet of robots!
Stars: ✭ 273 (-15.48%)
Mutual labels:  opensource
Budibase
Budibase is an open-source low-code platform for creating internal apps in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s 🚀
Stars: ✭ 8,071 (+2398.76%)
Mutual labels:  opensource
Ganeti
Ganeti is a virtual machine cluster management tool built on top of existing virtualization technologies such as Xen or KVM and other open source software.
Stars: ✭ 290 (-10.22%)
Mutual labels:  opensource
Yvm
🧶 Manage multiple versions of Yarn
Stars: ✭ 265 (-17.96%)
Mutual labels:  opensource
Jsonnet Libs
Grafana Labs' Jsonnet libraries
Stars: ✭ 309 (-4.33%)
Mutual labels:  opensource
Dgfraud
A Deep Graph-based Toolbox for Fraud Detection
Stars: ✭ 281 (-13%)
Mutual labels:  opensource
Co.revely.gradient
An Android library for easy gradient management
Stars: ✭ 298 (-7.74%)
Mutual labels:  opensource
Charlescd
CharlesCD is an open source tool that makes deployments more agile, continuous and safe, which allows development teams to perform hypothesis validations with a specific group of users, simultaneously.
Stars: ✭ 275 (-14.86%)
Mutual labels:  opensource
Cyberscan
CyberScan: Network's Forensics ToolKit
Stars: ✭ 280 (-13.31%)
Mutual labels:  opensource
Sharplearning
Machine learning for C# .Net
Stars: ✭ 294 (-8.98%)
Mutual labels:  opensource
Video Hub App
Official repository for Video Hub App
Stars: ✭ 272 (-15.79%)
Mutual labels:  opensource
Wesnoth
An open source, turn-based strategy game with a high fantasy theme.
Stars: ✭ 3,488 (+979.88%)
Mutual labels:  opensource
Swiggyui
A Swiggy UI Clone Flutter App.
Stars: ✭ 258 (-20.12%)
Mutual labels:  opensource
Mapmap
Open source video mapping software
Stars: ✭ 282 (-12.69%)
Mutual labels:  opensource
Flutterwidgetguide
A flutter appliction listing all the widgets covered in Flutter widget of the week playlist.
Stars: ✭ 316 (-2.17%)
Mutual labels:  opensource
Altair
✨⚡️ A beautiful feature-rich GraphQL Client for all platforms.
Stars: ✭ 3,827 (+1084.83%)
Mutual labels:  opensource
Simple Calculator
A calculator for quick simple calculations with a nice user interface and no ads
Stars: ✭ 297 (-8.05%)
Mutual labels:  opensource

iCard

BankCard & CreditCard generator with Swift 3 using SnapKit DSL

iCard is a simple tool for generate Credit & Bank Card , it represent cards as UIView and it's a subclass of UIView

Screenshots

.chip1 - .blueway - .withBothBankIcon - .cirrusIcon & .chip3 - .blueway - .withBothBankIcon - .masterCardIcon

alt-text-1 alt-text-2

.chip2 - .yelloway - .googleWalletIcon - .cirrusIcon & .chip2 - .yelloway - .withDefaultTitles

alt-text-1 alt-text-2

.chip1 - .cirrusIcon - .withBothBankIcon & .chip2 - .withBothBankIcon

alt-text-1 alt-text-2

Init

init(cardStyleWithBackgroundColor: cardStyle , withCardColors colors: cardColors , pinIcon: chipIcons , creditIcons: creditIcons)

For creating iCard with single backgroundColor , you should use this initalizer and you must choose cardStyle, cardColors, pinIcons and creditIcons

let simpleCard: iCreditCard = iCreditCard(cardStyleWithBackgroundColor: .withBothBankIcon, withCardColors: .blueway, pinIcon: .chip1, creditIcons: .cirrusIcon)

And if you create an iCreditCard with has a unique background image , you can easily use this init function. You must send UIImage to init otherwise if withCardImage is nil , it will have simple backgroundColor.

init(cardStyleWithBackgroundImage: cardStyle , withCardImage: UIImage?, pinIcon: chipIcons , creditIcons: creditIcons)

Here is a simple creation of iCard with backgroundImage

let simpleCard: iCreditCard = iCreditCard(cardStyleWithBackgroundImage: .withBothBankIcon, withCardImage: UIImage(named:"simpleBackgroundImage"), pinIcon: .chip2, creditIcons: .maestroIcon)

Convenience Init

You can also create iCard with no-parameter or single-parameter

convenience init(){
self.init(cardStyleWithBackgroundColor: .withBothBankIcon, withCardColors: .yelloway, pinIcon: .chip1, creditIcons: .cirrusIcon) }

Here is a simple example of it . If you use this initializer you will created a iCard with .withBothBankIcon style , .yelloway color , .chip1 chip and .cirrusIcon icon

Here is a simple usage

let simpleCard: iCreditCard = iCreditCard()

Another convenience init is below.

convenience init(cardColors: cardColors){
self.init(cardStyleWithBackgroundColor: .withBothBankIcon, withCardColors: .yelloway, pinIcon: .chip2, creditIcons: .americanExpressIcon)
}

Here is a simple usage of it

let simpleCard2: iCreditCard = iCreditCard(cardColors: .blueway)

Structs

public enum cardColors{
case blueway
case yelloway
}

cardColors using when choose card backgroundColor , now support only 2 color as blue and yellow

public enum cardVisual{
case withBackgroundColor
case withBackgroundImage
}

cardVisual is used to choose card type.

public enum cardStyle{
case withDefaultTitles
case withTopBankIcon
case withBottomBankIcon
case withBothBankIcon
}

cardStyle is used to set card style to different type.

public enum chipIcons{
case chip1
case chip2
case chip3
}

chipIcons is used to choose card chip icons, there are only 3 different chip icons

public enum creditIcons{
case americanExpressIcon
case bitcoinIcon
case bluePayIcon
case cirrusIcon
case citiIcon
case clickBank
case cvsIcon
case googleWalletIcon
case hsbcIcon
case maestroIcon
case maestroIcon2
case masterCard
case masterCardMini
case masterCardDetail
case moneyGramIcon
case paypalIcon
case paypalIconSimple
case visaIcon
case visaIconBigger
case visaIconText
case wePayIcon
case westernUnionIcon
}
Parameter Icons
.americanExpressIcon
.bitcoinIcon
.bluePayIcon
.cirrusIcon
.citiIcon
.clickBank
.cvsIcon
.googleWalletIcon
.hsbcIcon
.maestroIcon
.maestroIcon2
.masterCard
.masterCardMini
.masterCardDetail
.moneyGramIcon
.paypalIcon
.paypalIconSimple
.visaIcon
.visaIconBigger
.visaIconText
.wePayIcon
.westernUnionIcon
public enum chipIcons{
case chip1
case chip2
case chip3
}
Parameter Icons
.chip1
.chip2
.chip3

Font and Icons

I have used HALTER__.ttf font for cardNumber and also 've used Icon-Icons Website for all icons.

Installation

git clone REPO_URL
cd iCard/
use iCreditCard.swift 

Development

Want to contribute? Feel free to contribute anything on this with describing contributed part

Todos

  • Write Tests
  • Add BackView Generator with init

License

MIT

Open Source

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].