xcode4.2

Is it possible it get a .xib window to a tabbed storyboard

与世无争的帅哥 提交于 2020-01-04 09:25:30
问题 i have not long bin doing code, Xcode so I'm a little rubbish basically i have created a .xib and would like it to be in a storyboard but i really don't have a glue where to start because i have a xib window that has UITableView and UIPickerView in it and all the code is fine in the xib but do i need to add code in the storyboard .h / .m etc and is it possible if not how can i do some kind of drop down menu for my app. Heres the code in the xib #import <UIKit/UIKit.h> @interface myview :

My Xcode4 cannot find CCRibbon

时间秒杀一切 提交于 2020-01-03 06:38:13
问题 I installed cocos2D 2.0 beta on my Mac. But, my Xcode4 cannot find the class of CCRibbon. So, I look for CCRibbon in the templates, but there is no CCRibbon. Maybe it's an unstable version I think, but I'm not sure. How can I use CCRibbon on my Xcode? Do I install old version of cocos2D? 回答1: Cocos2D 2.0 beta does not include CCRibbon, but v1.x does. I'm not aware of any plans to re-add CCRibbon. I consider it unlikely that it will be added again because it's just one of the classes that were

My Xcode4 cannot find CCRibbon

眉间皱痕 提交于 2020-01-03 06:38:06
问题 I installed cocos2D 2.0 beta on my Mac. But, my Xcode4 cannot find the class of CCRibbon. So, I look for CCRibbon in the templates, but there is no CCRibbon. Maybe it's an unstable version I think, but I'm not sure. How can I use CCRibbon on my Xcode? Do I install old version of cocos2D? 回答1: Cocos2D 2.0 beta does not include CCRibbon, but v1.x does. I'm not aware of any plans to re-add CCRibbon. I consider it unlikely that it will be added again because it's just one of the classes that were

IOS: xcode 4.2 new project

一曲冷凌霜 提交于 2020-01-03 05:00:16
问题 In xcode 4.2 what's the way to create a new simple project? There isn't the choice to start a new based view controller application? Can someone explain me the new ways? 回答1: To my understanding, here is the translation: Xcode 4.2 / Xcode 3 A Page-Based App is what was called a Navigation-Based App A Single View App is what was called a View-Based App A Tabbed App is obviously what was called a Tab Bar App An Empty App is what was called a Window-Based App. Be careful that the MainWindow.xib

Unable to switch views programmatically using a storyboard?

空扰寡人 提交于 2020-01-03 04:56:08
问题 I am developing a storyboard-based application, using XCode 4.2. I'm new to storyboards, before that I used to switch views by creating a new instance of a class like this: if (x==1) { theClass *theView ; theView= [[theClass alloc] initWithNibName:nil bundle:nil]; [theView setText:theText]; [reader presentModalViewController:theClass animated:YES]; //where reader is an instance of the ZBar library } With storyboards, here is the code I am trying: if (x==1) { [self performSegueWithIdentifier:

xcode 4.2 ios5 codesign failed with exit code 1

时间秒杀一切 提交于 2020-01-02 09:59:01
问题 I've searched all over the google for a solution which works for me... I've tried SO many different suggestions.. but nothing seems to be working. In xcode 4.2 using ios5 when I try to run the project, I get the following error CodeSign /Users/matt/Library/Developer/Xcode/DerivedData/myapp-apjchwtbrxazuighfwhrzxchpcfk/Build/Products/Debug-iphoneos/myapp.app cd /Users/matt/Desktop/myapp_v1_1 setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate

xcode 4.2 ios5 codesign failed with exit code 1

佐手、 提交于 2020-01-02 09:58:11
问题 I've searched all over the google for a solution which works for me... I've tried SO many different suggestions.. but nothing seems to be working. In xcode 4.2 using ios5 when I try to run the project, I get the following error CodeSign /Users/matt/Library/Developer/Xcode/DerivedData/myapp-apjchwtbrxazuighfwhrzxchpcfk/Build/Products/Debug-iphoneos/myapp.app cd /Users/matt/Desktop/myapp_v1_1 setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate

How can I store button presses into a different .xib and view them?

核能气质少年 提交于 2020-01-01 21:52:28
问题 I am creating a scientific calculator application, I have got all of the buttons working and the math. What I am trying to do is add a second view that will show all the actions that the calculator has performed. The best way (I could think of) was to store all the button presses and display them in this secondary view. But I do not know how to pass button presses between views. I have done the tutorials on passing data from datafields to labels and that is something similar to how it should

“The archive is invalid” during archive validation in xcode

回眸只為那壹抹淺笑 提交于 2020-01-01 12:24:13
问题 I try to upload an update for my app. However I always get this error message: I use xcode 4.2 and the iOS 5.0 SDK. I read that question Xcode iOS organizer submit to app store yields "The archive is invalid" error but nothing helped. I tried following uninstall xcode using command line and reinstall it delete all distribution proviles and create new opened the project file in text editor removed all provisioning lines and code sign lines, clean and build I keep getting this error message.

Xcode 4.2 - App Loader: Unable to verify icon dimensions, no icon found

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-01 05:42:05
问题 I have never had this problems until I began to use Xcode 4.2. I'm getting the following error trying to upload my app: Unable to verify icon dimensions, no icon found. Your minimum os version is below 3.2, so you must define CFBundleIconFile or provide a default Icon.png that is 57x57 I have an "Icon.png" image and is 57x57. I tried add it and remove it from info.plist. No success. I don't know what to do. Here is my info.plist file Info.plist edited again SOLUTION Thanks for your comments.