• Stars
    star
    204
  • Rank 192,063 (Top 4 %)
  • Language
    Swift
  • License
    MIT License
  • Created about 5 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

AMTabView is a custom tab bar with amazing animation.

CI Status Version License Platform

Screenshot

Android

It's also available on android you can find it here.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

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

pod 'AMTabView'

Usage

1- Inherit the AMTabsViewController class.

class ViewController: AMTabsViewController {

   override func viewDidLoad() {
    super.viewDidLoad()

  }

2-In the viewDidLoad set the tabs view controllers.

   override func viewDidLoad() {
    super.viewDidLoad()

    setTabsControllers()

  }

  private func setTabsControllers() {
    let storyboard = UIStoryboard(name: "Main", bundle: nil)
    let graveViewController = storyboard.instantiateViewController(withIdentifier: "GraveViewController")
    let bumpkinViewController = storyboard.instantiateViewController(withIdentifier: "BumpkinViewController")

    viewControllers = [
      graveViewController,
      bumpkinViewController
    ]
  }
}

3- Those view controllers need to implement TabItem protocol and need to provide the image for the tab.

class GraveViewController: UIViewController, TabItem {

  var tabImage: UIImage? {
    return UIImage(named: "tab1")
  }

  override func viewDidLoad() {
    super.viewDidLoad()

  }

}

Customization

 // Customize the colors
 AMTabView.settings.ballColor = .red
 AMTabView.settings.tabColor = .white
 AMTabView.settings.selectedTabTintColor = .white
 AMTabView.settings.unSelectedTabTintColor = .black

 // Change the animation duration
 AMTabView.settings.animationDuration = 1

Author

Abedalkareem, [email protected]

License

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

More Repositories

1

LanguageManager-iOS

A Language manager to handle changing app language without restarting the app. It supports iOS and tvOS.
Swift
396
star
2

games_services

A Flutter plugin to support game center and google play games services.
Dart
122
star
3

LanguageManager-SwiftUI

A Language manager to handle changing app language without restarting the app.
Swift
62
star
4

AMShimmer

Shimmer help you to add a shimmering effect to any view or table view in your app in very easy way.
Swift
61
star
5

MaterialTapTargetPrompt-iOS

An iOS version of Material Tap Target Prompt
Swift
57
star
6

LoveButton

Love button is a custom iOS button with animated effect that showing hearts.
Swift
51
star
7

AMDots

AMDots is a loading indicator for iOS
Swift
50
star
8

Zaina-iOS

A UIKit Game.
Swift
46
star
9

AMChoice

Radio buttons and check boxes for iOS
Swift
45
star
10

Kareem-iOS

Careem App clone
Swift
43
star
11

AMPagerTabs

Pager tabs for iOS
Swift
29
star
12

LanguageManager-iOS-Lokalise

Language manager used to handle change app language.
Swift
24
star
13

simple_widget

A flutter plugin to use the flutter widgets in the native home widgets
Dart
22
star
14

AMProgressHUD

A gif progress HUD for iOS.
Swift
18
star
15

SimpleEngine

A simple 2D game engine to make a simple beautiful iOS/tvOS Games!
Swift
14
star
16

AMTabView-Android

AMTabView is a custom tab bar with amazing animation.
Kotlin
13
star
17

AMDots-Android

AMDots is a loading indicator with dots moving like google loading
Kotlin
6
star
18

Coronavirus-Flutter

A Flutter app to track Coronavirus outbreak.
Dart
6
star
19

NewsApp

News app, an app that lists news and its details. The app support two languages, Arabic and English.
Swift
6
star
20

scale

A flutter package to help you scale your design on all screens sizes to achieve the same design look.
Dart
5
star
21

Nami

A SwiftUI navigator.
Swift
3
star
22

Notes-C

A note taking command line app.
C
1
star
23

WeatherApp

An app to give you the latest weather forecast built using MVVM architecture with RxSwift and Swinject.
Swift
1
star
24

MyAppCICD

A simple project for continuous Integration and Delivery using Bitrise and Fastlane tutorial.
Swift
1
star