166 Topics

Member Avatar for
Member Avatar for anisha.silva

HI, I created an app to add a clinc details to the sqlite3 db from xcode. the code is below. The (sqlite3_step(statement1) == SQLITE_DONE) does not execute it. I dont get an error or anything. I can't figure out what exactly is wrong.Apprecite if someone can tell me what i …

Member Avatar for hericles
0
282
Member Avatar for great_learner

Hi guys, I am completely new to objective c. I am trying to compile a very basic program of "hello world", but the problem is that gcc compiler can't figure out where my header files are. I wrote on cygwin bash shell: [CODE =c]$ gcc -lobjc hello.m -o hello[/CODE] and …

Member Avatar for spark_1
0
244
Member Avatar for G

I want to make a Cocoa applictation using all code in Xcode, not using the Interface Builder. I have searched a lot on this and have not found anything since most people want to use the Interface Builder. Please don't say anything like "Don't waist your time on it", "They …

Member Avatar for bondo
0
314
Member Avatar for shrikanthnk

Kindly help me to resolve this issue. I'm using Xcode 5.0 and options (such as check/uncheck storyboard )are not getting displayed whenever I launch new project with single view application. p.s: I used to get above mentioned option till yesterday.

0
85
Member Avatar for Anima Templi

Hello Daniweb, I will soon reach the point where I'm ready to move on my journey of programming. One thing that has always interested me is the mobile world. I would like to develop things for the mobile world. What I want to ask/know is tips from people already developing …

Member Avatar for Andy Res
0
312
Member Avatar for Anima Templi

Hello, I'm really interested in developing apps for iOS. I do already have everything setup and I'm ready to start programming. What I'm curious about is; Is it worth buying the apple developer account already? I don't have anything ready to release yet, but I have read that they also …

0
242
Member Avatar for Platnium

I was running my program whenn it crashed and gave me a error of NSInternalInconsistencyException reason: Could not load NIB in bundle can anyone help please

Member Avatar for bondo
0
158
Member Avatar for pars99

I need to compare two numbers in a cocoa application, but it doesn't allow me to use the regular signs (>=, <=, <, >) nor will it let me use isGreaterThanOrEqualTo:[] (Which, I undestand only takes an object, but I thought I would try it). So can someone please tell …

Member Avatar for Szabi Zsoldos
0
176
Member Avatar for mgold

I was reading through an Objective-C book at the same time I was reading a "Good Coding Preactices"/Design book and I noticed how badly designed (I Think) Cocoa is. My biggest issue is it's seemingly unpolymorphic design. For instants, like many other objects, the UIButton class's style is defined using …

Member Avatar for ChrisPadgham
1
165
Member Avatar for Malymieczek

Hi All, I was following a tutorial online that showed how to imput info into a MySQL database from an app, and I decided to edit it a little so that I could post what I wanted as opposed to the provided example. The problem im having is that the …

Member Avatar for Malymieczek
0
208
Member Avatar for Malymieczek

Hi All, So i have recently started developing an application in XCode for a project that I am working on. The application uses php scripts to connect to a mysql server. The problem I am facing is that when I coded textfields to send the information to the server when …

Member Avatar for davidkroj
0
192
Member Avatar for pars99

What is the Windows equivalent of Cocoa from Objective-C? I'm thinking C++, but is there anything that includes an easier way to create a UI? (If there is an IDE that features a UI builder for C++, please mention) ((Sorry if you don't think I should've posted this here. Since …

Member Avatar for ddanbe
0
198
Member Avatar for shan4248
Member Avatar for pars99

