166 Topics
| |
Hello I previously created an iPhone app that displayed the top trending topics on Twitter. The user could drill down into the tweets about that topic before selecting an individual tweet that would launch the twitter page for that tweet displayed in an in app webpage. However Twitter has recently … | |
I had my iPhone app working, developed with Storyboard. I decided to take all of the methods that belonged in a SQLite method and move them to a new SQLite class (.h and .m). Now I have errors that I can't seem to get rid of. The basic problem is … | |
Hi! I think the title is quite clear, but is there a way (I'm using Xcode 4) to auto generate the methods defined in a c++ header file to a cpp file? I just want empty methods that are compatible with the definitions in the header. Can't find anything on … | |
Hello, First of all, VC++ use .NET FW? it means is totaly High language... i dont get the point to learn VC++ when i can use C#, both language use .NET FW, so the reason of "speed" doesn't metter. VC++ & C++ are totaly diferent things... well im ok with … | |
Can any one explain briefly about Objects,Classes,Methods and Instances in Objective C.Since i'm a beginner to learn Objective C i want to know the basic things... | |
I am wondering if the algorithm is correct that it shows for the insertAt(int, const elemType&) function for an array-based list: template <class elemType> void arrayListType<elemType>::insertAt (int location, const elemType& insertItem) { if (location < 0 || location >= maxSize) cerr << "The position of the item to be inserted … | |
Hi, I'm having a major problem with passing GCC link flags in Xcode. I created a C program that creates and runs a neural network using the FANN library. When I compile this command line I use the command [CODE]gcc main.c -o train_test -l fann[/CODE] to link the fann library … | |
The app I'm currently working on is suppose to overlay a square image. The square image should overlay on preview camera screen wherever the user touches the screen. And it should also appear on the image captured by the user. I'm having hard time figuring this out. Guidance would be … | |
Never Mind the title of the post guys and gals… it turns out that writing the post helped me vent my frustration and clear my mind. I found the issue and solved the problem while I was writing the initial post! I'm writing this because I haven't figured out how to … | |
well i was watching a programing tutorial and when i copy the code i keep getting an error saying type of property 'bg' (UIImageView*) does not match type of ivar 'bg'(UIImage*__strong) i'm programing in xcode 4.2.1 in single view controller my code is: @interface ViewController : UIViewController{ UIImage * bg; … | |
I'm trying to make a camera app using AVCaptureSession. For now I just want to see if the video input works or not. But it looks like there is no input and I can't seem to understand why. - (void)viewDidLoad { [super viewDidLoad]; session = [[AVCaptureSession alloc] init]; [self addVideoPreviewLayer]; … | |
Could someone help me to convert this Scheme Code to Objective-C? (define-type RCFAE [num (n number?)] [add (lhs RCFAE?) (rhs RCFAE?)] [id (name symbol?)] [fun (param symbol?) (body RCFAE?)] [app (fun-expr RCFAE?) (arg-expr RCFAE?)] [with (id symbol?) (named-expr RCFAE?) (body RCFAE?)] [if0 (cond RCFAE?) (then RCFAE?) (else RCFAE?)] [rec (id … | |
Writing a small program that requires me to convert strings to doubles and then back to strings. Right now, the code compiles but the answer is wrong, even though I am using an algorithm that I know is right in C++. Can someone tell me what I'm doing wrong? The … | |
This is actually an Objective-C question. I'm trying to implement a way to loop through pixels and map the colors to "curve" data. I was wondering the easiest way to do this. Is there a prewritten algorithm for curves anywhere? I don't want a graphical curve grid, I just need … | |
For some reason when I try to run a program there are errors and iPhone simulator won't come up. It says: Interface Builder encountered an error communicating with the iPhone Simulator. Failed to determine the value for systemColors of UIColor. Command/Developer/usr/bin/ibtool failed with exit code 1 ... if anyone can … | |
i am doing a project for a mobile apps class and i am about 80% done. all the UI is complete, but i need to have a filled out form stored into a db. i used the core data model to set up all the entities/attributes, i just cannot figure … | |
hi,, i m now working on some basics of phonegap for iphone . can somebody let to know how to create database for iphone apps development? and how to connect this database with the iphone? any suggestion are highly appreciated..thank you | |
1. Now with ARC, how would a simple little program like this look like with ARC?: [CODE] #import <Foundation/Foundation.h> #import "FakeClass.h" int main(int argc, const char* argv[]) { NSAutoreleasePool *pool = [ [NSAutoreleasePool alloc] init]; FakeClass *object = [ [FakeClass alloc] init]; //do some stuff [object release]; [pool drain]; return … | |
Hello, Codility now supports Objective-C, check it out: [url]http://codility.com/demo/take-sample-test/[/url] , feedback welcome. | |
Sorry for the newbie question, but I was just wondering if it is possible to program in C++ or some language other than Objective-C on iOS devices? If so, what tools could I use? Visual Studio? Thanks!! :) | |
I have been doing java for almost 3 years now, am just starting to learn Objective-C as of this past June. Been writing a few programs on my own and writing programs for the exercises in 2 very cool Cocoa/objective-c books. My question is how do I, coming from Java, … | |
hi! i am new to objective c programming. i am making a quiz application. i have a home screen which options like: view instructions and start quiz. how can i display another view when i click a button. like, i want to display the instruction screen when i click instructions. … | |
Hi guys! I want to start learning Objective-C and Id like to use c++ streams, problem is that it is causing error on this hello world example: [CODE] #import <iostream> #import <windows.h> int main( int argc, const char *argv[] ) { std::cout<<"Hello World"<<std::endl; Sleep(5000); return 0; } [/CODE] and these … | |
A thread was started ([url]http://www.daniweb.com/community-center/daniweb-community-feedback/threads/363816[/url]) inquiring about creating an objective-C forum. I am open to this as long as it is indeed a unique language with unique characteristics (and not a subset of C or C++, for example). However, my main hesitation is that creating a forum is, often times, … | |
In need some help with this little programming .. I just got 3 errors .. :'( [code=c]#include <stdio.h> int main (void) { char A , B , C , D , E , F; int id1[ ]; float grade[ ]; float marks[ ]; float average; float num1, kk=0; /********* Jami, … | |
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. | |
[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 … | |
[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 … | |
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! | |
Hi guys, I am learning Objective-C and today at night I managed a simple program, an usual one from ordinary exercise. Code: [CODE] #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSLog(@"Welcome to multiplication table test"); int rightAnswers; //the sum … |
The End.