364 Topics

Member Avatar for
Member Avatar for nameisskrillex

This is a question about Mac OSX Objective C (Cocoa) Hello I currently have a webview inside a panel which I have set as a sheet, the website inside the web view in the panel can go to other pages of the site, unfortunately one of these pages has a …

Member Avatar for Perigee
0
213
Member Avatar for Acidburn

Hi guys, it's been a frustrating day so far, I've taken the week off to get to grips with Xcode and produce an application for the iPhone. Wishing I hadn't now! Anyway, I'm slightly stuck in my conquest... I collasped the "Scene" panel when storyboarding and now I need it …

Member Avatar for Acidburn
0
120
Member Avatar for testingcore99

Hello I am getting this error: error: expected '=',',',';', 'asm' or '__attribute__' before '.' token I am not sure what is causing it, it's probably something stupid which I have over looked, here is the problem code. This is a mac app btw DataClass *obj=[DataClass getInstance]; obj.str= @"test";

Member Avatar for testingcore99
0
1K
Member Avatar for SteveMDavis

Hi there! I'm having trouble understanding the following in Stephen Kochan's book "Programming in Objective-C" - 4th Edition. I hope that you can help me understand it. In Chapter 10 on the section on "Initialising Objects", Stephen writes: "You should adhere to the following two strategies when writing initialisers. It …

0
64
Member Avatar for stereomatching

I found a lot of books introduce about objective C but can't find a book which talk about objective C++.Could you introduce me an objective C++ textbook? I learned C++ before but don't know objective C, where should I start if I want to learn objective C++?Looks like it is …

Member Avatar for stereomatching
0
422
Member Avatar for Nfurman

Hello guys, There's some issue with my UIPickerView controller. The data won't pop up in it. The 'Drum' by itself is visible but empty. My code is: - (void)viewDidLoad { [[self navigationController]setToolbarHidden:YES animated:YES]; [self setItemShow:theItem]; self.uiPickerViewData=[[[NSMutableArray alloc]initWithObjects:@"One",@"Two", nil]autorelease]; [super viewDidLoad]; } And method which will work when button is getting …

Member Avatar for scottdurica
0
1K
Member Avatar for Ronene

Hello , I'm trying to solve a "known problem" in XPath 1.0 . From [msdn](http://msdn.microsoft.com/en-us/library/bb341675.aspx) : "***Although the ordering of returned collections is not specified in the XML XPath Language 1.0 Recommendation, this extension method returns nodes in document order. Note that nodes are returned in document order even when …

0
125
Member Avatar for Lucaci Andrew

OK, so here's the deal. I'm trying to create 2 programs, a server and a client, which communicates between them. I'm working on Ubuntu, throughout FIFO. So, 1st of all, I create 2 FIFO's: $ mkfifo pipe $ mkfifo pipo Ok, and after that I create the client and the …

Member Avatar for Ancient Dragon
0
257
Member Avatar for digan

