profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/adamfootdev/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Adam Foot adamfootdev Adam Foot / Redbox Mobile Swindon, UK https://adamfoot.dev iOS Developer (Swift)

adamfootdev/BottomSheet 206

Access UISheetPresentationController in SwiftUI on iOS 15 using a simple .bottomSheet modifier.

adamfootdev/AboutKit 46

Add an About, Features List or Welcome screen to your app in a few easy steps with AboutKit.

adamfootdev/CatalystAdditions 0

CatalystAdditions implements missing features in Mac Catalyst.

adamfootdev/Charts 0

Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.

adamfootdev/IndieSupportWeeks 0

A two-week effort to help support indie developers shipping apps on Apple's platforms who have been financially impacted by the COVID-19 pandemic.

issue commentadamfootdev/BottomSheet

Project won't compile after installing the package

Have you tried running this on Xcode 13 beta 5? Beta 3 & 4 broke this functionality and I added a workaround as a result but it should now work fine in beta 5.

NaifAlrashed

comment created time in 6 days

issue commentadamfootdev/BottomSheet

No sheet appearing when isPresented is initially true

I imagine it's because it's trying to show a UIKit sheet straight away as it's a bit of a hack as opposed to a native SwiftUI view.

I'll take a look to see if there's anything I can do to make it work better, but have you tried toggling the state property to true in onAppear?

ralfebert

comment created time in 6 days

delete tag adamfootdev/AboutKit

delete tag : 1.2

delete time in 8 days

push eventadamfootdev/AboutKit

push time in 8 days

push eventadamfootdev/AboutKit

Adam Foot

commit sha fdee6e4fdb1c79d8a68af2190fe3a19c397607f0

Design tweaks & bug fixes

view details

push time in 8 days

push eventadamfootdev/adamfootdev.github.io

Adam Foot

commit sha 735f1eddd8c841b592e5480545a50b04e951dcfe

Updated Shift Keyboard screenshot

view details

push time in 20 days

issue commentadamfootdev/BottomSheet

Pass in item to ContentView

It would be good to get this added but I had some issues only showing the sheet if the item could be unwrapped to return to the content view. You're welcome to have a go and open a PR :)

corysullivan

comment created time in a month

push eventadamfootdev/BottomSheet

Adam Foot

commit sha 916bc4b4a3cff449deb0a3f01fdf4736295cd506

Passing in an instance of UIApplication is no longer required as of Xcode 13 Beta 5. This has been removed from BottomSheet.

view details

push time in a month

push eventadamfootdev/AboutKit

Adam Foot

commit sha 15026f028726157c2609f3e444dea02493fa224c

Changed mail URL method to ensure AboutKit is compatible with iOS 15

view details

push time in 2 months

push eventadamfootdev/BottomSheet

Adam Foot

commit sha c9d5ad1a3387695e5be1004af89bb57d74379840

Added onDismiss functionality

view details

Adam Foot

commit sha d1352bd493a9073443571036c9a105ca83673a9d

Added support for onDismiss

view details

push time in 2 months

push eventadamfootdev/BottomSheet

Luc Vandal

commit sha e40a478604811a6f625592778ca5631c33d57f13

Added onDismiss callback

view details

Adam Foot

commit sha 45fbba6f4a5761790d1aa3e7a0c92164cedf823b

Merge branch 'main' into main

view details

Adam Foot

commit sha ff3468ad6e99968bf1ab676f250f5a8f4edbdf4a

Merge pull request #4 from lvandal/main Added onDismiss callback

view details

push time in 2 months

PR merged adamfootdev/BottomSheet

Added onDismiss callback

The onDismiss() callback can be useful when actions need to be done when the sheet is being dismissed.

+7 -1

1 comment

1 changed file

lvandal

pr closed time in 2 months

push eventlvandal/BottomSheet

Ricky Witherspoon

commit sha e7717cf1ea111dca967e501960aa0ce13baadde9

• uiApplication is now a private variable of BottomSheetVC. -This is a dependency injection for UIApplication.shared since shared is not valid in swift packages as of Xcode 13

view details

Ricky Witherspoon

commit sha d567c48faf1c3eec3d183ac6403420156cc28b66

