|
Re: Autolayout help please
I can reproduce the constraints warnings in iPad Pro 11" iOS 14.3 Xcode 12.3.
Among the first warnings issued, this was the first:
"<NSAutoresizingMaskLayoutConstraint:0x600003318dc0 h=--& v=--&
I can reproduce the constraints warnings in iPad Pro 11" iOS 14.3 Xcode 12.3.
Among the first warnings issued, this was the first:
"<NSAutoresizingMaskLayoutConstraint:0x600003318dc0 h=--& v=--&
|
By
Ben Kennedy
·
#1307
·
|
|
Re: Autolayout help please
It runs fine with the 4th gen iPad Pro Simulator for me (using Xcode 12.3). Nothing shows up in the console.
There's one warning:
warning: Auto Layout Localization: Views without any layout
It runs fine with the 4th gen iPad Pro Simulator for me (using Xcode 12.3). Nothing shows up in the console.
There's one warning:
warning: Auto Layout Localization: Views without any layout
|
By
davelist@...
·
#1306
·
|
|
Re: Autolayout help please
https://github.com/tridiak/ConstraintsBug/tree/main
Constraints error also occurs in the iPad simulator.
https://github.com/tridiak/ConstraintsBug/tree/main
Constraints error also occurs in the iPad simulator.
|
By
tridiak
·
#1305
·
|
|
Re: Autolayout help please
Can you post your simple dummy project someplace, if it reproduces the constraints error?
Can you post your simple dummy project someplace, if it reproduces the constraints error?
|
By
Steve Christensen
·
#1304
·
|
|
Re: Autolayout help please
Created a simple dummy project.
Text field Begin, Changing and End actions work fine. (Been a while since I did iOS programming. Noob mistake).
The wall of constraints error still occur
Created a simple dummy project.
Text field Begin, Changing and End actions work fine. (Been a while since I did iOS programming. Noob mistake).
The wall of constraints error still occur
|
By
tridiak
·
#1303
·
|
|
Re: Autolayout help please
This is the view hierarchy.
I have not added in ANY constraints.
There is no top bar or bottom bar. I have not selected or coded any option to remove them.
<UIWindow: 0x113e09050; frame = (0 0; 768
This is the view hierarchy.
I have not added in ANY constraints.
There is no top bar or bottom bar. I have not selected or coded any option to remove them.
<UIWindow: 0x113e09050; frame = (0 0; 768
|
By
tridiak
·
#1302
·
|
|
Re: Autolayout help please
Autolayout should have nothing to do with target/action.
Check in your changes and remove all constraints. See what happens then. Then revert and remove 1/2 of your constraints. Lather, rinse,
Autolayout should have nothing to do with target/action.
Check in your changes and remove all constraints. See what happens then. Then revert and remove 1/2 of your constraints. Lather, rinse,
|
By
Alex Zavatone
·
#1301
·
|
|
Re: Autolayout help please
Ok. Thanks for help. I look into it.
Using Storyboard.
Note: I have set no constraints.
The bug prevents IBAction from working.
Ok. Thanks for help. I look into it.
Using Storyboard.
Note: I have set no constraints.
The bug prevents IBAction from working.
|
By
tridiak
·
#1300
·
|
|
Re: Autolayout help please
That's only correct if you're setting constraints on them. If you're positioning them old-school, i.e. by expressly setting frame and thus using the autoresizing mask, then this property must remain
That's only correct if you're setting constraints on them. If you're positioning them old-school, i.e. by expressly setting frame and thus using the autoresizing mask, then this property must remain
|
By
Ben Kennedy
·
#1299
·
|
|
Re: Autolayout help please
<snip other auto layout errors>
If you're creating the views in code then for each UIView subclass you create, you need to set translatesAutoresizingMaskIntoConstraints to false.
If you're create
<snip other auto layout errors>
If you're creating the views in code then for each UIView subclass you create, you need to set translatesAutoresizingMaskIntoConstraints to false.
If you're create
|
By
davelist@...
·
#1298
·
|
|
Autolayout help please
I have an iPad app with ~60 labels and text fields.
Whenever I start to edit one of the text fields, I get this:
[LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least
I have an iPad app with ~60 labels and text fields.
Whenever I start to edit one of the text fields, I get this:
[LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least
|
By
tridiak
·
#1297
·
|
|
Re: Multiple versions of an app
In part of this thread, we talked about using build environment variables for um, stuff and things. Here’s a short little write up I did last year to show how massively useful they can be.
Using
In part of this thread, we talked about using build environment variables for um, stuff and things. Here’s a short little write up I did last year to show how massively useful they can be.
Using
|
By
Alex Zavatone
·
#1296
·
|
|
Re: Multiple versions of an app
Ah! The answer is "Yes"! I never clicked on the little reveal icon.
Thanks for pointing it out, Marco!
-Carl
Ah! The answer is "Yes"! I never clicked on the little reveal icon.
Thanks for pointing it out, Marco!
-Carl
|
By
Carl Hoefs
·
#1295
·
|
|
Re: Multiple versions of an app
Am I clicking on the wrong thing?
Am I clicking on the wrong thing?
|
By
Marco S Hyman
·
#1294
·
|
|
Re: Multiple versions of an app
Am I clicking on the wrong thing?
The target is the uppermost item in the left column in Xcode?
Or is it under the "Targets" column in Edit Scheme -> Build?
Neither one gives me a Duplicate ...
I'm
Am I clicking on the wrong thing?
The target is the uppermost item in the left column in Xcode?
Or is it under the "Targets" column in Edit Scheme -> Build?
Neither one gives me a Duplicate ...
I'm
|
By
Carl Hoefs
·
#1293
·
|
|
Re: Multiple versions of an app
That’s what I’ve used..
By
Alex Zavatone
·
#1292
·
|
|
Re: Multiple versions of an app
I still see Duplicate on the menu that pops up when I right-click a target.
I still see Duplicate on the menu that pops up when I right-click a target.
|
By
James Walker
·
#1291
·
|
|
Re: Multiple versions of an app
A better explanation is that the info.plist uses that build setting, that environment variable as the name of the executable.
There’s a little relationship between $(TARGET_NAME), $(PRODUCT_NAME)
A better explanation is that the info.plist uses that build setting, that environment variable as the name of the executable.
There’s a little relationship between $(TARGET_NAME), $(PRODUCT_NAME)
|
By
Alex Zavatone
·
#1290
·
|
|
Re: Multiple versions of an app
What about using NSUserDefaults -addSuiteNamed:
https://developer.apple.com/documentation/foundation/nsuserdefaults/1410294-addsuitenamed
Could you add subdomains for each of the areas for which you
What about using NSUserDefaults -addSuiteNamed:
https://developer.apple.com/documentation/foundation/nsuserdefaults/1410294-addsuitenamed
Could you add subdomains for each of the areas for which you
|
By
Sandor Szatmari
·
#1289
·
|
|
Re: Multiple versions of an app
Yes - $(TARGET_NAME) is the correct identifier!
Setting this also changes the executable name under ../MacOS and CFBundleName and CFBundleExecutable in the Info.plist.
Thx!
-Carl
Yes - $(TARGET_NAME) is the correct identifier!
Setting this also changes the executable name under ../MacOS and CFBundleName and CFBundleExecutable in the Info.plist.
Thx!
-Carl
|
By
Carl Hoefs
·
#1288
·
|