hello, I’m Mukesh, an IOS/Android/Flutter Developer This project is practicing making an IOS native alarm-Application.
Environment
- Xcode 14
- iOSDropDown
- TextFiled
- UI View
- Password
Features structure
- MVC structure
- Refactor data model and userDefault
- Complete dropdown list implementation
- Lot of used
- Delegate pass value
- UI Design
- import iOSDropDown
Demo
I have need the one pod file
install your project with this pod file →pod ‘iOSDropDown’
implementation-
import iOSDropDown
var locations = [ULoginDb]() // its according to your core data class
public var locArray : [String] = []
public var filterArry : [String] = []
@IBOutlet weak var UserID: DropDown!
override func viewDidLoad() {
super.viewDidLoad()
let fetchRequest = NSFetchRequest<NSFetchRequestResult>(entityName: “ULoginDb”)
fetchRequest.returnsObjectsAsFaults = false
locations = try! context.fetch(fetchRequest) as! [ULoginDb]
for location in locations
{
locArray.append(location.userid!)
}
UserID.optionArray = Array(Set(locArray))
UserID.didSelect{(selectedText , index ,id) in
_ = “Selected String: \(selectedText)”
let filtered = locations.filter{ $0.userid!.contains(String(selectedText)) }
filtered.forEach {
self.Password.text = $0.password
self.GroupID.text = $0.groupid
}
}
filterArry = Array(Set(locArray))
}
#iOS #swift5 #UI
How to create a DropDown in Swift | iOS App | UI Design (Xcode-14) -2022 | text-filter for dropdown, tutorials, Coding help swift, Coding help no 1 how to make a DropDown, DropDown in ios tutorial programming, DropDown app video swift, swift clock app tutorial, textfile DropDown
swift, drop-down menu, swift 5 tutorial, swift 5, swift programming, make app swift, menu drop-down, slide down menu, swift navigation, swift menu, menu swift, swift tutorial, learn swift, custom menu swift, make iPhone app, swift beginners, swift table view, ios programming, ios development, swift development, facing, swiftly make an app, advanced swift, cocoa pods, swift design, make the first app, app development swift, swift course, learn how to make an app, make an app,iDropDown, pod drop-down.