I keep getting random crashes saying:
Received memory warning. (lldb)
Now after a bit of reading I have found that this is probably due to memory management, resources been fully used and none free. I thought in ARC we dont need to free up memory and release things (it wont even let us release) I thought it did it all by itself.
I have seen from some articles & threads that a possible problem is way that you define @properties
so some I have:
FirstViewController
@property (strong) FilterViewController *filterViewController;
@property (weak, nonatomic) IBOutlet MKMapView *mapView;
@property(nonatomic, retain) IBOutlet UILabel *sliderValue;
@property(nonatomic, retain) NSString *passedData;
@property int selectedTime;
FilterViewController
@property (nonatomic, retain) IBOutlet UIDatePicker *datePicker;
@property (strong, nonatomic) IBOutlet UILabel *stepperValueLabel;
@property (strong) FirstViewController *firstViewController;