forked from Orion98MC/miOStuff
-
Notifications
You must be signed in to change notification settings - Fork 0
NukemHill/miOStuff
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
My iOS Stuff Just a bunch of tools I build and find useful. It may help someone... You're welcome to contribute. CustomAlertView: ================ A custom alert view where you can add a content view and change background color and border color Usage: ------ #import "CustomAlertView.h" [...] CustomAlert *alert = [[[CustomAlertView alloc]initWithTitle:@"Welcome" message:@"Now you can make custom alerts :)" delegate:self cancelButtonTitle:nil otherButtonTitles:@"Ok", nil]autorelease]; alert.backgroundColor = [UIColor blueColor]; alert.borderColor = [UIColor redColor]; UIActivityIndicatorView *activity = [[UIActivityIndicatorView alloc]initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite]; alert.contentView = [activity autorelease]; [activity startAnimating]; [alert show]; Rem: The contentView is centered horizontaly in the alert view
About
Cocoa stuff I made and find useful for iOS development
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published