xcode4.2

libz.dylib versus libz.1.2.3.dylib versus libz.1.2.5.dylib

让人想犯罪 __ 提交于 2019-11-26 23:00:15
问题 I asked this in a comment but this seems like an issue that deserves its own question. I have a project that's shared between three different installations of XCode and two different installations of the iOS SDK. At the moment unifying the developers involved is not an option. When I installed the iOS 5 Beta and XCode 4.2 libz.1.2.3.dylib was nowhere to be found. I discovered that linking against libz.1.2.5.dylib handled this but this was not compatible with the other active installations of

Will Apple accept Apps with deprecated code? [closed]

狂风中的少年 提交于 2019-11-26 22:50:52
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 years ago . Will Apple accept Apps for selling inside the App-Store with deprecated code? 回答1: Yes. Deprecated doesn't mean unavailable or disallowed; if it did, it would be called something else, or those methods would simply be removed from the API. Deprecation is a way of letting you know that you should start

Deep copy of dictionaries gives Analyze error in Xcode 4.2

馋奶兔 提交于 2019-11-26 20:57:13
I have the following method in a NSDictionary category, to do a deep copy, which works fine. I just upgraded from Xcode 4.1 to 4.2, and the Analyze function gives two analyzer warnings for this code, as indicated: - (id)deepCopy; { id dict = [[NSMutableDictionary alloc] init]; id copy; for (id key in self) { id object = [self objectForKey:key]; if ([object respondsToSelector:@selector(deepCopy)]) copy = [object deepCopy]; else copy = [object copy]; [dict setObject:copy forKey:key]; // Both -deepCopy and -copy retain the object, and so does -setObject:forKey:, so need to -release: [copy release

Xcode 4.2 how include one project into another one?

本秂侑毒 提交于 2019-11-26 19:29:23
I keep searching, but cannot find a clear and simple explanation on how to include one XCode project, along with all of it's sub-classes into another project. I routinely see stuff like that in sample projects that I download off the web, but do not know how to do this myself. Within XCode, along with .h and .m files, and folders, there's a whole new project, starting with a blue xcode project icon, that is expandable to contain everything within the project. Please, can someone explain to me step by step what do I need to do to add one XCode project into another one? I've seen a ton of one

Disable warnings in Xcode from frameworks

余生颓废 提交于 2019-11-26 18:52:23
问题 I have imported the three20 project into my project, and when I upgraded to Xcode 4.2 with iOS 5, a bunch of warnings appeared in the project. I don't care about them, but they make a lot of noise, and it's easy to miss any real warnings in my project now. Is there a way to disable warnings for those specific libraries? 回答1: If your third-party libraries are added as a separate target, you can check Inhibit all warnings for that specific target to turn all warnings off. If your library is

Using Multiple Storyboards in iOS

会有一股神秘感。 提交于 2019-11-26 18:04:49
My objective is to create a tabbed application, then the view for each of the tabs are constructed in separate storyboards. My mainstoryboard is a tab view. Then I create a secondary storyboard (storyboard#2) with 2 View Controllers. The first view controller (also ticked as initial) have a button, and segue (modal) to 2nd view. I managed to load the view by subclassing and overriding loadView from storyboard#2. Here's the simulator output. When click on the "click me" button, I get a EXC_BAD_ACCESS . The segue does not work, seems like the second storyboard is not being loaded completely. Has

App submission failed due to icon dimensions (0 x 0)

不想你离开。 提交于 2019-11-26 17:37:47
问题 I am trying to submit an app which is only for iPhone. The error showed " iPhone/iPod Touch: Icon.png: icon dimensions (0 x 0) don't meet the size requirement. The icon file must be 57x57 pixels, in .png format. May I know why this happens? I try to change the plist setting and i am sure my icon is at the right size. It shows perfectly on my iPhones. I have searched for few post here but still cannot find the solution. Could anyone knows the problem? Thanks 回答1: According to this solution

Xcode 4.2 creating navigation based application

我们两清 提交于 2019-11-26 16:26:51
问题 I just tried to create navigation based application via xcode 4.2 and all I found in the new window have nothing to do with navigation based application .. I found page based application which is the nearest thing to the navigation based application but it created with the story board which I can't handle yet.. So is there a way to create the good old nav based app? and if not what the alternatives? 回答1: For Navigation only application, you have to chose single view application first. This

Some questions about Automatic Reference Counting in iOS5 SDK

為{幸葍}努か 提交于 2019-11-26 15:34:39
I'm currently developing an app for iPad. The development started for iOS 4.2 and is now continuing (and I think will be completed) for iOS 4.3. I just read about ARC in iOS 5, and basically I understood that we will never need to release and retain objects anymore. My questions are: If I decide to upgrade to iOS 5, do I need to remove all [myObject retain] and [myObject release] statements from my code? If I develop a new app for iOS 5 using ARC, will I need to implement some sort of "retro-compatibility" checks? i.e.: will I need to check the version of iOS and call retain and release

Custom Cell Row Height setting in storyboard is not responding

喜夏-厌秋 提交于 2019-11-26 12:34:16
问题 I am trying to adjust the cell height for one of the cells on my table view. I am adjusting the size from the \"row height\" setting inside the \"size inspector\" of the cell in question. When I run the app on my iPhone the cell has the default size set from the \"row size\" in the table view. If I change the \"row size\" of the table view then the size of all cells changes. I do not want to do that as I want a custom size only for one cell. I have seen a lot of posts that have a programmatic