Skip to content

Cocoa stuff I made and find useful for iOS development

Notifications You must be signed in to change notification settings

NukemHill/miOStuff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

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

No packages published