GithubHelp home page GithubHelp logo

iaaqibhussain / containerview Goto Github PK

View Code? Open in Web Editor NEW
35.0 5.0 7.0 184 KB

Using Container View in iOS with Swift

License: MIT License

Swift 100.00%
containerview containerviewcontroller ios swift controller uicontrol

containerview's People

Contributors

iaaqib avatar iaaqibhussain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

containerview's Issues

License

Hello, we are hoping to use this great example of ContainerViews in a project, but don't see a license. Would you consider putting the MIT license on it please?

containerview service call (passing data)

hi hussain,

i m using this in one of my application and im facing issue while calling webservice and passing data.
i have a view controller containing buttons and this containerview , containerview has 2 embeded viewcontrollers <ListingVC, MapVc>, one for listing and other for map.

this is the hirarchy -> subcategoriesVC contains buttons of map and listing , with listing as a first viewcontroller of conatainer.

now i need to call webservice to get data for listing and map data, and then i have to pass that data on respective VC of containers, how can i do this ?

1> should i call service on subcategoriesVC or containerview?
2> how can i pass data to both VCs of container?

How to pass data from mainVC to the containerView you selected?

Normal you pass some data with prepare segue to your view, so you can preform a query or pass that data into a tableview... Now I'm stuck because the segment is passing the button to show the right containerview, but is nog aware off some var I want to pass to the destination view

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.