How to convert nib / xib to C object code?

I'm just wondering if there is a way to convert a nib / xib file to ojbective C code? I just want to find the equivalent nib / xib file code (I tried nib2objc, it seems that this is not what I need).

Actually, I want to compile this example

http://developer.apple.com/iphone/library/samplecode/TableSearch/index.html

without a nib / xib file (I want it to be exactly the same with the original), any idea on this?

+3
source share
4 answers

Check out nib2objc :

nib2objc NIB ( XIB) Objective-C, , , .

nib2objc yourfile.xib > code.m
+13

, , . ; . : " , , ?" , .

, , , , .

+7

" nib/xib", .

[iPhone OS 3.1.3, 3.2]

  • iPhone OS . , .
  • , nib/xib, [UIImage imageNamed...], . , .
  • nib/xib (.. ), nib/xib, , (3 png- iPad), . , [UIImage imageNamed] , , , .

, xib/nib.

+1

, , , , Interface Builder. , , . , . . .

0

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


All Articles