Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add text only mode #883

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

add text only mode #883

wants to merge 3 commits into from

Conversation

Fidetro
Copy link

@Fidetro Fidetro commented Mar 19, 2018

if want to show a text without image,now can use:
+ (void)showTextWithStatus:(nullable NSString*)status;

@Fidetro
Copy link
Author

Fidetro commented Mar 20, 2018

I take over #811 and #813 ,I create it
Can you merge this PR? @honkmaster

@pepejeria
Copy link

This would be great to have. Any plans in merging this?

@DeforeChen
Copy link

I can't see the corresponding API + (void)showTextWithStatus:(nullable NSString*)status; in swift version while there is no way to realize a text only function on HUD.

@Fidetro
Copy link
Author

Fidetro commented Sep 19, 2018

pod 'SVProgressHUD',:git => 'https://github.com/Fidetro/SVProgressHUD.git'

@DeforeChen you can use SVProgressHUD.showText(withStatus: "xxx") in swift

@DeforeChen
Copy link

pod 'SVProgressHUD',:git => 'https://github.com/Fidetro/SVProgressHUD.git'

@DeforeChen you can use SVProgressHUD.showText(withStatus: "xxx") in swift

Many thanks. By the way, I should relaunch my Xcode workspace after reexcuting pod install or it would cause a crash when calling showText.

@kerrmarin
Copy link

@honkmaster any plans to add this?

@honkmaster
Copy link
Member

The PR is incomplete, an update for the demo would be required.

@Fidetro
Copy link
Author

Fidetro commented Jun 1, 2019

@honkmaster I have updated demo,please review pr

@Fidetro
Copy link
Author

Fidetro commented Jun 26, 2019

@honkmaster I updated readme and demo,any other questions?

@zhpengkun
Copy link

@honkmaster wating for...

1 similar comment
@hanlike
Copy link

hanlike commented Jul 18, 2019

@honkmaster wating for...

@kyleYang
Copy link

kyleYang commented Nov 1, 2019

It's like that in swift , we can use + (void)showImage:(UIImage*)image status:(NSString*)string; because the image is nonull
And there is no way to set the imageview hidden or nil
If I set the imagesize to zero , the text is not in the center

@kyleYang
Copy link

kyleYang commented Nov 1, 2019

@honkmaster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants