Iphone sdk 3.2 to 4.0 editing nib

So, I am working on an application that was compiled on sdk 3.2 and 2.2.1, but I have sdk 4.0. When I compile it, I get many assembly errors "Color patterns not supported by iphone SDK for iphone OS versions up to 3.0" and "setText is out of date".

Also, when I open the nib file and try to change colors, add an item from the library or get confused with it, my changes and additions are not displayed at runtime. I think this is a problem with the interface designer, especially with different versions of the SDK.

This is true? I am programming for ipad, so do I need at least 3.2?

+3
source share
3 answers

.xib Interface Builder, Window > Document Info, Deployment Target OS.

+4

"setText " - , apple . , , , .

nib, Xcode , .

iPad - 3,2, , iOS 3.2.

+1

, OP, , .

, , , setText , .

As for the nib file, I saved, cleaned and rebuilt the project. I am working on other code running in early sdk, and when I delete their objects in IB, the application will still work fine, as if the interface constructor were not responding. I add objects to the tip and they will not appear. If I do this, these are the projects that I create, this happens through small ones. I assume these are different sdks?

0
source

Source: https://habr.com/ru/post/1755046/


All Articles