So i'm using touch JSON which worked out pretty well for me. I was able to take an array, put it in a dictionary, serialize it via touchJSON and send it out via http.
now on the return end, i received the data, and put it into a dictionary (i'm using trends.json from twitter as an example JSON).
now if i try to get the value for tren...
I have a cocoa application. With two NIB/XIB files, one of them is the main (first) window that opens. The second NIB/XIB has some extra windows there.
How do I, for example, in objective c link one NIB button to another?
I know this is a very simple question, but I just can't find the answer.
...
i have in my project a mainpage interited from uiviewcontroller. and any subpage is inherited from a subviewcontroller, that is an inherited uiviewcontroller, just with some overwritten behaviours and some new functions.
problem in that case is, that the class-model generated by xcode does not display that one inheritation between uivie...
Is there any other solutions to create desktop application for Mac with C#?
...
Hi everyone
I'm trying to put 2 TableViews on a single UIView. I've implemented the methods needed. I've tested the apps with breakpoints and the project fails at this method.
I have 2 tableviews : radios_tv and presets_tv
Two arrays from the delegate from which count is obtained: array_radios and array_presets
array_radios contains 10...
Heey,
I'm writing some data to a plist file but it fails on the device but not in the simulator. Im kinda lost, dont know where to look for a solution.
This is my code:
NSMutableDictionary *dict = [[NSMutableDictionary alloc] init];
[dict setObject:nameField.text forKey:@"name"];
[dict setObject:emailField.text forKey:@"email"];
BOOL ...
Heey,
I can localize my iPhone app with the systems local by localizing the nib files and adding a Localizable.strings file to my project.
Is there a way to set the language to a application specific language and then load the correct stings/files?
(The idea comes from an Canadian, he wants his device in english, but some apps in fre...
Hi there
Im using Xcode and c++
I have copied the HoughCircles code from the OpenCV documentation:
#include <cv.h>
#include <highgui.h>
#include <math.h>
using namespace cv;
int main(int argc, char** argv)
{
Mat img, gray;
if( argc != 2 && !(img=imread(argv[1], 1)).data)
return -1;
cvtColor(img, gray, CV_BGR2GRAY...
I have numerous Plist files that contains dictionaries in a project and I find that they reliably forget the data type of various entries and default to NSString.
For example, I might have a PLIST containing a dictionary with several keys set to a type of NSNumber, and after closing and reopening Xcode they all get defaulted to NSString...
Hi Guys,
does anyone has an idea why I can't use my phone for development after jailbreaking 4.0.1? I think I know why :) ... cause of the jailbreak but do you know how to enable the dev on it again without having to downgrade to 3.1.3? ... I need jb. because I've changed my provider ...
That's what my Organizer says:
The version of i...
i wanted to implement an optional protocol for my subviews.
the subview-class is inherited by uiviewcontroller and the most viewcontrollers are inherited by this subview. i think it is a simple structure.
the problem is: it only works in the simulator. on a device just the first nslog appears, then the application closes. on the simulat...
Hello
I need some help/hints on how to control the ipad's volume, how to control the bass and treble in xcode for an iphone app.
Thanks
...
Hi,
I have view 'A' which has a number of textfields. Pressing a button on view 'A' brings up view 'B' (with a picker to select multiple data). On close, view 'B' disappears and viola, the textfields are populated.
This should be straight forward solution but I can't seem to get my head around the problem - how do you reference the tex...
So I'm trying to make the horrible leap from VB.NET to objective-C.
My only curly-brace experience is a little ActionScript 3... I'm having a hard time grasping the use of the * character.
Question 1:
The tutorial I'm using has these two lines next to each other..
IBOutlet UIPickerView *pickerView;
NSArray* myArray;
It's my unders...
So I plugged in an iPhone, and pressed the big Use Device For Development button, and now want to disable that, as I no longer need it, and the Developer item in Settings.app is annoying. How do I stop using it for development?
Thanks,
jrtc27
...
I have an iphone app that consumes a web service. i have a dev version and a prod version of that web service. i use the dev version when the active configuration is set to debug and i use the production one when the app is set to distribution. is there a way to know the active configuration value in order to use the proper url of my web...
Hi,
I switched to xcode 3.2.3 last week and curiously I cannot display variable values in hexadecimal during the debug process.
When I open Run > Variable views then all options remain gray except the first two ones (Use data Formatters / Show Type Column).
Did someone notice this? Why such a change?
Franz
...
Hi, my app has a menu with an assortment of buttons at the bottom, each button inserts a new subview from one of my xibs, underneath the menu. The views have an order they are supposed to go in(think powerpoint presentation) though the user can touch a certain button to go to any of them.
There are also next and previous buttons.
I am...
I'm starting Macintosh development and I'm in a Microsoft shop where we're using Team Foundation Server.
I've learned that there's no explicit/official TFS client for any non-Windows platform, and that the best option is to use Team Explorer Everywhere, formerly Teamprise (Microsoft bought them and rebranded it) and either the command-l...
Hi,
I am using Core Data to develop an application, and I have used a NSPredicate to 'query' an entity which returns an NSArray of results, as is standard.
The NSArray contains objects of 'EntityA' which itself contains attributes 'AttributeA' and 'AttributeB'.
My question is, how can I extract information from this array?
Furthermor...