I'm trying to figure out how I could bundle a package, written in Ruby (Sass) into a Cocoa application (Objective-C, not Ruby Cocoa) for me to execute (via NSTask is fine, unless there is an easy way to bridge ObjC<->Cocoa that I'm not aware of).
The Sass package is something you have to install, using "gem install" or "rake install" --...
Is it best to program a game for the iPhone in Objective C or in C++.
What language would a game like Flight Control be written in?
What format should graphics be in to show properly and load quickly on the iPhone?
...
I have a UITabBarController that has extra views in the moreNavigationController. I would like to be able to detect when the user has clicked Edit, and moves a view outside of moreNavigationController onto the regular UITabBarController items. How can I accomplish this?
...
Hello,
I currently have a view and I would like to change it into a UIImage. I would like to do this because the UIImage class is much better for what I need to do. How would you capture the contents of a UIView and copy the contents into a UIImage?
Thanks,
-David
...
Hello,
I am new in iphone application development.Please tell me how i check through our application front camera are open or not,i have no iphone with os 4.0.
is any idea to check this.
Thanks
...
Hi,
I accidentally deleted my appDelegate window outlet and don't manage to resore it again.
My window based App has a TabBarController.
I am using xCode 3.1.3. See belows link to a screenshot of IB with appDelegate outlets.
http://www.rodiun.com/innflohmation/x23/IB-appDelegate.jpg
any hint is most appreciated,
my appDelegate code...
here is the code
-(void)manageAnimation:(Properties *)prop
{
//if(bounceTimer.isValid)
// [bounceTimer invalidate];
bounceTimer = [NSTimer scheduledTimerWithTimeInterval:.05 target:self selector:@selector(animate) userInfo:nil repeats:YES];
}
-(void)animate{
static float t = 0;
float d = .5;
static float fV...
hi all,
Please tell me anyone how i fix the camera in a view.I want to open simply camera,not take photos.
is there any solution for that.
...
Hi everybody,
i have develop an RSS iphone application.
as the data come from xml feed in table cell i am fail to implement search functionality in it.
following is the code in which the date is displayed in table cell
int blogEntryIndex1 = [indexPath indexAtPosition: [indexPath length] -1];
NSString *imgstring=[[bl...
i am trying to send mail using skpsmtpmessage . But the recipient will see id of SMTP authorization userid. The "fromEmail" variable is useless in this condition. How to send mail using another mail id .I can't change the sender name also.
Example
testMsg.fromEmail = @"[email protected]";
testMsg.relayHost = @"smtp.gmail.com...
Hey All,
I have a form that is trying to return a pickerview's value back to another class through an event. The problem is, whenever stepping through this class I keep seeing everything as out of scope... it is weird. When I set a breakpoint on the return value of the pickerview it also says it is out of scope.
@interface Campaign :...
Hi,
I tried switching architectures in my Xcode project today, because I was about to use low level QuickTime stuff that's not yet ported to 64 bit yet. When i compiled before on x86_64 my app ran just fine. Then i switched the arch to i386 and boom, my app keeps crashing on startup.
The weird thing is, the stack tracke has nothing to ...
A need to draw some text in openGL and then make rotations and translations over it. Need to use just objective-c. Any help?
...
Is there a way to have the sort descriptor(s) be dynamically set for a fetched results controller on iOS?
For instance, I need to have the core data results returned to me sorted based on the setting of a segmented control in the navigation title bar. The user can either click the segmented control to sort by Price or Priority.
I then...
I have a custom UITableViewCell which is part of a navigation controller.
The cell has a button and when that button is pressed I want to push a view onto my navigation controller.
I can do this pretty easily by using a selector in my cellForRowAtIndexPath method.
[cell.fooButton addTarget:self action:@selector(pushBarViewController:)...
I am writing a client server iPhone app. The server is J2EE based.
I need to communicate the state of my client object (objective C) to the server. It is possible (and feasible) to say encode the objective C object, send the bytes to the J2EE server through a socket and create a Java object out of this stream. If so, can you kindly poin...
Hello,
I am having an issue with a variable being labeled as "out of scope".
The following method can be found in my code:
- (void)CampaignComplete:(Campaign *)controller Picked:(NSString *)value {
selectedCampaign = [[NSString alloc] initWithString: value];
The value of variable named "value" can be seen by the debugger. Howev...
I'm making a game for the iPhone using Cocos2D. At the beginning of the game, when there are few sprites, the game runs fine, but when there are many sprites on the screen, the game gets choppy.
I've profiled the app, and RunWebThread seems to be taking up 33% of the cpu time. I contact a server at the beginning of the game, but there...
Hi,
I want to be able to enumerate the names of devices on a local network from a device running iPhone OS 3.x (iPhone/iPad).
I have tried using NSNetServiceBrowser to find all services like so:
[serviceBrowser searchForServicesOfType:@"_services._dns-sd._udp." inDomain:@"local."];
this returns results but when I try and resolve the ...
NSString *dateStr = @"2010-06-07 19:30:18";
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyy-MM-DD hh:mm:ss"];
NSDate *date = [dateFormatter dateFromString:dateStr];
date is always nil. But the date format seems to be correct. What's wrong?
Edit: Seems to work with @"yyyy-MM-DD HH:m...