GithubHelp home page GithubHelp logo

swiftify-corp / ihprogresshud Goto Github PK

View Code? Open in Web Editor NEW
279.0 9.0 48.0 672 KB

A clean and lightweight progress HUD based on SVProgressHUD, converted to Swift with the help of Swiftify.

License: MIT License

Swift 98.60% Ruby 1.40%
swift4 svprogresshud cocoapods hud activity-indicator progress-circle ios tvos

ihprogresshud's People

Contributors

asadazam avatar avadhbambhroliya avatar chrisbrandow avatar ibrahimhass avatar massimobio avatar narlei avatar santolico avatar vadimue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ihprogresshud's Issues

Testing on iPhone Xs Device causes a "Main Thread Checker" exception.

The issue from this topic still isn't solved. #3

iPhone XS Running on IOS 12.2 get the same error.

Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 9428, TID: 3268605, Thread name: com.apple.CoreMotion.MotionThread, Queue name: com.apple.root.default-qos.overcommit, QoS: 0

Crash when initializing IHProgressHud - Unexpectedly found nil while unwrapping an Optional value

For example when I'm trying to create IHProgressHud in viewDidLoad() simply like this:

DispatchQueue.global(qos: .utility).async { IHProgressHUD.show() }

Then the app crashes with the following error:

Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Users/////Pods/IHProgressHUD/IHProgressHUD/Classes/IHProgressHUD.swift, line 369

The iOS deployment target is 13.0 and Swift 5 language.

Create a tag for the latest master

I want to use the master code as a dependency in a pod but I'm unable to do so since there is no tag created for the same. Can we publish a new release from master?

Please update to use latest SVProgressHUD code

Thanks for creating and maintaining this great project!

Since many bugs were fixed since the code was ported, would it be possible to update this to use the latest SVProgressHUD code?

Unable to install from git repo

With following in pod file
pod 'IHProgressHUD', :git => 'https://github.com/Swiftify-Corp/IHProgressHUD.git'

Getting:
Installing IHProgressHUD 0.1.5

[!] Error installing IHProgressHUD
[!] /usr/bin/git clone https://github.com/Swiftify-Corp/IHProgressHUD.git /var/folders/md/dwx6kp3x3vg0203p3nz_gshc0000gp/T/d20201120-9836-x1d7il --template= --single-branch --depth 1 --branch 0.1.5

Cloning into '/var/folders/md/dwx6kp3x3vg0203p3nz_gshc0000gp/T/d20201120-9836-x1d7il'...
warning: Could not find remote branch 0.1.5 to clone.
fatal: Remote branch 0.1.5 not found in upstream origin

New release for Xcode 11 fixes

Hello,

Thanks for this project.
When can you make a new release with your last fixes for XCode 11 new build system ?

Nice day

Improvement

If I want to disable touch background view then How can I disable that?
For now, If I show loader and In background controller touch still work I want to disable that.
Please provide solution.

Carthage error

*** Skipped building IHProgressHUD due to the error:
Dependency "IHProgressHUD" has no shared framework schemes for any of the platforms: iOS

If you believe this to be an error, please file an issue with the maintainers at https://github.com/Swiftify-Corp/IHProgressHUD/issues/new

Layout in iOS 13 messed up

When presenting the HUD, the layout does not appear in the center, rather it appears in the to left corner. This issue has begun ever since Beta 7

Type 'Bundle' has no member 'module'

App was compiling without any issues, after running 'pod install' using its master branch started having compilation error "Type 'Bundle' has no member 'module'" on two files:

  • IHProgressHUD.swift
  • IndefiniteAnimatedView.swft

In pod file I have
pod 'IHProgressHUD', :git => 'https://github.com/Swiftify-Corp/IHProgressHUD.git'

Also tried in a fresh app, same issue. But if I use pod 'IHProgressHUD' then it works fine.

How to solve the issue? I am using Xcode 11.7

when i install video_360 plugin and try to run the app in simulator given an error

Xcode build done. 8.1s
Failed to build iOS app
Error output from Xcode build:

** BUILD FAILED **

Xcode's output:

Writing result bundle at path:
/var/folders/2w/wbrqydfn5p99d1zxkr9l2bvm0000gn/T/flutter_tools.ghbOeE/flutter_ios_build_temp_dirgbxFeq/temporary_xcresul
t_bundle

