551 Topics

Member Avatar for
Member Avatar for seanooi

How do I authenticate a .aspx page in objective-c? I've googled and viewed countless results to no avail. I found something about NSURLCredentials but nothing helpful. Any pointers would be very much appreciated.

0
87
Member Avatar for Rickay

[CODE]int realX = winSize.width + (projectile.contentSize.width/2); float ratio = (float) offY / (float) offX; int realY = (realX * ratio) + projectile.position.y; CGPoint realDest = ccp(realX, realY); [_projectiles addObject:projectile]; projectile.tag = 2; [projectile runAction:[CCSequence actions: [CCMoveTo actionWithDuration:realMoveDuration position:realDest], [CCCallFuncN actionWithTarget:self selector:@selector(spriteMoveFinished:)], nil]];[/CODE] In this simple app, I am trying to …

0
159
Member Avatar for Rickay

[CODE]int realX = winSize.width + (projectile.contentSize.width/2); float ratio = (float) offY / (float) offX; int realY = (realX * ratio) + projectile.position.y; CGPoint realDest = ccp(realX, realY); [_projectiles addObject:projectile]; projectile.tag = 2; [projectile runAction:[CCSequence actions: [CCMoveTo actionWithDuration:realMoveDuration position:realDest], [CCCallFuncN actionWithTarget:self selector:@selector(spriteMoveFinished:)], nil]];[/CODE] In this simple app, I am trying to …

0
153
Member Avatar for loumbut

I wrote the following code to create a wav file which generates varying frequencies based on the Hebrew Gematria pattern. It compiles great but does not write the wav file. What am I not understanding about this code? [CODE] #include <iostream> #include <math.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include …

Member Avatar for ivanx_wu
0
2K
Member Avatar for Rickay

I have started dabbling in Objective-C for iOS developing. Is using the C forum of this website appropriate for questions regarding Objective-C? If not, what would the correct forum be? Thanks!

Member Avatar for Rickay
0
243
Member Avatar for ahsan1

I have made an application in which there are different buttons with images. When the button is clicked, it writes "hello" on the console because I have written in the NSLog("hello") statement in the funtion which is called on button click. But I want to print the database column record …

0
83
Member Avatar for ahsan1

Hello I am new to iphone application development. I making an application in which there are foods which I have to show on the iphone screen. I have made uiscrollview and buttons on it with images of dishes on it throgh loop but I am facing a problem that all …

0
151
Member Avatar for gecko_dev

Im a computer science undergrad student in my final year. its time for selecting my final year project. I have two projects in my mind which are as follows 1- create kernel for iPhone based on openiboot 2- create an iPhone to android code conversion tool The first project was …

Member Avatar for L7Sqr
-1
274
Member Avatar for VanessaRyan

A [URL="http://bit.ly/appcelerator_idc_q4_mobile_developer_report"]new survey[/URL] jointly conducted by Appcelerator® and International Data Corporation (IDC) released September 27, 2010 reveals Appcelerator Titanium developers favor Android over iOS in TVs and other devices.[ATTACH=right]17397[/ATTACH] Although the market shows that Apple currently leads in iPhone/iPad sales and popularity, the survey reveals that of the approximately 2,300 …

Member Avatar for peter_budo
0
573
Member Avatar for FoxInBoots

Hi, I really need help with understanding how to solve an exercise. Create a new textfile with the name 'studentinfo.txt' and write following and save: Marie Anderssen 29 Alexander Lind 35 Gholam Payro 32 Zlatan Ibrahimavic 26 Write a program that read the information from 'studentinfo.txt' and calculates the average …

Member Avatar for Narue
0
207
Member Avatar for happygeek

News reports suggest that March has been a good month for lovers of, and developers for, the Android operating system in pretty much every regard. That good news comes at the expense of the Apple iPhone and iOS we are led to believe, which appears to be losing the fight …

Member Avatar for wtstalin88
2
866
Member Avatar for WASDted

[ATTACH=RIGHT]20689[/ATTACH]This week [URL="http://radar.oreilly.com/2011/04/apple-location-tracking.html"]on Oreilly.com, Alasdair Allan and Pete Warden[/URL] revealed their discovery that Apple tracks and saves your location via iOS4 through your iPhone or iPad. This has sent a wripple of concern across the country and many people are demanding to know why Apple stores this info and how …

