title: Can We Replace App delegate old core data methods in place of new core data xcode 8.3 method
body: <p>I've created a new project Using Xcode 8.3.2 with core data which have different core data methods from core data methods created using xcode 7.</p>
  
  <p>It's running on iOS 10 but gives error when try to run same on iOS 9.</p>
  
  <p>New Core data methods like</p>
  
  <pre><code> @synthesize persistentContainer = _persistentContainer;
  
  - (NSPersistentContainer *)persistentContainer {
      // The persistent container for the application. This implementation creates and returns a container, having loaded the store for the application to it.
      @synchronized (self) {
          if (_persistentContainer == nil) {
              _persistentContainer = [[NSPersistentContainer alloc] initWithName:@"ieMalayalam"];
              [_persistentContainer loadPersistentStoresWithCompletionHandler:^(NSPersistentStoreDescription *storeDescription, NSError *error) {
                  if (error != nil) {
                      // Replace this implementation with code to handle the error appropriately.
                      // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
                       NSLog(@"Unresolved error %@, %@", error, error.userInfo);
                      abort();
                  }
              }];
          }
      }
  
      return _persistentContainer;
  }
  
  - (void)saveContext {
      NSManagedObjectContext *context = self.managedObjectContext;
      NSError *error = nil;
      if ([context hasChanges] &amp;&amp; ![context save:&amp;error]) {
          // Replace this implementation with code to handle the error appropriately.
          // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
          NSLog(@"Unresolved error %@, %@", error, error.userInfo);
          abort();
      }
  }
  </code></pre>
  
  <p>Can we replace old core data methods for supporting ios 9 &amp; 10 both.?????
  Please Help</p>