I'm trying to replace something like this:
NSSomeFunction(@"some var", @"another one")
With:
NSSomeOhterFunction(@"some var")
In Xcode. So these are source files...
I bet the regular expression will look something like this:
NSSomeFunction\((.*), .+\)
But I need this to be lazy. Otherwise .+) will match the last parenthesis occu...
So XCode has been driving me crazy.. When writing iPhone apps using pickers or table views, when I state that the controller conforms to the DataSource and Delegate methods, XCode isn't generating code sense for those respective methods, and it's driving me nuts given how wordy some of them are..
Like -(NSInteger) tableView: (UITableVie...
Hi all.. I searched for a long time on stackoverflow using every keyword I could think of to solve this. I am programming for iphone and I have a lite and paid version of my app. I followed the instructions here Creating Lite Versions of iPhone Games / Apps for duplicating the target. This works and now I am working on slimming down t...
Just wondering, is there any "API" for sending signals through a USB cable to a device using Apple's cocoa programming language, so I could incorporate it with an app?
is it much more complicated than a couple of commands, or do i need a library?
I have no experience with external device communication so any help is welcomed!
...
Hey guys,
I created my app and it's ready to go, but when I try to upload it to the App Store, it says there are some certificates missing. Now that I remember, I don't think I got Distribution Certificates beforehand...my own fault, I know. But what I'm asking is that does this mean that the app I've already built can't be used or can ...
In Objective-C, I have a simple block of code that increments a counter each time a button is pushed. My logs, and even updates to the interface, are showing an increment of 4 instead of one. Is this just a display issue with my formatting (I'm using %d) or something else I'm missing? My guess lies with the "%d" but I'm new to Objective-...
I'm having problems getting an iPhone Unit Testing Bundle to compile when the code it references uses CGFloats. If I recall correctly, CGFloat is just a pre-processor macro so I'm guessing it's not getting replaced properly, but as I am relatively new to this iPhone caper I have no idea where to start looking to fix it. I've already comp...
I have uninstalled it via the devtools uninstall command and reinstalled 3 times to no avail. This all started when I downloaded iphone_sdk_3.1.3_with_xcode_3.2.1__snow_leopard__10m2003a.dmg from the DEV portal and installed.
I've trashed my com.apple.xcode.plist file, uninstalled all xcode plugins as well as Growlcode and I still can'...
Hello ! Every one here.
I am facing a problem in accessing Settings.bundle.
Let me explain what exactly I am doing.
Any kind of new Project Template from File ( Under iPhone OS ) - preferable View based.
Now Right click on your project / Resources group.
Select Add / New File
Under iPhone Os - resource - Settings Bundle.
Name it as ...
Im trying to develop a multi view apllication while trying to avoid navagation controllers as apple recommend this for the iPad.
My problem is nav controllers are the only way I know how to make a multiview app, does anyone have a link to code or a book I could look at that show other ways? I already have exploring the iphone sdk and th...
What I am trying to achieve is for the application icon to be different in builds that I send out to my beta testers, to that of the application that will be submitted for approval. This will allow me and my beta testers to easily identify the app is a beta version.
I was not sure if I should be adding a build script to modify the info....
I have problem with BWToolkit and XCode. For some reasons Xcode not recognize bwtoolkit framework. IB plugin working fine. I did same steps as described on bwtoolkit site. I did:
Download latest bwtoolkit from http://www.brandonwalkin.com/bwtoolkit/
Add BWToolkitFramework.framework to Linked frameworks
Add BWToolkitFramework to copy ta...
I'm trying to compile a game I made with the Allegro library. The library has .a files which I need to tell XCode to use because right now my code has no errors but it as unreferenced function errors which means it needs the .a files to do the static linking. How do I provide these to XCode? (sort of like the XCode equivalent of MSVC's ...
How does the XCode Instrument Leak tool figure out if an object is a leak or just something not released yet?
I'm pretty new to Objective C, the leak tool detects a leak in the code I work with. But the code looks sound to me. So just wondering how much can I trust this tool?
...
I have this code
NSArray *wordListArray = [[NSArray alloc] initWithArray:
[[NSString stringWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@”sowpods” ofType:@”txt”]
encoding:NSMacOSRomanStringEncoding error:NULL] componentsSeparatedByString:@”\n”]];
My question is how can I extract this text and update a label in a Scrollvi...
Hello,
I am trying to understand how to create my own directory tree and access it from my application.
I am doing some kind of learning program and want to create a directory structure like this:
-MyLessonsDirectory
--LessonDirectory_1
---Step_1
---Step_2
---Step_3
--LessonDirectory_2
---Step_1
---Step_2
---Step_3
.
.
and so on
I...
I have not found any answer to why I cannot add a data model to an existing project. So given the fact that creating a project from scratch using core data for storage does create the data model correctly I am trying to move the entire project into a new project that contains the data model.
No matter how I try to do it at some point it...
Could someone walk me through the setup to run one version of XCode for iPad development - version 3.2.2 prerelease - and another version for iPhone/iPodTouch development - version 3.2.1
The reason I ask is because the pre-release version does not support building < 3.2 iPhone OS. Or if it does I haven't figured out the magic handshake ...
I'm having a problem getting OpenMP and OpenCV to play nicely with a new project in Xcode. The project in its current state does nothing but grab frames from the default camera and put them into a window. This functionality works. However, I would like to grab the frames in a separate thread, and I was hoping I could get some experience ...
I've been developing a Mac OS X framework and I want to use OCUnit in my XCode 3.2.1 project. I've followed several tutorials on how to configure a OCUnit test bundle. The problem is that when I create a test case that uses a function that is defined in one of the framework's sources, I get a building error telling me that the symbol is ...