المشاريع
عرض على GitHub
AdamBCo/ABCIntroView
حول
An easy way to add onboarding to your iOS application.
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلABCIntroView
ABCIntroView is an easy to use onboarding which allows you to introduce your users to the applicaiton before reaching the Main Screen.

To use the ABCIntroView please do the following:
- Add the follwing files found in the CLASSES folder to your project:
*ABCIntroView.h
*ABCIntroView.m
Import the ABCIntoView file to your RootViewController.
Create an ABCIntroView property and add the ABCIntroViewDelegate.
Add the following line of code to your ViewDidLoad:
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
if (![defaults objectForKey:@"intro_screen_viewed"]) {
self.introView = [[ABCIntroView alloc] initWithFrame:self.view.frame];
self.introView.delegate = self;
self.introView.backgroundColor = [UIColor greenColor];
[self.view addSubview:self.introView];
}
- Add the ABCIntroView Delegate Method:
#pragma mark - ABCIntroViewDelegate Methods
-(void)onDoneButtonPressed{
// Uncomment so that the IntroView does not show after the user clicks "DONE"
// NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]
// [defaults setObject:@"YES"forKey:@"intro_screen_viewed"];
// [defaults synchronize];
[UIView animateWithDuration:1.0 delay:0 options:UIViewAnimationOptionCurveEaseInOut animations:^{
self.introView.alpha = 0;
} completion:^(BOOL finished) {
[self.introView removeFromSuperview];
}];
}
If you have any questions about the project, please don't hesitate to ask.
Enjoy! :)
Adam
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…