166 Topics

Member Avatar for
Member Avatar for dsmush

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 …

0
133
Member Avatar for SpokaneDude

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 …

Member Avatar for peter_budo
0
266
Member Avatar for SasseMan

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 …

0
80
Member Avatar for Panathinaikos22

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 …

Member Avatar for dioioib
0
168
Member Avatar for DanielPrasath

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...

Member Avatar for dioioib
0
164
Member Avatar for daniel1977

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 …

Member Avatar for ChrisPadgham
0
136
Member Avatar for daryll1

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 …

0
101
Member Avatar for ilaunchpad

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 …

0
138
Member Avatar for rue64ja

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 …

Member Avatar for rue64ja
0
168
Member Avatar for tammy12w

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; …

Member Avatar for hericles
0
126
Member Avatar for ilaunchpad

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]; …

0
116
Member Avatar for sarya_w

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 …

Member Avatar for sarya_w
0
359
Member Avatar for Navlag

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 …

Member Avatar for Navlag
0
115
Member Avatar for mediachicken

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 …

Member Avatar for radu_
0
315
Member Avatar for Dane2259

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 …

Member Avatar for Dane2259
0
471
Member Avatar for vehpurple

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 …

Member Avatar for ChrisPadgham
0
159
Member Avatar for rraviraj

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

Member Avatar for ChrisPadgham
0
104
Member Avatar for sha11e

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 …

Member Avatar for ChrisPadgham
0
104
Member Avatar for matmis

Hello, Codility now supports Objective-C, check it out: [url]http://codility.com/demo/take-sample-test/[/url] , feedback welcome.

0
61
Member Avatar for VengefulToast

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!! :)

Member Avatar for VengefulToast
0
111
Member Avatar for musikluver4

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, …

Member Avatar for anilkumar-m
0
263
Member Avatar for JakeA

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. …

Member Avatar for TPBarnett
0
155
Member Avatar for JuloF26

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 …

Member Avatar for TPBarnett
0
590
Member Avatar for Dani

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, …

Member Avatar for jbennet
0
461
Member Avatar for arj'89

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, …

Member Avatar for arj'89
0
1K
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
75
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
123
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
124
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
215
Member Avatar for Nfurman

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 …

Member Avatar for gusano79
0
157

The End.