A collection of Swift, SwiftUI and iOS goodies.
Feel free to request features or suggestions for improvements.
Check for device is jail-broken status.
Example for showing local notifications.
Example of common accessibility modifiers.
A simple example to demonstrate separate views for iPhone and iPad. Users will see the bottom nav on iPhone and Sidebar on iPad.
![]() |
![]() |
---|
A cool "Android Toast" like implementation for SwiftUI.
Example for capturing image, recording video and selecting media from library.
A custom Toggle like component with inside label support.
On going...
SwiftUI modifier for UIAlertController
. This is created to be able to change the Alert button colors.
Add fonts to the project, add the fonts name to the plist file. Finally, use fontStyle(size:weight:)
to set fonts.
- Example to create preview with mock Models and ViewModels (
ObservableObject
). (See Media Capture & Select Example)
- MetricKit crash report example (WIP)
- Full app custom font
- Custom Sidebar: Finalize it (WIP)
- Custom Build variant
- Add documentation to the extensions
- Moya finalize
- Home list multiple accent color
md5()
fileName()
fileExtension()
isValidEmail()
isBlank()
commaSeparatedString(emptyValue:) -> String
: Combine string array separated by a comma.
fileSize() -> Int
: The file size in KB.
fileSize() -> Int
: The file size in KB.
Copyright 2021 Md. Mahmudul Hasan Shohagm
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.