将图像,字符串文件添加到iPhone中的静态库 [英] Add images, string file to static library in iPhone

查看:51
本文介绍了将图像,字符串文件添加到iPhone中的静态库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个静态库,该库基本上显示一些视图和按钮.我的客户希望将其作为一个库分发,以供其他iPhone开发人员使用.

I want to make a static library which basically displays some views and button. My client wants this to be distributed as a library to be used by other iPhone developers.

我的疑问是

  • 我们可以将图像和其他资源添加到库.a文件吗?
  • 我们如何包括本地化到此静态库?(localizable.strings ??)

推荐答案

加上图像和资源的库正是框架的目的,而不是静态库. (免责声明:我是Mac程序员,而不是iPhone程序员,所以据我所知,也许框架在iPhone上并不常见.)

A library plus images and resources is exactly what a framework is for, not a static library. (Disclaimer: I'm a Mac programmer, not an iPhone programmer, so for all I know maybe frameworks are less common on iPhone.)

这篇关于将图像,字符串文件添加到iPhone中的静态库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