Abdeltwab / Flicker-App-MVVM

Flicker app clone Using MVVM + RXSwift
0 stars 0 forks source link

handle Filtration PhotoGalleryViewModel >>> configureBinding >>> #15

Open knight6700 opened 3 years ago

knight6700 commented 3 years ago
        .filter { $0 != nil }
        .filter { !$0!.isEmpty }.map { $0! }

it should be in oneLine : .filter { $0 != nil && !$0!.isEmpty}.map{$0!}