If you were using NSWeekCalendarUnit to trigger a weekly reminder, replace it with NSCalendarUnitWeekOfYear:
if (days == 7) localNotif.repeatInterval = NSWeekCalendarUnit; // deprecated
if (days == 7) localNotif.repeatInterval = NSCalendarUnitWeekOfYear;
You should find your weekly notification still works correctly.
Apple's documentation should be updated to provide guidance on the appropriate replacement.