Hi guys
Anybody find that xcode is adding a new line to you source code when you hit the backspace key?
For example I am writing code and I make a typo and I hit back space it will the immediately duplicate the line of code the cursor is on and it will appear below, and back space will delete on each line char by char as it hit the key...
Hello all, I just tried adding some print statements to my shouldautorotate method and noticed that it checks it 4 times which does make sense but even though I am not switching mode from portrait to landscape,
it returns portrait 3 times and on the fourth time, it returns landscape even though my simulator is not in landscape.
if(inte...
Hello everybody,
I'm trying to create an iPhone app for helping me managing my class schedule. This means that I will have various subjects recurring regularly at a given time. So I might have one subject recurring every 2 days, whereas another is recurring every 3 weeks. I'm wondering now what the best way to storage this is, so that i...
My iPhone application is using AsyncUdpSocket to handle a UDP socket.But when my application goes background in iOs 4.0 and return back, i am getting following error.
Application 'MyAppName' exited abnormally with signal 13: Broken pipe
This is because my sockets are disconnected when my application goes to background.
How to run ...
I have a navigationController from where I launch a ModalViewController.
In this ModalViewController I will display the MailComposer which itself another ModalViewController.
Now if the user hits the send button the MailComposerView should be dismissed as well the other ModalViewController. For that I call a delegate method in the mailC...
Hi guys,
I am using addTarget:action:forControlEvents like that :
[newsButton addTarget:self
action:@selector(switchToNewsDetails)
forControlEvents:UIControlEventTouchUpInside];
and I would like to pass parameters to my selector "switchToNewsDetails".
The only think I suceed to do is to pass the (id)sender by writing this :
action:@s...
This should be straight foreward, but I simply can't figure it out(!)
I have a UIView 'filled with' a UIScrollView. Inside the scrollView I wan't to have a UITableView.
I have hooked up both the scrollView and the tableView with IBOutlet's in IB and set the ViewController to be the delegate and datasource of the tableView.
What else d...
Hello all.
I'm trying to send data from my application to a webserver.
The catch is that I want to encrypt the sent data and also make sure it comes from my application. (From what I've read so far it's easy to decrypt the data if it's not sent via HTTPS. On the unique application I didn't find anything except the Application ID Apple p...
I am new and want to start developing apps for iPhone, but I can't afford the high price tag of one of Apple's Intel machine right now, can I start developing iPhone apps on Apple Power PC G5 or Apple MacBook Pro with Intel? Thanks for your help
...
In the following UIView animation block, I do a CGAffineTransformMakeScale and a CGAffineTransformMakeRotation, and though the duration is set to 1.0f, the scale goes really fast and the rotation goes in 1 second like it should.
It must be my lack of understanding about how AffineTransforms are applied but I can't figure it out.
What g...
I have been looking back at some old code from when I first started learning Objective-c and I have a quick question:
// THIS IS MY OLD CODE
@implementation syntax_UINavAppDelegate
@synthesize window;
@synthesize navController;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {...
I am a bit lost with the memory management. I've read that you should release whenever you alloc. But when you get an instance without the alloc, you shouldnt release.
What about this situation, just need to know If I was coding correctly. I'm still new on iphone dev.
I have a class CustomerRepository it has a method
- (MSMutableArr...
I am splitting the pdf using pdfsam into single pages.After splitting all the internal links are removed.Is there any way to access the internal links between pages in the pdf ? but i can able to access the website links
how the internal links i.e page number are stored inside the annots array. i cant able to get the page number in goto...
Here's a follow up to a previous question. My code below animates a square by scaling it and rotating it. It does this by making a rotation transform and adding a scale transform to it. That works fine. When it's done, it calls throbReset. I used to have throbReset just set self's transform to a CGAffineTransformMakeScale and that w...
I have an NSTtimer implemented and it's working fine. I also have the time interval argument connected to a UISlider for the iPhone. However when I change it's value the NSTimer is still running at the original time interval it does not get updated. How can I implement an NSTimer and have it change it's time interval as the value of my U...
Hi there guys.
I'm hitting a wall over and over again, trying to solve a problem I've got in xcode. I'm a newbie and started coding just a while ago.
I'm trying to make a XML parser based on this tutorial: http://cocoadevblog.com/iphone-tutorial-creating-a-rss-feed-reader
which works fine separately, but when I'm implementing it into ...
Hello,
I am trying to upload my app on Cydia and it requires .deb package. I am unable to figure out how to make .deb packages on mac. I am using 10.6.3 when I write this command on terminal
dpkg-deb -b MyProgram
Termina output is
-bash: dpkg-deb: command not found
I've install fink, Mac ports insert Mac DVD to find out but no...
Hi all....
can anybody help me out please...
i have a huge object in a model. i made it as a single ton class and returning the object wn other calls.but the object is very big thats y the app is crasing. with out returning how to share the data globally and when to alloc the object and where to dealloc the object. i dont need all the...
I would like to start on Chinese hand-writing recognition program for IPhone...but I couldn't find any library or API that can help me to do so. It's hard for me to write the algorithm myself because of my time span.
Some of suggestion recommended that I should make use of a back-end server to do the recognition work. But I don't know h...
Hi, I am attempting to de-dupe an NSArray of NSDictionaries based on specific keys in the dictionaries. What I have looks something like this:
NSDictionary *person1 = [NSDictionary dictionaryWithObjectsAndKeys:@"John", @"firstName", @"Smith", "lastName", @"7898", @"employeeID"];
NSDictionary *person2 = [NSDictionary dictionaryWithObject...