xcode4

How to pass data back from detail view controller to uitableview?

℡╲_俬逩灬. 提交于 2019-12-03 04:32:00
In my app i making use of uitable to select category from my list. my task is,when ever user click or select a cell he should be able to view the selected cell detail in next view(detail view). and when he select the item in a detail view he should be able to move back in a table view and should be able to see the selected item in a rootivew controller. i am able to navigate properly from tableview to detail view,but i am not able to show the item which is selected in detail view to rootviewcontroller. please help me out with this issue. image one is my rootview controller page. for example :

Upgrading to Mountain Lion and XCode 4 broke my “make”?

非 Y 不嫁゛ 提交于 2019-12-03 04:29:52
TL/DR: I upgraded stuff and now I can't run "make" - wtf? I just upgraded from Mac OS X 10.6 to 10.8 Mountain Lion, and then installed XCode 4 (formerly I had Developer/Applications/Xcode (3.something). XCode 4 installed through the App Store application to /Applications. Somewhere along the way, I can no longer run the "make" command. And I've tried looking in all the usual /bins but can't find a "make". Anyone know how to get my "make" command back? Upgrading Apple stuff always breaks something... (it also broke my "git" command but I got that one back) torrey.lyons You need to install the

Undo “New group from selection” project xcode 4

核能气质少年 提交于 2019-12-03 04:15:11
I accidentally added my project to a group, and now I can't remove it from it in xcode 4, any ideas? If I drag it out, it asks me to create a workspace... EDIT: I reported this to apple in the bug reporter, I'll keep you guys updated This is a project without a workspace? Close Xcode. Back up the .xcodeproj, then right click the original and Show Package Contents . Inisde, you'll see a file called project.xcworkspace . This is a workspace created by Xcode when a project is open without a xcworkspace, and it contains this grouping information. Move this to the trash and reopen the project in

How to bookmark code in XCode 4?

青春壹個敷衍的年華 提交于 2019-12-03 04:04:15
问题 I couldn't find a way to put a bookmark inside the code in XCode 4. I know about the #pragma mark thing but it's not what I'm looking for. What I need is something that I can put and remove with a mouse click and navigate amongst with next and previous, like in VS. Is there anything that I'm missing? 回答1: Bookmarks seem to have gone the way of the dinosaur in Xcode 4. This wouldn't have been so bad had the jump-to-bookmark popup above the editor in previous versions not also disappeared. The

Xcode 4 : Opening brace on the same line

浪尽此生 提交于 2019-12-03 04:01:42
I just installed Xcode 4 and the opening brace of the auto generated functions is on a new line. For example : - (void)dealloc { [_window release]; [super dealloc]; } I'd like to have the opening brace on the same line like it was in Xcode 3 : - (void)dealloc { [_window release]; [super dealloc]; } Can someone help me ? Thanks. MarkC's answer has the right idea, but <Jedi> these aren't the templates you're looking for </Jedi>. The templates you need to edit are in either /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates or /Developer/Platforms/MacOSX.platform/Developer

Certificates, App ID and Provisioning Profile

ⅰ亾dé卋堺 提交于 2019-12-03 03:44:33
For submitting an iPhone app to the App Store, we need to create Certificates, App ID and Provisioning Profile. I often get confused whith these things (even after reading the Apple documentation on http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/DevPortalGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40011159-CH1-SW1 ) So could someone please explain me these things in simple terms. Can the same certificate be used for multiple apps (and both for dev/distribution) ? Also I guess App Id is unique for each app. But can the same App ID be used for both

Unable to build using Xcode 4 - The selected run destination is not valid for this action

眉间皱痕 提交于 2019-12-03 03:38:01
问题 So I'm horribly confused by this error, other threads on Stack Overflow mention I should set the SDK, but I see no option to do this. I'm trying to build:http://wafflesoftware.net/shortcut/ And I get no options, and I can only choose My Mac 64-bit, and I want it in 32-bit. Really beginning to hate Xcode 4. Here is the screenshot when I try to edit my scheme: http://groovyape.com/scheme.png Thoughts? 回答1: Firstly, I have observed that when Xcode 4 decides my Mac is 64 bit and all my other

Error: “No identities are available for signing” Xcode 4.3.1

三世轮回 提交于 2019-12-03 03:32:52
问题 I upgraded my OSX from Snow Leopard to Lion and I downloaded Xcode 4.3.1 Now when I try to validate and publish my app I get the first screenshot. If I click on Download Identifier button I get the second screenshot. Any suggest? 回答1: The certificates you created for signing your application are only valid on the machine (+ OS) which you used to create them. They can be migrated to another machine but if you already updated without doing so, I recon that this is not an option anymore. I also

Build slow on XCode4 because of “check dependencies”

送分小仙女□ 提交于 2019-12-03 03:16:29
I have a fairly simple project with only two XIBs, 5 custom classes and 5 frameworks (CFNetwork, QuartzCore, UIKit, Foundation, CoreGraphics). I was using XCode 3.x before and recently updated to XCode 4. After I did, build times are sometimes up to a minute, typically about 30 seconds. I have an 2.4 GHz MBP with 4GB of memory. Looking at the build log in log navigator, I see "check dependencies..." come up for a long time, everything else happens nearly instantly. However clicking on this log entry doesn't reveal any more details. Where could I find more detailed info about what is causing

Unable to link ppc after upgrading to XCode 4

无人久伴 提交于 2019-12-03 03:14:55
I followed these instructions on how to get the 10.4 SDK working with PPC after upgrading to XCode 4. I am able to compile, but it errors out at link time. As an added wrinkle, I'm not using XCode per se, but the gcc toolchain that comes with it. (This is part of a large cross-platform project that uses makefiles.) Here's a sample makefile: CXX=g++-4.0 CXXFLAGS=-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 helloworld: helloworld.o $(CXX) $^ -o $@ $(CXXFLAGS) with a helloworld.cpp: #include <stdio.h> int main(void) { printf("hello world \n"); return 0;