Xcode Constraints is Difficult? [closed] - ios

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I've programed an app and am at the final stage (layout my design) i've tried setting the constraints
But am facing hard times with it ...
so
Is there a way to design a layout for each device (iphone 4,5,6) and ipads separately ?

if you want to design all of them separately then you'll have to go the nibs(.xibs) and make a different nib for each iphone(4,5,6) and ipads but rather than I suggest you to use size classes and and then apply the necessary constants at first it'll be a little difficult but by time you'll learn how to apply the size classes and constants.
Here are the links where you'll find the best examples.

Related

How to set adaptive constraints the right way [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm building an app and I want it to work on every iPhone and iPad.
How do I do to make adaptive constraints that change for each device?
I know you can do something to detect the screen size and adapt the constraints, how do I do that? Is there an easy and clear tutorial?
First of all constraints are depended on your project.when you can start project you take the view and add the 4 constant 0,0,0,0.After this if you can add multiple item in the page,you take the particular view for the particular item.If you take the particular view it can be easy for the set constraints.Very most important thing that you complete the design of your page and after create design you can set the constraints.It's can be easy way to set the constraints.Another most important thing is you can create your project in the small device like iphone-SE and after set constraints and run in medium device like iphone-6,7,8 and in the last run your program in big device like iphone-X,XSmax.

How to make periodic table in objective-c? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to create an app that show periodic table but I don't know how to do that simply. one way i thought was UICollectionView but it is not good way. I want to know what can I search and look for.
Thank You !
I take it you're talking about the periodic table of elements?
A UICollectionView is indeed a good way. You should watch the keynote of the 2017 WWDC. They demonstrate that very thing using new features of UICollectionView added in iOS 11, but you could do it without those new features as well.

Xcode: Storyboard change presentations [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Evening, I'm playing with Xcode storyboard and stack views inside a cell.
I have several stack nested.
When I load the app the presentation looks fine, but when I press into a row of the TableView, something happens and and Image view change the size :)
I'm sure that there is some kind of problem with constraints and stacks, but I can't find it, could you help me?
here's the git: https://github.com/AndreaMiotto/TwentyFour
Here some pictures:
Add fixes, not all, but it's working and you can fix rest by yourself.
https://github.com/OMGHaveFun/TwentyFour

Does less storyboard segue and more code make the app faster/ smaller? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I have a huge amount of storyboard segues which let the storyboard look a little bit confusing.
To avoid this mess i want to transform some of them or rather create them in code. (I already know how to do it)
My Question according this process:
Is my app faster/ smaller if I use more storyboard segue, is it faster/ smaller if I create most of the segues in code or is the speed/ size in both cases equal?
My App is written in Swift, but maybe some Objective-C developers may help me.
Code is in most cases a bit faster, as far as I know. But the difference is so small that it doesn't make a real difference.
You should use the method you are most comfortable with. I prefer code.

If an iOS app isn't made with Interface Builder, is it less likely to be negatively affected by updates to the operating system? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
For example, if you do it all programmatically, are you less likely to run into trouble?
if you are designing UI with code (not using Xib/Stotyboard) this will be good when you create UI dynamically so then you need not to spend more time on changes. what ever we use for development (Code/Xib/Storyboard) nothing will be changed in performance. As per user/developer comfort we will go for it. Suppose there are lot of UI need to be displayed few at the time viewdidload and rest after some button action then usually at the initially stage itself Xib and Story board will load all of them and hides un wanted and as per actions it will show the hidden UI. i feel coding is better for me.

Resources