364 Topics
![]() | |
I am having trouble connecting my app to bluetooth low energy. I am trying to get the range and alerts for the app to the BLE. How do you write a value to a characteristic with a handle? | |
I am trying to send data from a UITableView into any type of database. I have 2 questions. 1: What type of database should I use (ex. MySQL, access)? 2: How will I transfer the database from a table view to the type of database I should use? PS: Please … | |
Hi ,i have a contact form made with xib file it works but i can't change the background color of the view programmatically i tryed with this but nothing, i know how to put an image background but i need to change the color on the fly how can i … | |
Hi, i want to change the colors of my app clicking a button so when i click this button there's this code -(void)changestyle{ change=true; [self init]; } it refresh the first controller and change the toolbar background color and the bg color of the buttons but i know it's incorrect, … | |
I'm working on this Objective c programming assignement I found online. I not sure what part C is asking me to do?. I have tried doing a,b and d. Any help or suggestion will be appreciated. Part 6 a) Implement class A with properties a1, a2, and a3 (int, string, … | |
I am learning objective-c my basic purpose if to development a msging client, please suggest me good site for lessons and help. Thanks. | |
I keep running this code and it works until I press the button, `findShapeCalc()`, and then I get EXC_BAD_INSTRUCTION in the main.swift at the line `NSApplicationMain(C_ARGC, C_ARGV)`. Why does this keep happening? Code in question: import Cocoa class ViewController: NSViewController { @IBOutlet var dropDown : NSPopUpButton @IBOutlet var length : … | |
Hi, i have a UITableview filled by an xml it works, but if i load the cell from xib file and set the height of the cell to 196 the rows don't fit the view and from the third cell they are invisible becouse there isn't scrolling how could i … | |
Hi in my app there is an image thumbnail for each table cell it works but when the image there isn't for that row i'd like to show a default image the image url is retrieved from an html string and put into an array could you help me to … | |
Hi All, I'm very new to Objective-C and I'm developing a "simple" app that just takes user input from a form. There are multiple forms; each is selected from a list, UITableView let's say. The forms have a lot of similar fields but some are different. My question is, do … | |
Hi All, I'm trying to setup a scroll for a UIView within a UIScrollView. My view hierarchy is: UIView (Controller) > UIScrollView > UIView (I'll call this subView from this point on) I have used the IB to set the layout. I set the top of the subView to be … | |
![]() | Hi guys, I'm hoping someone here can help. I am to develop an application for a project which keeps track of tennis scores. Having not been a tennis fan whatsoever during my life I am in need of some assistance developing the ontology (rules) for the apps logic. Can anyone … ![]() |
Hi All, I'm trying to connect to a mysql database using the MySQL Connector from Oracle. I'm hitting my first issue of linking the libraries and was hoping that someone could nudge me in the right direction. What I have done so far: Downloaded mysql-connector-c-6.1.3-osx10.7-x86_64.dmg from http://dev.mysql.com/downloads/connector/c/ In XCode, in … | |
Hi if i would make an app for manipulating images , something similar to a little photoshop for ios, are there any frameworks to use that could help me? what i have to study? or is it to write km of code from the ground up? thank you | |
i am working on a view controller that contains two picker views (`FromCur` ,`ToCur`). those picker views are filled by an xml parser . althoughthe `NSLog` in the Title for row function is not giving me a null answer , the picker views displays a question mark. i have been … | |
I have launched new project with storyboard and immediately delated .main, .h, .m files leaving behind Appdelegate h and m files. Then added .xib file and added table view. After running this app , table view was not getting displayed. Please help me to resolve this issue. # AppDelegate.h # … | |
By the way I have this declared in my .h file. Even if there is a string method for this I would like to know how I could do this. Here is my code. -(NSInteger) RetrieveAscCode:(NSString*) inchr{ NSString *chtable =@"0123456789.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; NSInteger scan; NSString *trim; trim = [inchr substringToIndex:1]; for(scan=0;scan<255;scan++){ if … | |
Hi., I have more than 10 products (Non-consuable with hosted content) in my ios app. I want to add an option purchase all items. Is there any possible ways to purchase all products in a single buy option (including downloads). Thanks | |
Hello, Am new here but I will appreciate if I can get an answer. I am to build a miniature automatic feedback for programming assignment system in PHP as a final year project. This system will take a programming assignment in C either through a web form or a text … | |
Hi All, I have this code in my tableView; - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { YFRFormViewController *formViewController = [[YFRFormViewController alloc] init]; NSArray *campaigns = [[YFRCampaigns currentCampaigns] allCampaigns]; YFRCampaignForm *selectedCampaign = campaigns[indexPath.row]; // Give formViewController a pointer to the item object in row formViewController.campaignForm = selectedCampaign; // Push it onto the … | |
Hey all, I am a aspiring programmer with experience in C based languages like Java, C++, C#, etc.. and now I have learned the essentials of objective-c in hopes to build a game. Along the way I researched some games engines like Cocos2d, Unity, and the new(er) SpriteKit. Cocos2s seems … | |
Hi everyone, I am new here and I hope all of you are doing well. I have spent the whole day searching around on the almighty Google for code that can help me with my problem. In the following code there may be quite a few n00b mistakes, and for … | |
Hi all, I've bought the book "Objective-C Programming - The Big Nerd Ranch Guide" and I'm running through the beginning chapters which just regard C. I'm doing this on my laptop running linux as I don't have a Mac (yet). I'm having trouble with this code: #import <stdio.h> #include <readline/readline.h> … | |
My project is on base SDK 10.6 built in Xcode 3 - it’s important that it is a universal binary that also works with PPC. In 10.9 my application has really jerky scrolling compared to Safari - if I add [self setWantsLayer:YES]; the scrolling is super fast like Safari, great! … | |
I am 11 years old and I love programming, I know: PHP (A little) , JavaScript , HTML , C , C++ and Java (Just started learning). I really wanna learn Objctive-C but I couldn't find good free tutorials. Can anyone please recommend me a Objective-C tutorial? Thank You! | |
Hi there! I am making a space invaders game for iphone with xcode. You can move the ship to the right or to the left when pressing the right or the left part of the window. The "enemies" appear randomly at the top of the window, but the problem is … | |
anybody can help me do it?.. The objective of this assignment is to refresh and enhance the skills of the students in problem solving involving functions, arrays, classes and others using the C++ programming language. Students MUST use the inheritance and polymorphism concepts in the OOP. Students are required to … | |
Hi., I'm using cordova2.9.0 in my ios app, from CDVReachability.m file, i tried to check internet status with url for my ipad simulator as well device. But it shows status wrongly [My network is connected through sonic firewall login]. Any help? CDVReachability *isReachable = [CDVReachability reachabilityWithAddress:@"http://www.google.com/"]; // CDVReachability *isReachable = … | |
I want to Retrieve data from Webservice into objective c and bind it to NSTableview. can you please help me out with a complete steps of code. | |
Hello.... I am trying to create my first iphone app and I have decided to make a compass. I am trying to make the compass face a specific gps coordinate rather than facing north. Does anyone know how this is done or have any resources that I can use? Thanks! | |
Hi, I have a table view controll whihc has 3 views. in one view I have a button. When the button is pressed another differnt view is loaded. This works fine, but when I go back and try to click the one of the main view the view from the … | |
Need help reading a csv to NSString and then to NSMutableArray. I need to output the name of a certain row base on car. file ex: car, bike, wheels toyota, mountainbike, rims .. .. .. | |
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 … | |
I am working on a school project to create a basic, educational game. I started with the amazing code written by cactusbin and revised by Gareth Ress found [Here](http://codereview.stackexchange.com/questions/15873/a-small-bejeweled-like-game-in-pygame/15895#15895) for the basics of a bejeweled style game. The game objective is to match letters of DNA to make correct pairs … | |
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 … | |
I am having a problem deleting nodes from my Binary search tree. What I have so far does part of what it is supposed to do. I read in an input (paragraph of text) to create the tree (organized via ASCII character values). I make it, then print out all … | |
There is a prison of health retarded patients in which each patient is allowed to move within the premises. Each of the patient wears a jacket which is embedded with a seven mobile devices wiz; accelerometer with positioning system to check the movement of the prisoner, heart rate calculator to … | |
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 … | |
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. | |
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 … | |
Sorry if this is the wrong place to post this. I am new to this site. Actually, I just joinned about 10 minutes ago. Anyway... 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 … | |
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 … | |
Hey all! I am in college doing a speech on programming and one of my topics is to explain the difference between Java, C, and Objective C. I have been programming with Java for 3 years now and just started with C last month, but I don't know the differences … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
hi every one ! i'm sorry to be so bothering but i really don't know how to solve my problem here: Mathematically, the placement problem of testers into the right nodes) can be modeled by merging the two introduced knapsack variants: multidimensional and multiple knapsack problems. The obtained model is … | |
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 … |
The End.