• Removed smallestUndimmedDetentIdentifier because it has been deprecated (https://developer.apple.com/documentation/uikit/uisheetpresentationcontroller/3801909-smallestundimmeddetentidentifier?changes=_2_1)

view details

Ricky Witherspoon

commit sha e33fe083a4823dd917e8ba0a047ab44b0ada8033

• Added largestUndimmedDetentIdentifier

view details

Adam Foot

commit sha 1b03ed86cca85ae230d0b76ffa36feba39762ccf

Merge pull request #5 from Rspoon3/smallestUndimmedDetentIdentifier-deprication

view details

Adam Foot

commit sha aea9e412fc620c539e9cbe7720154cb41b6484d6

Merge branch 'main' into uiApplicationShared-fix

view details

Adam Foot

commit sha b7d6c235540d6999fb6ecc505922c2f981ba1c1b

Merge pull request #6 from Rspoon3/uiApplicationShared-fix uiApplication is now a private variable of BottomSheetVC.

view details

Adam Foot

commit sha 5532911e2f06d29dcb4d28223214bf19ffdf1b70

Added support for largestUndimmedDetentIdentifier and passing in an instance of UIApplication so that BottomSheet remains compatible with Xcode 13 beta 3 and onwards

view details

Adam Foot

commit sha 45fbba6f4a5761790d1aa3e7a0c92164cedf823b

Merge branch 'main' into main

view details

push time in 2 months

issue commentadamfootdev/BottomSheet

'shared' is unavailable in application extensions for iOS

This issue should now be fixed in release 0.2

lvandal

comment created time in 2 months

issue closedadamfootdev/BottomSheet

'shared' is unavailable in application extensions for iOS

I'm trying to implement BottomSheet with Xcode 13 beta 3 and iOS 15 beta 3 but I get this compiler error:

'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.

Perhaps this has changed in a recent iOS 15 beta?

closed time in 2 months

lvandal

push eventadamfootdev/BottomSheet

Adam Foot

commit sha 5532911e2f06d29dcb4d28223214bf19ffdf1b70

Added support for largestUndimmedDetentIdentifier and passing in an instance of UIApplication so that BottomSheet remains compatible with Xcode 13 beta 3 and onwards

view details

push time in 2 months

push eventadamfootdev/BottomSheet

Ricky Witherspoon

commit sha e7717cf1ea111dca967e501960aa0ce13baadde9

• uiApplication is now a private variable of BottomSheetVC. -This is a dependency injection for UIApplication.shared since shared is not valid in swift packages as of Xcode 13

view details

Adam Foot

commit sha aea9e412fc620c539e9cbe7720154cb41b6484d6

Merge branch 'main' into uiApplicationShared-fix

view details

Adam Foot

commit sha b7d6c235540d6999fb6ecc505922c2f981ba1c1b

Merge pull request #6 from Rspoon3/uiApplicationShared-fix uiApplication is now a private variable of BottomSheetVC.

view details

push time in 2 months

PR merged adamfootdev/BottomSheet

uiApplication is now a private variable of BottomSheetVC.
-This is a dependency injection for UIApplication.shared since shared is not valid in swift packages as of Xcode 13 beta 3.
+17 -2

1 comment

2 changed files

Rspoon3

pr closed time in 2 months

push eventRspoon3/BottomSheet

Ricky Witherspoon

commit sha d567c48faf1c3eec3d183ac6403420156cc28b66

• Removed smallestUndimmedDetentIdentifier because it has been deprecated (https://developer.apple.com/documentation/uikit/uisheetpresentationcontroller/3801909-smallestundimmeddetentidentifier?changes=_2_1)

view details

Ricky Witherspoon

commit sha e33fe083a4823dd917e8ba0a047ab44b0ada8033

• Added largestUndimmedDetentIdentifier

view details

Adam Foot

commit sha 1b03ed86cca85ae230d0b76ffa36feba39762ccf

Merge pull request #5 from Rspoon3/smallestUndimmedDetentIdentifier-deprication

view details

Adam Foot

commit sha aea9e412fc620c539e9cbe7720154cb41b6484d6

Merge branch 'main' into uiApplicationShared-fix

view details

push time in 2 months

push eventadamfootdev/BottomSheet

Ricky Witherspoon

commit sha d567c48faf1c3eec3d183ac6403420156cc28b66

• Removed smallestUndimmedDetentIdentifier because it has been deprecated (https://developer.apple.com/documentation/uikit/uisheetpresentationcontroller/3801909-smallestundimmeddetentidentifier?changes=_2_1)

view details

Ricky Witherspoon

commit sha e33fe083a4823dd917e8ba0a047ab44b0ada8033

• Added largestUndimmedDetentIdentifier

view details

Adam Foot

commit sha 1b03ed86cca85ae230d0b76ffa36feba39762ccf

Merge pull request #5 from Rspoon3/smallestUndimmedDetentIdentifier-deprication

view details

push time in 2 months

PR merged adamfootdev/BottomSheet

Removed smallestUndimmedDetentIdentifier

Removed smallestUndimmedDetentIdentifier because it has been deprecated as of Xcode 13 beta 3. There doesn't appear to be any replacement for it.

https://developer.apple.com/documentation/uikit/uisheetpresentationcontroller/3801909-smallestundimmeddetentidentifier?changes=_2_1

+16 -17

2 comments

3 changed files

Rspoon3

pr closed time in 2 months

startedadamfootdev/BottomSheet

started time in 2 months

startedwigging/swift-macos

started time in 2 months

issue commentadamfootdev/BottomSheet

Feature request: Set preferredContentSize

Thanks for the suggestion. After spending some time looking into it, SwiftUI doesn't appear to work very well with preferredContentSize and have seen others file feedback for similar issues. I'll keep looking into it to see if I can find a solution.

benubois

comment created time in 2 months

push eventadamfootdev/AboutKit

Adam Foot

commit sha 2ab441c8f84861909057461b4d51fddcd91e6e8a

Updated localizations

view details

push time in 2 months

push eventadamfootdev/BottomSheet

Adam Foot

commit sha 40b8fbdd676b0d6b76643feccbeb645e97df9fb4

Removed generic from isPresented method

view details

push time in 3 months

push eventadamfootdev/BottomSheet

push time in 3 months

PR merged adamfootdev/BottomSheet

Add .bottomSheet(item: Binding<Optional<T>>) modifier

This PR adds the second overload of standard sheets: A binding to an optional item, that presents the sheet if the item is not nil.

I would have liked to also change the contentView closure to take in the item (unwrapped), but that would have meant rewriting a lot of other code, which I think would overcomplicate things.

+71 -3

0 comment

2 changed files

chFlorian

pr closed time in 3 months

push eventadamfootdev/BottomSheet

florian schweizer

commit sha b672571258c881d0a60e31e2bfb68423c09032a6

Add item initializer

view details

florian schweizer

commit sha 881a4cde3027981249054495ef7c3bb46f08d341

add view modifier for item

view details

florian schweizer

commit sha bbc2a884f85b36b8c758c7ab2e43bcfabb3d54b4

add generic

view details

florian schweizer

commit sha 10092284e12c2aa0cf232905f2ec013b444fb407

revert

view details

florian schweizer

commit sha c9cc2715e33616d23981d388567300ea7178a3f4

change type

view details

florian schweizer

commit sha 5cb34345ccce1deec8d6b381edabaa8d41ca65a2

add type again

view details

florian schweizer

commit sha 6df9a39c42fa7b443adb27f1a0a0bb34b466ca95

Add explicit generic type

view details

florian schweizer

commit sha 51710071cdbde4345c59b4cc438fe4341b2e704a

Update Binding and generic types

view details

florian schweizer

commit sha 3a3f1816d1564292a9bb5d1b316e216732fab848

Add documentation

view details

florian schweizer

commit sha 3c82ec73e504538eb58b36d8bd46c5644eded153

Merge branch 'adamfootdev:main' into main

view details

Adam Foot

commit sha 27c87d0698554395f2d63c79e0b8d301151c03f7

Merge pull request #1 from chFlorian/main Add .bottomSheet(item: Binding<Optional<T>>) modifier

view details

push time in 3 months

push eventadamfootdev/BottomSheet

Adam Foot

commit sha fc7c9e2d694ea375e59d2a988bf18c57a1bdb2b9

Added feature graphic & updated README

view details

push time in 3 months