note: Building targets in dependency order
error: Unexpected duplicate tasks
    note: Target 'video_360' (project 'Pods') has copy command from
    '/Users/itx/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/video_360-0.0.8/ios/Classes/Swifty360Player/Swifty36
    0Player/Swifty360Player-Info.plist' to '/Users/itx/Downloads/artist_replugged-master 2
    2/build/ios/Debug-iphonesimulator/video_360/video_360.framework/Swifty360Player-Info.plist'
    note: Target 'video_360' (project 'Pods') has copy command from
    '/Users/itx/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/video_360-0.0.8/ios/Classes/Swifty360Player/Swifty36
    0Player/Swifty360Player-Info.plist' to '/Users/itx/Downloads/artist_replugged-master 2
    2/build/ios/Debug-iphonesimulator/video_360/video_360.framework/Swifty360Player-Info.plist'
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99.
(in target 'FirebaseMessaging' from project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in
target 'GoogleDataTransport' from project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in
target 'FirebaseCoreDiagnostics' from project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in
target 'Mux-Stats-AVPlayer' from project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in
target 'FMDB' from project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in
target 'FirebaseInstallations' from project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99.
(in target 'FirebaseAuth' from project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in
target 'nanopb' from project 'Pods')
warning: no rule to process file
'/Users/itx/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/video_360-0.0.8/ios/Classes/Swifty360Player/Swifty360Pla
yer/Swifty360Player.modulemap' of type 'sourcecode.module-map' for architecture 'arm64' (in target 'video_360' from
project 'Pods')
warning: no rule to process file
'/Users/itx/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/video_360-0.0.8/ios/Classes/Swifty360Player/Swifty360Pla
yer/Swifty360Player.debug.xcconfig' of type 'text.xcconfig' for architecture 'arm64' (in target 'video_360' from project
'Pods')
warning: no rule to process file
'/Users/itx/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/video_360-0.0.8/ios/Classes/Swifty360Player/Swifty360Pla
yer/Swifty360Player.release.xcconfig' of type 'text.xcconfig' for architecture 'arm64' (in target 'video_360' from
project 'Pods')
warning: no rule to process file
'/Users/itx/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/video_360-0.0.8/ios/Classes/Swifty360Player/Swifty360Pla
yer/Swifty360Player.modulemap' of type 'sourcecode.module-map' for architecture 'x86_64' (in target 'video_360' from
project 'Pods')
warning: no rule to process file
'/Users/itx/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/video_360-0.0.8/ios/Classes/Swifty360Player/Swifty360Pla
yer/Swifty360Player.debug.xcconfig' of type 'text.xcconfig' for architecture 'x86_64' (in target 'video_360' from project
'Pods')
warning: no rule to process file
'/Users/itx/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/video_360-0.0.8/ios/Classes/Swifty360Player/Swifty360Pla
yer/Swifty360Player.release.xcconfig' of type 'text.xcconfig' for architecture 'x86_64' (in target 'video_360' from
project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in
target 'FirebaseCoreInternal' from project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in
target 'GoogleUtilities' from project 'Pods')
note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase
"Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase
"Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in
target 'FirebaseCore' from project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99.
(in target 'Firebase' from project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in
target 'GTMSessionFetcher' from project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in
target 'Mux-Stats-Core' from project 'Pods')
/Users/itx/Downloads/artist_replugged-master 2 2/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in
target 'PromisesObjC' from project 'Pods')

Result bundle written to path:
    /var/folders/2w/wbrqydfn5p99d1zxkr9l2bvm0000gn/T/flutter_tools.ghbOeE/flutter_ios_build_temp_dirgbxFeq/temporary_xcresul
    t_bundle

Error (Xcode): Unexpected duplicate tasks

Could not build the application for the simulator.
Error launching application on iPhone 13 Pro Max.

support as a static framework

My project use new feature of cocoapod 1.5, static framework . So the framework assets becomes as one part of main application.

when using as a static framework, assets will load failed. I will collect more detail soon.

Unexpected duplicate tasks - iOS 13 - Xcode 11

Hi,

I wanted to update our apps to iOS 13 and archiving it fails with errors like:

Unexpected duplicate tasks:

  1. Target 'IHProgressHUD' (project 'Pods') has copy command from '.../Pods/IHProgressHUD/IHProgressHUD/Classes/IHProgressHUD.bundle/[email protected]' to '.../Library/Developer/Xcode/DerivedData/Animest-bpcsmwfbgjyhfvebytrdskxkoder/Build/Intermediates.noindex/ArchiveIntermediates/Animest Dev/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/IHProgressHUD.framework/[email protected]'
  2. Target 'IHProgressHUD' (project 'Pods') has copy command from '.../Pods/IHProgressHUD/IHProgressHUD/Classes/IHProgressHUD.bundle/[email protected]' to '.../Library/Developer/Xcode/DerivedData/Animest-bpcsmwfbgjyhfvebytrdskxkoder/Build/Intermediates.noindex/ArchiveIntermediates/Animest Dev/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/IHProgressHUD.framework/[email protected]'

The fix is simple and can be done easily. Just untick the target membership box for the items, and tick it back on.

If you can fix this fast so I can start my pipelines for release today, I would appreciate it very much.

PS: more info link, https://stackoverflow.com/questions/52384152/xcode-10-unexpected-duplicate-task-copyplistfile

Main Thread Checker

If I drop the classes to the project without cocoapods,Main Thread Checker interrupted the app when It was ran "IHProgressHUD.show()"

it was caused at "updateMotionEffectForOrientation(orientation)"

屏幕快照 2019-12-11 上午9 58 34

animation issue
IMG_4501

Carthage support

This is not an issue, I would like to ask if there is a plan to add carthage support?
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.