     return fetchedResultsController as? NSFetchedResultsController<T>
   }
   
-  #endif
-  
-  #if os(iOS)
-  
   /**
    Fetch all objects with predicate in context
    

    // Fetch and return data
    return self.fetchAll(withPredicate: predicate, sortBy: sortBy, ascending: ascending, inContext: context, delegate: delegate)
  }
  
  #endif
  
  // MARK: - Aggregate functions
  

    return fetchedResultsController as? NSFetchedResultsController<T>
  }
  
  // MARK: - fetchAll by attribute in context
  
  /**
