Question: I am working on an e-commerce based app, and the designer has passed on the mockup to me. !

[This is the mockup the designer has passed.](https://i.stack.imgur.com/Uc1iI.png)

I am working on storyboard of this mockup and I have managed to get to this level as of now.

[![My storyboard as of now](https://i.stack.imgur.com/GXBv6.png)](https://i.stack.imgur.com/GXBv6.png)

There are several views and features which cannot be included in this storyboard now because of the limited space. I know the designer has passed on me the rendered view, which can be seen on scrolling the app.

I wonder which could be the best approach to include all these views in a single storyboard or render them in a single view.
I have looked onto using xib files and calling them from my `viewcontroller` class, which could be a possible solution. But, I want to know, what could be the best solution?

Answer: 
No. I will simply copy bytes from `url` into key. Enough to fill it.  

Now the first `sizeof(int)` bytes of `url` can be reinterpreted as an integer.

It seems like a very basic way to generate numeric keys from strings.
No, It won't return the sum, it will copy ASCII values of 2 characters of url to key if size of int is 2, otherwise it will copy ASCII values of 4 characters of url.