• Empleos
  • Sobre nosotros
  • profesionales
    • Inicio
    • Empleos
    • Cursos y retos
  • empresas
    • Inicio
    • Publicar vacante
    • Nuestro proceso
    • Precios
    • Evaluaciones
    • Nómina
    • Blog
    • Comercial
    • Calculadora de salario

0

157
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.

over 3 years 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 vacante Precios Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recomiéndame algunas ofertas
Necesito ayuda