Member Avatar for matricol
1
578
Member Avatar for SasseMan

Hello all! I'm having problems with running c++ on iOS. I have a iOS openGL project in Xcode 4 and an external library written in c++ that has to be a dependency to the iOS target so it can run on an Ipad. right now I'm testing with the iPad …

Member Avatar for SasseMan
0
127
Member Avatar for Rickay

Hey people. Been having a problem when trying to use .gif files as images for sprites. When I try to use one, I get an error such as: [CODE]Documents/Code/Cocos2D/Cocos2D/Player.png: No such file or directory[/CODE] But in the code, I am calling for the picture "Player.gif" to be used, as you …

0
125
Member Avatar for shamsu50

hello, ive been looking around for iphone programming book seen some on websites but there once I like seem to have bad review so I to know which book you like and recommend?? would like a book that has: good understanding of objective-c good chapter on maps and augmented reality

Member Avatar for jingda
0
117
Member Avatar for guilt99

Hi, i am sure most people here are subscribed to some feeds to keep up with the news, i am subscribed to around 8-10 feeds, and they give me 300+ updates everyday, but i am only interested in about half of them.. some of them are the next web, tech …

0
65
Member Avatar for hiddepolen

Hi, I have a piece of code, which gets a string of code from a webpage. It's the HTML source code, from which I want to make an array, in which I can find data the user will input. However, I need to extract all the useful information from the …

Member Avatar for Prabakar
0
229
Member Avatar for WASDted

Rumor has it that Osama Bin Laden received his new iPad 2 and instantly became target #1. That's right Mr. Al Qaida, had you [URL="http://www.daniweb.com/hardware-and-software/apple/ios-iphone-os/news/361140"]read the editorial threads on DaniWeb.com[/URL] you would have known that Apple is watching and recording your moves. In a heroic effort to end that war …

Member Avatar for Agilemind
3
579
Member Avatar for Trustify

I don't know what I'm doing wrong but I open my filed correctly but it doesn't display the contents in the file. Please help. [CODE]#include <iostream> #include <fstream> using namespace std; int main() { const int SIZE = 81; char input[SIZE]; fstream dataFile; dataFile.open("info.txt", ios::in); dataFile.getline(input,SIZE); system("pause"); return 0; }[/CODE]

Member Avatar for Trustify
0
186
Member Avatar for pepperhead11

Ok, I've been trying to run this program on Borland C++ (Version 5.0A). The program is a Point of Sale program. I keep getting the errors "expression syntax at (121,26)" and "If statement missing ) at (129,6). Try as I might, I can't seem to fix the errors. Help? [CODE] …

Member Avatar for WaltP
0
1K
Member Avatar for davidcraigster

Hi there! I am trying to figure out how to disable the iphone keyboard from popping up, when a text field is clicked. Is there a line a code to use? or maybe go into xcode and manipulate info.plist? Any kind of help is appreciated.

0
86
Member Avatar for ashrafu1

hello am doing a library program. i am almost done with it. but now my problem is i have to make the record update section work as each of the record can be updated separately. so far i think of making another menu and do it like that. now my …

Member Avatar for ashrafu1
0
508
Member Avatar for Bedo

I need help in pulling this program apart, and reformatting it to use functions that I didn't know i needed to implement until right now. * float calculate_time (4 parameters) finds the amount of hours between two times given. It should return 0 if the amount is less than 0. …

Member Avatar for jonsca
0
129
Member Avatar for nayefc

Hello, I am creating an iPad app which should have a grid-like view on the first page. Basically, it will have 9 UIImageViews side by side (in a 3x3 box) and each UIImageView drills down to a view by using a UINavigationController. Should I set up three UITableViews side by …

0
95
Member Avatar for yashum

I want to start development for IPad. I own a late model mac mini and want to use xcode 4 for development. What education materials should I use to to accomplish this? Thanks.

Member Avatar for jingda
0
87
Member Avatar for Seattle Slim

