Zoe  Gutmann

Zoe Gutmann

1658001600

BeautyAlert Provides Alerts with Custom Shapes, Colors, Buttons-Swift

BeautyAlert helps you can easily design by determining the color, shape, and shadow direction of the alert according to your app style.

Requirements

  • swift: 4.0 or higher
  • iOS: 13.0 or higher

Installation

CocoaPods

BeautyAlert is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'BeautyAlert'

SPM

In the Xcode 13.0+ enter BeautyAlert URL in Add Package Dependency

https://github.com/ChaminLee/BeautyAlert

Usage

1. Create Alert

create BeautyAlert instance

let beautyAlert = BeautyAlert()

2. Configure your alert style

You can choose the title and content messages, their color, and the color of the entire background.

beautyAlert.setContentAttribute(
    title: "BeautyAlert Title ✨",
    titleColor: .black,
    message: "BeautyAlert helps to make custom alert easily", 
    messageColor: .black, 
    backgroundColor: .white
)

3. Add custom buttons with custom actions

You can create a confirmation and cancel button, and you can also specify an action for each button.

// Cancel Button
beautyAlert.addButton(
    title: "Cancel",
    titleColor: .black,
    backgroundColor: .lightGray, 
    style: .cancel, 
    action: cancelAction
)
// OK Button
beautyAlert.addButton(
    title: "OK",
    titleColor: .white,
    backgroundColor: .orange, 
    style: .confirm,
    action: confirmAction
)

// Actions 
func confirmAction() {
    // do confirm actions
}

func cancelAction() {
    // do cancel actions
    self.dismiss(animated: true, completion: nil)
}

4. Present it!

Just present and use it!

self.present(beautyAlert, animated: true, completion: nil)

5. Simulation

iPhoneiPad



 

You can configure style with one button or two buttons

1 Button (iPhone)2 Button (iPhone)
1 Button (iPad)2 Button (iPad)

Make a alert style that you want!

Author

ChaminLee, trueman9512@naver.com

License

BeautyAlert is available under the MIT license. See the LICENSE file for more info.


Author: ChaminLee
Source code: https://github.com/ChaminLee/BeautyAlert
License: MIT license

#swift 

What is GEEK

Buddha Community

BeautyAlert Provides Alerts with Custom Shapes, Colors, Buttons-Swift

Top Swift Development Companies | Top Swift Developers - TopDevelopers.co

A thoroughly researched list of top Swift developers with ratings & reviews to help find the best Swift development companies around the world.

#swift development service providers #best swift development companies #top swift development companies #swift development solutions #top swift developers #swift

Zoe  Gutmann

Zoe Gutmann

1658001600

BeautyAlert Provides Alerts with Custom Shapes, Colors, Buttons-Swift

BeautyAlert helps you can easily design by determining the color, shape, and shadow direction of the alert according to your app style.

Requirements

  • swift: 4.0 or higher
  • iOS: 13.0 or higher

Installation

CocoaPods

BeautyAlert is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'BeautyAlert'

SPM

In the Xcode 13.0+ enter BeautyAlert URL in Add Package Dependency

https://github.com/ChaminLee/BeautyAlert

Usage

1. Create Alert

create BeautyAlert instance

let beautyAlert = BeautyAlert()

2. Configure your alert style

You can choose the title and content messages, their color, and the color of the entire background.

beautyAlert.setContentAttribute(
    title: "BeautyAlert Title ✨",
    titleColor: .black,
    message: "BeautyAlert helps to make custom alert easily", 
    messageColor: .black, 
    backgroundColor: .white
)

3. Add custom buttons with custom actions

You can create a confirmation and cancel button, and you can also specify an action for each button.

// Cancel Button
beautyAlert.addButton(
    title: "Cancel",
    titleColor: .black,
    backgroundColor: .lightGray, 
    style: .cancel, 
    action: cancelAction
)
// OK Button
beautyAlert.addButton(
    title: "OK",
    titleColor: .white,
    backgroundColor: .orange, 
    style: .confirm,
    action: confirmAction
)

// Actions 
func confirmAction() {
    // do confirm actions
}

func cancelAction() {
    // do cancel actions
    self.dismiss(animated: true, completion: nil)
}

4. Present it!

Just present and use it!

self.present(beautyAlert, animated: true, completion: nil)

5. Simulation

iPhoneiPad



 

You can configure style with one button or two buttons

1 Button (iPhone)2 Button (iPhone)
1 Button (iPad)2 Button (iPad)

Make a alert style that you want!

Author

ChaminLee, trueman9512@naver.com

License

BeautyAlert is available under the MIT license. See the LICENSE file for more info.


Author: ChaminLee
Source code: https://github.com/ChaminLee/BeautyAlert
License: MIT license

#swift 

Houston  Sipes

Houston Sipes

1600430400

10 Free Online Resources To Learn Swift Language

Swift is a fast and efficient general-purpose programming language that provides real-time feedback and can be seamlessly incorporated into existing Objective-C code. This is why developers are able to write safer, more reliable code while saving time. It aims to be the best language that can be used for various purposes ranging from systems programming to mobile as well as desktop apps and scaling up to cloud services.

Below here, we list down the 10 best online resources to learn Swift language.

(The list is in no particular order)

#developers corner #free online resources to learn swift language #learn swift #learn swift free #learn swift online free #resources to learn swift #swift language #swift programming

Hire Dedicated Swift Developers

Want to create a native iOS application for your Startup?

Hire Dedicated Swift Developers for end-to-end services like development, migration, upgrade, testing, and support & maintenance. Trust HourlyDeveloper.io our Swift development team for iOS device apps that are high on performance and security.

Consult with experts:- https://bit.ly/2C5M6cz

#hire dedicated swift developers #swift developers #swift development company #swift development services #swift development #swift

Fynzo Survey

Fynzo Survey

1622049211

Fynzo Customer Feedback Software For Cafes, Hotels, Saloons, Spa!

Customer Feedback Tool | Fynzo online customer feedback comes with Android, iOS app. Collect feedback from your customers with tablets or send them feedback links.

Visit page for more information: https://www.fynzo.com/feedback

#CustomerFeedbackSystem
#PowerfulCustomerFeedbackSystem
#freecustomerfeedbacktools
#automatedcustomerfeedbacksystem
#customerfeedbacktools
#customerratingsystem
#Customerfeedbackmanagement

#customer feedback system #powerful customer feedback system #free customer feedback tools #automated customer feedback system #customer feedback tools #customer rating system