3

Hi I'm trying to add https://github.com/fxm90/GradientLoadingBar/tree/feature/notch-gradient-loading-bar in my Xcode project , but when I specify
pod 'GradientLoadingBar', :git => 'https://github.com/fxm90/GradientLoadingBar', :branch => 'feature/notch-gradient-loading-bar' in my Podfile

doesn't download me the branch. I also tried with :branch => 'notch-gradient-loading-bar' , but also unsuccessfully. It downloads something, but is not the branch that I need and I cannot implement the new feature NotchGradientLoadingBar

let notchGradientLoadingBar = NotchGradientLoadingBar(height: 6) gives me an error Use of unresolved identifier 'NotchGradientLoadingBar'

mike
  • 1,233
  • 1
  • 15
  • 36
Bogdan Bogdanov
  • 882
  • 11
  • 36
  • 79

1 Answers1

1

As best I can tell there appears to be only one branch (see here for reference). You need only checkout the standard branch and from there you can implement NotchGradientLoadingBar using the documentation found here.

In my testing, after adding the main branch to your Xcode project and importing GradientLoadingBar, you should be able to use let notchGradientLoadingBar = NotchGradientLoadingBar(height: 6) with no problem.

Isaac
  • 645
  • 1
  • 7
  • 17