I want to set a text field to look through a switch statement to find the corresponding case. Can I just do that like this? switch(textField){ case 'someCase': // do something break; default: // do something else break; } Considering I already created an outlet for it in the @interface …

Member Avatar for pars99
0
122
Member Avatar for pars99

Everytime I press the button, it's supposed to change the label, but it doesn't. It also doesn't see that I have made any connections. Please help. Thank you in advance. AppController.m: #import "AppController.h" @implementation AppController -(IBAction)sayHello:(id)sender{ [label setStringValue:@"Hello World!"]; } @end AppController.h: #import <Foundation/Foundation.h> @interface AppController : NSObject{ IBOutlet NSTextField …

Member Avatar for pars99
0
248
Member Avatar for Beancounter5

Hi , i would like to include a normal conventiional function in to my obcetive c project. I have tried putting the body of the function outside the implementation section , inside the @implemenation section. I know it wont be part of the class i'm defining , but do i …

Member Avatar for adams161
0
399
Member Avatar for Kimsheron

I had an exam in database. during the tutorials we were instructed to create a query and run it. The exam question only asked to create a query. I did just that n got it wrong. Would u say that a create query question always expects the query to run? …

Member Avatar for ConsultRoland
-1
84
Member Avatar for Sivaram R

models.py class Settings(models.Model): date_format = models.CharField('Date format', max_length=100) time_format = models.CharField('Time format', max_length=100) views.py for saving the date and time format in database as boolean. def date_format(request): settings = Settings.objects.get(user=request.user) settingsForm = SettingsForm(instance=settings) if request.method =='POST': settingsForm = SettingsForm(request.POST,instance=settings) if (settingsForm.is_valid()): settings=settingsForm.save() return redirect('/member/follow-up/') return render_to_response( 'incident/date_format.html', { 'about_menu': True, …

Member Avatar for ChrisPadgham
0
324
Member Avatar for Harvey_10

Hello DaniWeb, i recently began reading a book called programming in Objective-c by Kochan 5th edition, One thing i havent gotten the grasp on is Properties and WHEN to use them or if they are even usable on such a simple test program such as in a coffeeShop class for …

Member Avatar for ChrisPadgham
0
179
Member Avatar for dancks

From an exercise in a cocoa programming book I'm trying to make a to do list app that simply adds, removes and change the entries in the table. I have a lot of things wrong with it. relevant info: * add button: add entry with text from text field. If …

Member Avatar for dancks
0
755
Member Avatar for Harvey_10

Hello daniWeb, i have a question, i am trying to implement a live Ticker for my iOS app but i am stuck in a very frustating situation. So my app should have live internet connection to connect to a sever which has a ticker that Updates continuosly. So here is …

Member Avatar for dancks
0
136
Member Avatar for dancks

I'm going through an exercise in a mac programming in cocoa book, where there is a GUI and from a textfield I enter and to a list of strings displayed on a table. There are plenty of things that aren't working, the most confusing of which is I keep leaking …

Member Avatar for dancks
0
273
Member Avatar for android45
Member Avatar for mptheapple11
0
198
Member Avatar for MareoRaft

1. I see %f is for float, %@ is for string. Is %d for anything? Which % is for double? Which % is for BOOL? 2. What is the different between double and float? When I put float flow=-8.1234567890123456789; //4 bytes floating point double dobble=-8.1234567890123456789; //8 bytes floating point NSLog(@"flow …

Member Avatar for geojia
0
163
Member Avatar for MareoRaft
Member Avatar for MareoRaft

This code gives me the error message "warning: passing argument 1 of 'stringWithCString:encoding:' makes pointer from integer without a cast" #import <Cocoa/Cocoa.h> #import <Foundation/NSObject.h> #import <stdio.h> //#import <string.h> @interface Numbers : NSObject { NSString *name; int age; NSMutableArray *list; } //-(void) setName; -(void) setAge :(int)a; @end @implementation Numbers -(void) setName{ …

Member Avatar for Moschops
0
137
Member Avatar for MareoRaft

Hello, I have learned some basic Java, but now I want to learn Objective-C. Is there a tutorial or problem set of programs to make that I can follow to quickly learn the basics? Here is what I know how to do so far... #import <Foundation/Foundation.h> int main (int argc, …

Member Avatar for ChrisPadgham
0
198
Member Avatar for shredder2794

Hello all, I have a MKMapView that is having a very strange problem which is kind of hard to explain. I have an MKOverlay that is saved between sessions by saving the points of the overlay to a file and loading the overlay in viewDidLoad. So here's the problem: Steps …

0
175
Member Avatar for straylight

What I am trying to find out is how to securely send a username and password to an API. Basically I am accessing a restful API using a URL like "https://myapi.com/api/username=test&password=test123". If the username and password are correct the API will return a JSON page. How would I go about …

Member Avatar for joefazee
0
292
Member Avatar for antor

hi, i have sent you already text for objective c tutorial, but unfortunately i didn't get any reply from you. if you send me objective C tutorial i would grateful to you. Thanks Antor

Member Avatar for deceptikon
0
109

The End.