I see some comments about Objective C or Cocoa however their does note seem to be a specific area for such comments. Objective C would be a good listing below the other languages. Any serious OSx iPad or iPhone developers would look here first for information. Since there is more …

Member Avatar for jon.kiparsky
2
413
Member Avatar for ashrafu1

hello me and my friends were assigned to make a program that can add,delete,update and show information. we were able to make this code ( am sending u ) but we cannot solve some problem like the after adding or deleting or any other work the window does not goes …

Member Avatar for ashrafu1
0
502
Member Avatar for fish234

Can I ask what the programing languege used in iOS? I heard it was Xcode but I'm not 100% what that is, lol if anyone can give me a hand it would be great. Also (and I know this is kind of a supid queston) can you use and C++ …

Member Avatar for Vermillion
0
145
Member Avatar for Progr4mmer

I'm wondering if its possible to program using xcode for ios(I pod touch, I phone, I pad) on windows?

Member Avatar for Progr4mmer
0
144
Member Avatar for scarlettmoon

Hi ~ Just found DANIWEB while researching ios format flags...Programming is new to me though this is my second programming class (C++). My first was VB I. Things were going along swimmingly until our book introduced flags for formatting : ios::std:: etc.... Well the book did NOT introduce these flags...they …

Member Avatar for debasisdas
0
96
Member Avatar for sahil1991

hi to all, can anyone tell me about streambuf and filebuf classes...i got to know that ios contains a pointer to streambuf....so it must be something important ,right?.....

Member Avatar for L7Sqr
0
65
Member Avatar for Nandomo

I really don't know how to capture the information from the bitmap file when talking about the pixelArray, I know what I have to do it when I capture it to turn it negative, but each time I run my code it crashes when I run the code I think …

Member Avatar for Nandomo
0
187
Member Avatar for ankur3000

Hey guys, I am a complete beginner to programming. My only background is basic programming in C. I would like to learn more but I don't know where to start, I thought about learning C++ but then i read somewhere that learning obj-C or Java is a better idea. At …

Member Avatar for mike_2000_17
0
267
Member Avatar for Nandomo

I am writing a program to make pictures into their negative. But I do not know how to open the bitmap file, I don't know if I should open it as a binary, when I try to my security coding kicks in, and when I open as ios::out my security …

Member Avatar for Moschops
0
144
Member Avatar for shivakumar10340

