0
ViewController.h


#import <UIKit/UIKit.h>

@interface ViewController : UIViewController<UICollectionViewDataSource,UICollectionViewDelegate>

@property (weak, nonatomic) IBOutlet UIScrollView *mainScrollView;
@property (weak, nonatomic) IBOutlet UICollectionView *NewPrciousCltnVw;
@property (weak, nonatomic) IBOutlet UICollectionView *NewFashionCltnVw;
+ (NSString *)stringVariable;
@property (weak, nonatomic) IBOutlet UIBarButtonItem *sidebarButton;
+ (NSString *)proVariable;
@property (weak, nonatomic) IBOutlet UIScrollView *imageSlider;

@property (weak, nonatomic) IBOutlet UILabel *lblNewArrivals;
@property (weak, nonatomic) IBOutlet UILabel *lblFeaturedProducts;

@property (weak, nonatomic) IBOutlet UILabel *roundedoffers;
@property (weak, nonatomic) IBOutlet UIView *lbloffers;
@property (weak, nonatomic) IBOutlet UIScrollView *offersSlider;

@end

This is my Storyboard

enter image description here

Here ViewController is the 'front-view' of SWRevealViewController and Menu ViewControler is the 'rear-view'.If I continuously use push to SecondViewController and back to ViewController for more than 3 minutes my app gets crashed. Somebody help me out from this issue and thanks in advance

0 Answers0