About implementing Drawer on iOS

Asked 2 years ago, Updated 2 years ago, 113 views

I'm trying to incorporate Drawer into the app I'm creating on iOS.
I was trying to make it with the sample code below. https://github.com/mutualmobile/MMDrawerController

Currently, other prototype parts are implemented using storyboard, but MMDrawerController seems to be implemented without storyboard.

There is also an MMDrawerController-storyboard, but when I dropped it and compiled it, the following error occurred:

ld—library not found for-lPods
clang:error:linker command failed with exit code 1 (use-v to see invocation)

I can't decide whether to use my home to mix sotryboard implementation view and code real view, or to do my best to deploy MMDrawerController-storyboard. I'd appreciate it if you could give me some advice.

ios cocoapods storyboard

2022-09-30 20:27

1 Answers

Do you know cocoapods? As for the article in Japanese, I think you know a lot about How to install and use the iOS library management divine tool CocoaPods (1/2).My home is CocoaPods Guides.

Please refer to the article above to install cocoapods and create an environment where they can be used. The Storyboard category extension for MMDrawerController also has podspec and is registered with cocoapods, so

 pod 'MMDrawerController + Storyboard'

You can use it ifAlso, MMDrawerController is included in the dependency, so if you add MMDrawerController directly to the project, you should delete it.

Sorry for the link only, but there is an example of Side Drawer Navigation for iOS using MMDrawerController on StoryBoard by itself


2022-09-30 20:27

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.