i [COLOR="blue"][/COLOR]I am geting fatal error help me [CODE]/* The United Bank makes certain computerized facilities in their bank to implement customer records and their daily daily transaction records. The bank keeps certain information as follow: INITIAL.dat: acc_no : Account number name : Name of the Accountee address : Address …

Member Avatar for WaltP
-1
186
Member Avatar for MasterGberry

Need to read 4 bytes into a long int format. Both inFileDrs and outFileDrs are in ios::binary form. Is this the correct way to do this? The original piece of code was [CODE]var tableCount = reader.ReadUInt32(); writer.Write(tableCount);[/CODE] [CODE] unsigned long int tableCount, firstFilePos; inFileDrs >> tableCount; outFileDrs << tableCount;[/CODE]

Member Avatar for MasterGberry
0
108
Member Avatar for happygeek

[ATTACH=right]15517[/ATTACH]If you cannot wait to get hold of the new iPhone 4, should you have been lucky enough to have successfully pre-ordered, then you could always upgrade your existing iPhone 3G/3GS to iOS 4 and get many of the same features. Be warned, though, the update itself is not without …

Member Avatar for jimywaugh
1
756
Member Avatar for VanessaRyan

[URL="http://vimeo.com/15374659"]Titanium +Geo[/URL], a new location-based analytics platform for mobile applications, released on September 29, 2010 and developed jointly by Appcelerator® and FortiusOne, allows marketers and retailers to accurately measure the effect of where, when and how their mobile applications are being used by their customers. [ATTACH=right]17421[/ATTACH] This is a data …

Member Avatar for lapssone
0
523
Member Avatar for mbouster

Dear all I have the following code [CODE] void initializeData() { Customers *CustArray; CustArray=new Customers[150];//allocate 150 memory locations of class Customers Flights *FL=new Flights[150]; } /*End Initialize Data fuction*/ /**********************************************************************************************************************************/ /*Backup Menu implementation*/ void backupfiledefaultfilename() { ofstream file_ptr; // Declares a file pointer. file_ptr.open(“backup.bak”, ios::out); if (!file_ptr) { cout << …

Member Avatar for chikkupa
0
123
Member Avatar for seifhatem

hi all i want to read a secific line in a text file here is the text file form [CODE]iphuc 0.6.1 with tab completion. >> By The iPhoneDev Team: nightwatch geohot ixtli warren nall mjc operator Unsupported iTunesMobileDevice.dll Version ee0000 15 CFRunLoop: Waiting for iPhone.[/CODE] or [CODE]iphuc 0.6.1 with tab …

Member Avatar for Chronister
0
184
Member Avatar for jeffcogswell

When I was studying computer programming in college many years ago, I didn't imagine that our work could impact lives, particularly in a negative way. We've heard reports (mostly true) of death, dying, and destruction as a result of software problems, such as the time a plane flew right into …

Member Avatar for max121
3
916
Member Avatar for NewOrder

i wrote this book as it was presented in the book: header: [CODE] #import <UIKit/UIKit.h> #define degreesToRadians(x) (M_PI*(x)/180.0) @interface SwapViewController : UIViewController { IBOutlet UIView *landscape; IBOutlet UIView *portrait; //Foo IBOutlet UIButton *landscapeFooButton; IBOutlet UIButton *portraitFooButton; //Bar IBOutlet UIButton *landscapeBarButton; IBOutlet UIButton *portraitBarButton; } @property (nonatomic, retain) UIView *portrait; @property …

0
52
Member Avatar for happygeek

This brand new update to the ever popular TomTom for the iPhone app (which has featured in the Apple 'top grossing apps' list since it was first released 18 months ago) adds one highly requested feature: Map Share. Why the big hurrah over one additional feature? Simple, it's a hugely …

3
745
Member Avatar for memphis.ray

Hello my friends, I'm getting new types of ignorance from new iOS SDK. (xcode 3.2.5). I always wanted to have my own gameloop. here is the some part of it. [ICODE] - (void) gameLoop { //get all touches while(CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0.002f, TRUE) == kCFRunLoopRunHandledSource); //Update logic: UpdateLogic(); //Render Frame Render(); } …

0
89
Member Avatar for fubuaddict

Im an IT student(just started) we had this basic assignment: Antivirus Suppose you are going to create an antivirus program. You will need to search a file for any trace of a virus and if found it should be removed. However, a backup of the original(“infected file”) file should be …

Member Avatar for Fbody
0
88
Member Avatar for pooja_singh

hi!! i,ve written d program on airline reservation .... but i m facing problems regarding the value of seats ... that is how do i sore different values of seats available in diff flights [code] class air { protected: int z; char clas[10]; char source[5][10]; char dest[5][10]; int seats; int …

Member Avatar for sai shiva j
0
1K
Member Avatar for jovypinoy

Hello! My boss requested me to download a songs to his iphone. But the artist are too old and classic so I'm having difficulty in searching it. And I notice that a lot of songs classic or even newly release are all uploaded in the Youtube. So I'm search for …

Member Avatar for happygeek
0
375
Member Avatar for Sma-FCi

hi i'm doing a project on iphone and i want to modify some data , then send it as a signal in a normal phone call.

Member Avatar for rubberman
0
65
Member Avatar for HBK_100

Why is this not reading from the file The contents of the file [CODE] 123456 James.Watson 234567 12.Clover.Crescent Spanish.Town St.Catherine Single Standard Passprot [/CODE] [CODE] ifstream file; file.open( "guest.txt", ios::in ); if ( !file ) { cerr << "File could not be opened" << endl; exit( 1 ); } guest …

Member Avatar for thelamb
0
99
Member Avatar for integer*09

Hi all, I got this assertion problem that i cant seem to solve, could you guys help me on this. So far, i think the problem might be due to the while loop for the iterator line by line check and i have made changes to it but still cant …

Member Avatar for shijobaby
0
818

The End.