This issue usually happens for the Xcode projects involving Cocoapods with more dependencies during [CP] Check Pods Manifest.lock script execution.
PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/xxx/Library/Developer/Xcode/DerivedData/xxx/Build/Intermediates.noindex/xxx.build/Debug\ (Staging)-iphonesimulator/OV.build/Script-05BB3CCD2FBD4842F78B0F4F.sh (in target 'xxx' from project 'xxx')
/bin/sh -c /Users/xxx/Library/Developer/Xcode/DerivedData/xxx/Build/Intermediates.noindex/xxx.build/Debug\\\ \\\(Staging\\\)-iphonesimulator/xxx.build/Script-05BB3CCD2FBD4842F78B0F4F.sh
error: unable to spawn process (Argument…
Writing tests for any piece of code is important for maintaining the quality of software which brings more confidence to product delivery. In today’s world most of the code are modularized and bundled to a library/pod making it easier to share, reuse across, managing deployment and release activities etc.. Writing…
Implement a struct with single Rectangle with index parameter for each view to start and stop the animation programmatically via publisher with
PassthroughSubjectis passed as a parameter — which sends stream of values from their origin to it’ subscribers. The
PassthroughSubject'ssubscribers can use this information to update the…
Let’s say if we have any UIViewController to be used on any SwiftUI based app we have to follow below steps
Extend the protocol
Implement makeUIViewController and updateUIViewController
However writing a wrapper provides easier way to use it inline for any of the viewControllers.
Here two closures one each for the requirement of UIViewControllerRepresentable.
@autoclsore which will enable us to keep the conventions of
UIViewControllerRepresentable and create our views lazily without requiring any additional syntax during calling.
Follow below steps
2. Include it in UIKit Code like below.
3. If the project is supporting version ≤= iOS 12.0 , Update the Build Settings of Xcode like below.
Expand Link Binary With Libraries then Click on + and then Add SwiftUI.framework and make it Optional
Idea is to have a stack view of button aligned horizontally or vertically as per specification.
Follow below steps:
rootStackViewcontains series of buttons. ( like $,$$, $$$, etc.. )
rootStackViewinside the UIView to establish corner radius functionality.
updateButtonImage. These variables values will be altered during expanding /unexpanding the buttons via
performAnimationis called when button is toggled, this method performs below functionalities
Hides the rootStackView
update the button image to dotted_filled
hiding the sub layers left borders while animation is happening
update the width Constraint
remove constraints if any
Complete source code available in Github
Any feedback is really appreciated. Happy Coding. !!
Adding a dismissible view controller from bottom of the screen with a notch in 3 simple steps.
2. Add a blur effect view UIVisualEffectView
3. Animate with help of heightConstraint ( positive value ) and notchBottomConstraint ( negative value )
Complete source code is present in Github
Unit Testing helps in providing a instant visual feedback how application behaves. Tests and code work together to achieve even better code. Adopting it as part of development results in delivery of quality product. There’s a saying..
“ Better DX = Better UX ” ( Better Development Experience equates to…