Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

86
Vistas
Should I remove import statement from .swift file if I'm not using it?

The project I'm working on has several import statements at the top of the .swift file...

ex.

import RxSwift
import Realm
import UIKit

If I'm not using Realm within that file, is it "bad" to import Realm?

When I say "bad", what I mean is...

  • Will the performance of the app suffer
  • is it bad practice

I can't find any documentation for this online. It's very likely that it's out there and I haven't found it yet. Any links to documentation on this topic are appreciated.

10 months ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar empleo Planes Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.