Swift und SwiftUI 5.3 Recherchen
Auf dieser Seite
- Anlaufstelle für Swift und SwiftUI Tutorials
- iOS und OS-X Fonts und Symbole
- SwiftUI Buttons
- SwiftUI Editor
- Nested List Problem in SwiftUI
- SwiftUI List collapsible
- SwiftUI Databinding
- SwiftUI Database Binding
- SwiftUI Floating Button
- SwiftUI Forms, Dialoge, Alerts etc
- SwiftUI Editor
- SwiftUI Layout System
- SwiftUI Tag s
- SwiftUI Felder und View Events / Callbacks
- SwiftUI Calling Functions of Sub-Views
- Label mit eigenem Icon in SwiftUI
- Query Dates mit Couchbase
- Datum und Kalender in SwiftUI
- SwiftUI List with Checkbox
- SwiftUI Left Border In List Row -> Draw
- SwiftUI Buttons
- SwiftUI Bibliotheken
- SwiftUI Keyboard Probleme
- Get Weather and Location in SwiftUI
- Face und Touch ID nutzen um Inhalte zu sperren
- SwiftUI Charts
- SwiftUI Audio & Video Picker
- SwiftUI Bilder swipen / Carousel Frameworks
- SwiftUI Image Picker - Einzelnes Bild
- Bibliotheken…. Swift
- iOS Screen Orientation
- Validate Input Fields in SwiftUI
- iOs App States
- Swift Extensions
- Drag and Drop List in SwiftUI
- SwiftUI Child Lists
- Excel Dokument lesen mit Swift
- SwiftUI Swift Localization
- SwiftUI Farbschema Colorscheme
- SwiftUI Picker als Action Sheet
Anlaufstelle für Swift und SwiftUI Tutorials
- https://developer.apple.com/documentation/
- https://www.hackingwithswift.com/quick-start/swiftui
- https://www.appcoda.com/learnswiftui/swiftui-expandable-list.html
- https://goshdarnswiftui.com
- …
iOS und OS-X Fonts und Symbole
- https://developer.apple.com/fonts/
- https://developer.apple.com/documentation/xcode/creating_custom_symbol_images_for_your_app
SwiftUI Buttons
- https://www.hackingwithswift.com/quick-start/swiftui/how-to-create-a-tappable-button
- Symbole / Icons für Buttons https://sfsymbols.com
SwiftUI Editor
- How to create multi-line editable text with TextEditor
- https://www.youtube.com/watch?v=pHIsK8VzizU
- https://www.appcoda.com/swiftui-texteditor/
- https://stackoverflow.com/questions/62741851/how-to-add-placeholder-text-to-texteditor-in-swiftui
- zstack
- https://www.hackingwithswift.com/quick-start/swiftui/how-to-layer-views-on-top-of-each-other-using-zstack
- …
Nested List Problem in SwiftUI
- https://stackoverflow.com/questions/57102209/how-can-i-avoid-nested-navigation-bars-in-swiftui
- You should only have one NavigationView in your view hierarchy, as an ancestor of the menu view. You can then use NavigationLinks at any level of the hierarchy under that.
- https://medium.com/better-programming/whats-new-in-swiftui-lists-for-ios-14-e6aed43ca134
- https://medium.com/@siddharthshah199/populate-listview-using-swiftui-ios-13-bcf4c8d51e8
- Buttons…
- https://developer.apple.com/forums/thread/119541
SwiftUI List collapsible
- https://www.appcoda.com/learnswiftui/swiftui-expandable-list.html
- https://www.hackingwithswift.com/quick-start/swiftui/how-to-create-expanding-lists
- https://www.vadimbulavin.com/expand-and-collapse-list-with-animation-in-swiftui/
- …
SwiftUI Databinding
Wie kommen die Daten aus dem Eingabefeld in eine Variable…
- https://developer.apple.com/documentation/swiftui/state-and-data-flow
- https://developer.apple.com/documentation/swiftui/binding
- https://www.ralfebert.de/ios/swiftui-bindings/
- https://swiftwithmajid.com/2020/04/08/binding-in-swiftui/
- https://kean.blog/post/swiftui-data-flow
- !!! Das ist gut…
- https://sarunw.com/posts/data-in-swiftui-3/
SwiftUI Database Binding
Wie kommen die Daten aus dem View in die Datenbank
- Beim Klick auf den definierten Speichern Button im Form.
- Automatisch beim Klick auf den zurück Button des Navigation Views? Dann wird ja der Editor auch verlassen.
- ???
- https://alanquatermain.me/programming/swiftui/2019-11-15-CoreData-and-bindings/
SwiftUI Floating Button
- https://programmingwithswift.com/swiftui-floating-action-button/
- Floating Button mit Menüs
- https://medium.com/@prafullkumar77/swiftui-how-to-make-floating-button-with-animated-menu-6438d3304074
- https://blckbirds.com/post/floating-action-button-in-swiftui/
- Fertiges Objekt auf github!!!
- Das hab ich jetzt mal eingebunden
- https://github.com/exyte/FloatingButton
SwiftUI Forms, Dialoge, Alerts etc
- https://swiftwithmajid.com/2019/07/24/alerts-actionsheets-modals-and-popovers-in-swiftui/
- https://www.google.de/amp/blog.kaltoun.cz/custom-modal-dialog-with-swiftui/amp
- Modals…. das ist das was momentan überall eingesetzt wird….
- https://youtu.be/yvkC384bxiE
SwiftUI Editor
- Den hab ich jetzt nach diesem Beispiel aufgebaut.
- Die Höhe würde ich gerne auf 100% des sichtbaren Bereichs setzen.
- https://developer.apple.com/forums/thread/651210
SwiftUI Layout System
- https://www.swiftbysundell.com/articles/swiftui-layout-system-guide-part-1/
- https://www.swiftbysundell.com/articles/swiftui-layout-system-guide-part-2/
SwiftUI Tag s
- https://swiftuirecipes.com/blog/flow-layout-in-swiftui
- https://stackoverflow.com/questions/59129890/implementing-a-tag-list-in-swiftui
- https://github.com/whitesmith/WSTagsField
- Libs
- https://github.com/shamiul110107/TagView-in-swift
- https://github.com/ElaWorkshop/TagListView
- https://github.com/OskarZhang/TagListView
- https://github.com/shamiul110107/TagView-in-swift
SwiftUI Felder und View Events / Callbacks
- Validate Forms
- https://www.hackingwithswift.com/books/ios-swiftui/validating-and-disabling-forms
- Textfield
- https://stackoverflow.com/questions/56550881/textfielddidbeginediting-and-textfielddidendediting-in-swiftui
- view
- https://www.hackingwithswift.com/quick-start/swiftui/how-to-respond-to-view-lifecycle-events-onappear-and-ondisappear
- Button
- http://swiftlydierkes.com/swiftui-text-field/
- Button onPress und onLongPress !!!
- https://developer.apple.com/forums/thread/131715
- https://www.google.de/amp/s/swifttom.com/2020/05/21/what-are-life-cycle-functions-in-swiftui/amp/
- https://www.hackingwithswift.com/books/ios-swiftui/running-code-when-our-app-launches
- …
- https://developer.apple.com/forums/thread/131715
- https://useyourloaf.com/blog/editing-a-swift-package/
SwiftUI Calling Functions of Sub-Views
Das geht mit Bindings…
Label mit eigenem Icon in SwiftUI
Query Dates mit Couchbase
Datum und Kalender in SwiftUI
- swift get month name from number
- https://stackoverflow.com/questions/4488373/ios-how-to-get-a-proper-month-name-from-a-number
- number of days in given month and year using swift
- https://stackoverflow.com/questions/31590316/how-do-i-find-the-number-of-days-in-given-month-and-year-using-swift
- https://izziswift.com/how-do-i-find-the-number-of-days-in-given-month-and-year-using-swift/
- https://stackoverflow.com/questions/33719603/better-way-to-get-the-name-of-the-day-on-ios-swift
- https://stackoverflow.com/questions/41533807/making-date-with-given-numbers
- https://www.ralfebert.de/ios/swift-dateformatter-datumsangaben-formatieren/
——————————————————————
SwiftUI List with Checkbox
SwiftUI Left Border In List Row -> Draw
- https://www.hackingwithswift.com/quick-start/swiftui/how-to-draw-a-custom-path
- https://www.hackingwithswift.com/quick-start/swiftui/how-to-draw-a-border-around-a-view
- https://www.hackingwithswift.com/quick-start/swiftui/how-to-draw-part-of-a-solid-shape-using-trim
SwiftUI Buttons
- Open Sheet from List Entry
- https://stackoverflow.com/questions/61176412/can-t-pass-data-correctly-to-modal-presentation-using-foreach-and-coredata-in-sw/61176759#61176759
- !! Da scheint ne Lösung drin zu sein…
- https://stackoverflow.com/questions/61176412/can-t-pass-data-correctly-to-modal-presentation-using-foreach-and-coredata-in-sw/61176759#61176759
- https://developer.apple.com/forums/thread/651869
- Open Sheet from Sheet
- Buttons in einer Liste
- https://developer.apple.com/forums/thread/119541
- How to preview a custom View that takes bindings as inputs in its initializer?
- https://developer.apple.com/forums/thread/118589
Ich habe eine Wrapper-Ansicht erstellt, um die richtige Bindungsunterstützung für Vorschauen zu ermöglichen. Der Grund, warum die Verwendung eines @State innerhalb der Vorschau nicht funktioniert, ist, dass die Eigenschaft “previews” von der Laufzeit nicht als “Body”-Methode betrachtet wird und @State sich beschwert, wenn Sie versuchen, Bindungen außerhalb eines Body-Methodenaufrufs zu erhalten (es ruft fatalError() auf).
How to detect user swipe to dismiss view action?
- https://www.reddit.com/r/iOSProgramming/comments/cb0fnw/how_to_detect_user_swipe_to_dismiss_view_action/
- https://swiftui-lab.com/modal-dismiss-gesture/
- https://github.com/egeniq/BetterSheet
- Her geht es darum den Dialog modal zu machen und das swipen zu verhindern…
- https://hacknicity.medium.com/view-controller-presentation-changes-in-ios-13-ac8c901ebc4e
SwiftUI Bibliotheken
SwiftUI Keyboard Probleme
- https://kaushalelsewhere.medium.com/how-to-dismiss-keyboard-in-a-view-controller-of-ios-3b1bfe973ad1
- https://swiftuirecipes.com/blog/prevent-keyboard-from-covering-up-your-text-fields
- Close Keyboard !!!
- https://kaushalelsewhere.medium.com/how-to-dismiss-keyboard-in-a-view-controller-of-ios-3b1bfe973ad1
- https://github.com/michaeltyson/TPKeyboardAvoiding
- https://github.com/hackiftekhar/IQKeyboardManager
- Die Lösung scheint gut zu sein…
- https://www.hackingwithswift.com/quick-start/swiftui/how-to-dismiss-the-keyboard-for-a-textfield
- Add a Toolbar to Keyboard
- https://www.cometchat.com/tutorials/how-to-dismiss-ios-keyboard-swift
- ENUM
- https://docs.swift.org/swift-book/LanguageGuide/Enumerations.html
Get Weather and Location in SwiftUI
- https://www.raywenderlich.com/books/ios-apprentice/v8.3/chapters/49-a-checkable-list#toc-chapter-052-anchor-002
- https://levelup.gitconnected.com/creating-a-weather-app-using-swiftui-weatherstack-98578a98c621
- https://medium.com/lunabee-studio/building-a-weather-app-with-swiftui-4ec2743ff615
Face und Touch ID nutzen um Inhalte zu sperren
- https://www.hackingwithswift.com/books/ios-swiftui/using-touch-id-and-face-id-with-swiftui Lesen!!!!
- https://www.hackingwithswift.com/articles/224/common-swiftui-mistakes-and-how-to-fix-them
- https://www.hackingwithswift.com/articles/214/essential-apps-for-ios-developers
SwiftUI Charts
- https://github.com/danielgindi/Charts
- https://www.iosapptemplates.com/blog/swift-programming/ios-charts-swift
- https://medium.com/@robpope/popular-swift-ios-chart-libraries-449b650fc848
SwiftUI Audio & Video Picker
- Der macht alles,
- https://github.com/hackiftekhar/IQMediaPickerController
- Video
- https://www.hackingwithswift.com/quick-start/swiftui/how-to-play-movies-with-videoplayer
- Audio
- https://www.hackingwithswift.com/example-code/media/how-to-record-audio-using-avaudiorecorder
- https://www.hackingwithswift.com/example-code/media/how-to-play-sounds-using-avaudioplayer
- https://iosdevcenters.blogspot.com/2016/05/audio-recording-and-playing-in-swift-30.html
SwiftUI Bilder swipen / Carousel Frameworks
- https://levelup.gitconnected.com/swiftui-create-an-image-carousel-using-a-timer-ed546aacb389
- https://github.com/helenhell/ETCarouSwift
SwiftUI Image Picker - Einzelnes Bild
- https://www.hackingwithswift.com/books/ios-swiftui/importing-an-image-into-swiftui-using-uiimagepickercontroller
- PHPickerViewController from iOS 14
- https://medium.com/dev-genius/the-new-photos-picker-in-ios-14-part-1-c15e4820b335
- https://medium.com/dev-genius/the-new-photos-picker-in-ios-14-part-2-f4864b5df837
- https://nemecek.be/blog/30/checking-out-the-new-phpickerviewcontroller-in-ios-14-to-select-photos-or-videos
- …
- https://ikyle.me/blog/2020/phpickerviewcontroller
- https://github.com/kylehowells/ikyle.me-code-examples/blob/master/Photo%20Picker%20Swift/Photo%20Picker%20Swift/ViewController.swift#L13
Bibliotheken…. Swift
- 1. LimPicker (Similar to WhatsApp’s image picker)
- 2. RMImagePicker
- 4. BSImagePicker
- 5. Fusuma(Instagram like image selector)
- 6. YangMingShan(Yahoo like image selector)
- 7. NohanaImagePicker
- 9. OpalImagePicker
- 10. TLPhotoPicker
- 11. AssetsPickerViewController
- 12. Alerts-and-pickers/Telegram Picker
- Die scheinen gut zu sein
- https://github.com/mikaoj/BSImagePicker
- https://github.com/zhangao0086/DKImagePickerController
- https://github.com/mikaoj/BSImagePicker
- https://github.com/hyperoslo/ImagePicker
iOS Screen Orientation
- Projekt.xcodeproj -> Target …(iOS) -> General -> Deployment Info -> Orientation
- https://sunnyleeyun.medium.com/swift-100-days-project-24-portrait-landscape-how-to-allow-rotate-in-one-vc-d717678301c1
- https://www.hackingwithswift.com/books/ios-swiftui/changing-a-views-layout-in-response-to-size-classes
- https://developer.apple.com/forums/thread/128830
- https://stackoverflow.com/questions/59633415/swiftui-force-portrait-on-all-except-one-view
- https://lm-projects.de/entwicklung/swift-ipad-erkennen/
Validate Input Fields in SwiftUI
Validate Form
iOs App States
…
Swift Extensions
…
Drag and Drop List in SwiftUI
SwiftUI Child Lists
- https://www.vadimbulavin.com/add-edit-move-and-drag-and-drop-in-swiftui-list/
- https://www.hackingwithswift.com/forums/swiftui/coredata-and-hierarchical-list/4006
- https://www.hackingwithswift.com/forums/swift/how-to-pass-detailview-parameters-for-child-entities-with-coredata/4776
- https://www.hackingwithswift.com/forums/swiftui/how-should-i-force-child-view-update-after-managedobjectcontext-changes/300
- https://www.hackingwithswift.com/forums/swift/codable-in-core-data-with-to-many-relationships/1555
Excel Dokument lesen mit Swift
- https://github.com/CoreOffice/CoreXLSX
- https://desiatov.com/swift-codable-xlsx/
- https://developer.apple.com/forums/thread/124621
SwiftUI Swift Localization
SwiftUI Farbschema Colorscheme
- https://blog.rizwan.dev/blog/swiftui-color-scheme
- https://medium.com/@prafullkumar77/theming-swiftui-app-with-dark-and-light-mode-support-421468345355
- https://medium.com/better-programming/creating-and-managing-colors-in-swiftui-4c3a85f557ff