I large (12 mb) Prefix.pch.gch file is being copied to my final iPhone application. It does not exist in the project and only shows up in the build log. It adds quite a bit to my otherwise small application size. Any suggestions for stopping xcode from copying it? Does anyone know what it is? I did a little research, and it looks like a ...
Hi everybody,
I'am searching for a way to use objective C in LATEX. I want to display the same syntax highlighting in LATEX as it is in XCode.
I tried it this way:
\lstset{language=[Objective]C,label=code:MyCodeLabel,caption=A small caption,name=code:MyCode, breakindent=40pt, breaklines}
\begin{lstlisting}
NSLog(@"Test it: %@",[[[[...
Hey folks,
I'm creating a utility in C# to setup provisions and build settings for an iPhone project.
The XCode project file contains these lines:
CODE_SIGN_ENTITLEMENTS = ***;
CODE_SIGN_IDENTITY = ***;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "***";
...
PROVISIONING_PROFILE = ...
Hello,
Is it possible to see strings that use 16 bits chars in Xcode debugger? I use a custom string class, not NSString. The strings are NULL terminated. The only way I can see the strings is if I see them as memory, but they are hard to read.
Thank you!
...
I just spent over an hour due to yet another XCode quirck.
I added my icon.png by 'Adding an existing file' (w/ the checkbox checked for that copy option). The binary upload to AppStore kept throwing an error.
Then, I finally tried to just drag-n-drop the icon.png file into XCode. This prompted me to do the same thing (and yes, i checke...
Hey Guys,
I currently have several view controllers and transitions set up throughout my app using:
//switches controller
ViewController2 *controller2 = [[ViewController2 alloc] initWithNibName:@"ViewController2" bundle:nil];
controller2.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[self presentModalViewController:contr...
i have a MKMapview with 1000 meter radius circle. how to fit that circle exact in the MKmapView rect? How to adjust the span level for fitting the circle inside the MKmapview?
...
Hi
I have a UITabBarController that controls two tabs, Main and Settings.
Now I would like, under certain conditions, to switch from the Main tab to the Settings tab (like if there is a setting the user have to do before he can use the App).
I know I can do this from the AppDelegate, but my condition could occur when I'm running in th...
I managed to get my C++ project running in Xcode using cmake -G Xcode. Now I would like to debug it, because of the nice gdb fronted it provides.
However I need to change the working directory where gdb is executed otherwise it wont work. (It needs to read some data from files relative to the path of the working directory) What I can do...
Hello,
I have a problem when using step in a function - the debugger jumps in a header file that is not related with the implementation of that function. This is working as expected for other functions.. Did you have such problems before? What did you do to solve this? It's very weird.. I never had such problem in Xcode before. I tried ...
Hey Guys,
I currently have several view controllers and transitions set up throughout my app using:
ViewController2 *controller2 = [[ViewController2 alloc] initWithNibName:@"ViewController2" bundle:nil];
controller2.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[self presentModalViewController:controller2 animated:YES]...
Hey,
I have sectionIndexTitlesForTableView implemented in my controller class.
when I selected an index, I want to have my custom action.
Is there a way to do it?
...
I have an Xcode iPhone project with 3 configurations, debug, release and adhoc. What I need to do is include a resource file only for the debug builds, and not for the others. Can anyone tell me how to do this please?
I know I can have different project settings and preprocessor directives per configuration, and different resource fil...
Hi,
I am able to pass a variable forward from view controller to view controller by pushing its view controller onto the navigation stack. An example of how I do it would be this:
MyViewController *controller = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil];
controller.myString = stringToPass;
[self.navigatio...
http://something.php?ownerID=13&view=userAgreement
i need to pass two variables to this ..
how can i pass these i am declared ownerid to 13 in my config playlist and i am able to get it ,how to set "view = useragreement" string to view variable....
can any body show me sample code..
i am using like
NSString* termsURL = [[[NSBundl...
hi, im using xcode for programming objective c. for anyone that uses it, you'll know that on the left are the files in your project, and when you click one once, the source code shows up on the right side of the xcode window. however I have done something im not sure and that view has disappeared and I have to double click each file and ...
So I am making an iPhone program and for some odd reason the title of my UIButtons will not show... am I missing something??
I get no errors or even warnings on compilation and my buttons and everything appear, just the title is not being shown....
FurballViewController.m
...
-(void)loadView {
UIButton *btn = [UIButton buttonWith...
Hello. We have met the problem.
We have application with executable file name 'foo' version 1.0 and it was approved in app store
our new developer somewhy renamed in target settings changed product name to 'bar' and submitted it to apple store as update to foo. version of bar is 1.1
after bar was approved and replaced foo as new applicat...
Hi all,
I am working on an app that uses a navigation controller to control the views. In one part of my app, I want to have a UIView with a UISegmentedControl just underneath the navigation that will "filter" the UITableView. Essentially:
========================================
| < Back) Title Goes Here | <- navigation...
I know it is best practice to run all unit testcases after any change to make sure not breaking anything. However, some times, e.g. debugging, I really want to run only one single test case. It seems XCode doesn't provide such feature in UI, while other testing framework such as JUnit has such features.
Is there any workaround to have o...