Hello everybody, I have an application for the iphone. When I go into a view, it is supposed to play a sound on repeat until I exit the view. This works fine the first time. The second (and subsequent) times the sound is played numerous times overlapping each other (two …

Member Avatar for ChrisPadgham
0
379
Member Avatar for while(!success)

Hey guys, I'm trying to make my first iphone application and have encountered some errors as expected. I am trying to uitlize UIAlertView to check if the setter for a password and email instance has been filled. If they are nil, then the alert should be invoked and display the …

Member Avatar for ChrisPadgham
0
141
Member Avatar for SillyNoob

**IDE: **MS Visual Studio 2008 Professional **Compiler:** Unknown First off let me thank any of you who take the time to read this and reply back. I'm having a ridiculous amount of trouble returning a pointer from a function and then using that returned pointer to change the pointer-pointer in …

Member Avatar for SillyNoob
0
234
Member Avatar for mitchfizz05

Hello all. I love iPod touches. I love iPads. I love iPhones. I love Windows PCs... I **HATE** macs! Is there ANY way to make an app for iOS without a mac? (I don't want to make a web app though, but even if you find a way for that …

Member Avatar for mitchfizz05
0
115
Member Avatar for khan.irshad49

I am going to Develope an iOS Application in which i need to utilize my online Database. How can i fetch online Database and update that with the Database in my Application? At the same time i want to update the online Database through Admin Panel please Guide me a …

0
65
Member Avatar for rue64ja

Hey all… I've been working with Xcode, and an Objective C text book, obviously trying to learn Objective C. When I follow along with the text and type the examples or even when I copy and paste, with out fail there are always several compilation errors. Regardless of how careful I …

Member Avatar for dioioib
0
151
Member Avatar for Legomani
Member Avatar for Sunciti

I have a nested dictionary which looks like: { A:{I:{key1:value1,key2:value2}, II:{key1:value2, key2:value5, key3:value6}}, B:{I:{key1:value1,key2:value2}, III:{key1:value2, key2:value5, key3:value6} IV:{key1:value9, key2:value7, key3:value8}}, C:{V:{key1:value11,key2:value22}, VI:{key1:value12, key2:value15, key3:value16} VII:{key1:value19, key2:value17, key3:value18}} } My objective is to retrieve the keys ( A,B,C and I,II,III,IV,V,VI,VII) for the occurences of a value. So for example, if I …

Member Avatar for TrustyTony
0
1K
Member Avatar for SpokaneDude

This is my code: [CODE]//++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - (void)viewDidLoad { [super viewDidLoad]; NSString *indexPath = [NSBundle pathForResource:@"iHelp" ofType:@"html" inDirectory:nil]; [webView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:indexPath]]]; [/CODE] The app is crashing because 'nil' for directory name is invalid (DUH!). So for an imbedded html file, what should go there?

0
91
Member Avatar for caltech

Hi, I'm rather new to MySQL/db management, though I do have a more substantial background in web development with HTML, CSS and PHP, as well as some C++... so while I may be sort of familiar with some of the general concepts needed to understand and utilize MySQL database design, …

Member Avatar for thegerm
0
164
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
137
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
374
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
89
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
172
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
165
Member Avatar for kay19

Seem to be having trouble. The trouble i'm having is the calculateAverage, and a bit of the public static main void area. I'll explain: calculateAverage: What i'm suppose to do is read from the txt file. I tried doing the inFile.nextDouble part, but seem to be getting errors. i'm not …

Member Avatar for foxtich
0
3K
Member Avatar for compEstudent

Here is the assignment: 1. Objective This assignment will introduce you to CPU scheduling. 2. Specifications You are to simulate the execution of processes by a computer system with a large memory, one terminal per user, a CPU, and one disk drive. Each process will be described by it's class …

Member Avatar for JamesCherrill
0
476
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
139
Member Avatar for Jimakoss

hello people of DaniWeb! This is my first post.I gotta tell you that my head is going crazy lately.I am 18. So what's the case? Alright last year I gave some really really really hard exams in my country Greece.I suceeded. I got into the university at the Department of …

Member Avatar for WolfShield
0
315
Member Avatar for babafemi

[code=asp.net] Hello! i have two datalist controls, datalist1 which is the parent control and datalist2 which is the child control. They are both retrieving data from two related tables(primary/foreign). I want both datalists to respond to one edit, cancel, update and delete button, which are on the parent/outer datalist control. …

0
71
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
103
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
142
Member Avatar for pwolf

i was wondering if this was an efficient way to achieve the objective or not, some advice on the matter is much appreciated. the objective is to define a function to determine the standard achieved by a participant taking a physical fitness test. The standard is determined based on the …

Member Avatar for TrustyTony
0
247
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
171
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
133
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
119
Member Avatar for kikic

Matrix given in memory; the objective is to print the spiral in opposite direction from clockwise (left column down the right lower range, right up column, a series of upper left, etc. until you get to the environment). This works just for dimension 3x3. It should works for MxN dimension, …

Member Avatar for zeroliken
0
313
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
375
Member Avatar for ogsirus

Hi guys. I am making a program in c# which uses several forms. It my first time doing this so im a bit clueless. I have a main form and a second one. The main asks the user to enter a number between 1- 25. When they press enter It …

0
92
Member Avatar for madmhan84

Hope someone could help me on this one, thanks in advanced! My objective is to repeat an input until the user hit/press the letter 'N' But the problem is when it comes to the part of answering the question: "Add Another Number? [Y/N]" the program stops! Here's my faulty code: …

Member Avatar for madmhan84
0
165
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
121
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
326
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
494
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
165
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
118
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
108
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
64
Member Avatar for Germy Loo

Hi, I've made a JApplet trying to simulate a macroeconomy. It works as I want it to when viewed in appletviewer, but when I view it from a browser, clicking Proceed after having changed values of JSliders in EconFinalM.class doesn't work. EconFinal.java: [CODE]import java.awt.event.*; // Import Libraries. import java.awt.*; import …

Member Avatar for NormR1
0
262
Member Avatar for t2ac32

Hi every one well i have this problem: Im creating a method for multiplying two different lists sorted in arrays example: MyList a [9,9,9,9] * MyList B[1,1,9] the problem is that i was told not to convert to a large int and then multiply like this 9999*9 +9999*1+9999*9 Since the …

Member Avatar for t2ac32
0
1K
Member Avatar for daldrome

I have created a program to generate a set of characters in an array. The objective is to move all vowels generated by the array to the left, for example: given the following array: A B C D E F G H I J K L M O P Q …

Member Avatar for daldrome
0
161
Member Avatar for Raion

Hello Everyone! Nice to be among people of my interests, and speaking of interests mine include programming (C++, C#, objective-C), poetry, and I am also a writer at a couple of sites. (and a few other things im sure... but can't remember them right now :) ) I am an …

Member Avatar for Netcode
0
54
Member Avatar for akhil1989

I would like to know whether if there is any Objective-C MSN API. I have searched for a while and could not really find one.

Member Avatar for peter_budo
0
59

The End.