Tagged Questions
This tag should be used only on questions that are about Objective-C features or depend on code in the language. The tags "cocoa" and "cocoa-touch" should be used to ask about Apple's frameworks or classes. Use the related "ios" and "osx" for issues specific to those platforms.
0
votes
0answers
3 views
Mind stuck with importing json to coredata model
so i have response from server in json which looks like this:
Data:{
message = "";
result = {
followers = (
{
avatar = ...
-1
votes
0answers
8 views
Establishing a bluetooth connection from my ios app to bluetooth devices
i am currently working on an iOS app that should be able to scan, pair, connect and send signals to other listening devices via bluetooth to perform a specific task. But i don't know how to go about ...
0
votes
0answers
32 views
UIViewController in a UITabBarController without tab bar item
So i have this application where i have a view controller (which i want to appear first when the app starts) and a tab bar controller. I also have other navigation bar controllers that are in the tab ...
1
vote
3answers
13 views
Objective-C >> Capturing an Object Address in Memory
How do I capture the address of an object at a certain point in my code?
for example:
NSString * aString = @"bla bla";
//what is the current address of aString. i.e to which address in memory does it ...
0
votes
0answers
15 views
Passing a VC to Another VC in Segue, as Another VC's UIbutton Try to Add It as Target, Gone Wrong
In a custom segue of mine I've assigned VC_A (self.sourceViewController) as a property of VC_B (self.destinationViewController).
VC_B.Property = (VC_AClass*) self.sourceViewController;
In VC_B I've ...
0
votes
1answer
16 views
Filtering an nsdictionary within a dictionary with particular text
I am getting a webservice repsonse that is an array of dictionary.Each dictionary has objects whose values itself is another dictionary.I need to implement the search within this response,like if i ...
0
votes
0answers
10 views
NURL Bad URL error when using stringByAddingPercentEscapesUsingEncoding
I concatenated two strings and sent it to the connection method and I'm now getting the error:
Error Domain=NSURLErrorDomain Code=-1000 "bad URL" UserInfo=0x1d51f7d0 {NSUnderlyingError=0x1e547980 ...
1
vote
1answer
14 views
initWithDelegate issues - Blackraccoon
I am using a package called BlackRaccoon to upload files to an FTP server. I'm really struggling with a really basic delegation concept that I just cant figure out.
In my uploading class .m file, I ...
0
votes
0answers
13 views
How can I editing the excel file on browser with object-c
Now I want to create the application that can edit the browser excel file.
e.g.,I want to attach the image file on the selected cell of the browser excel file.
I want this not only om MAC browser but ...
0
votes
2answers
17 views
When do variables' values get defined?
NSString *string1 = @"string one";
NSString *string2 = @"string two";
NSString *string3 = [string1 stringByAppendingString:string2 ];
For the current version of Xcode, with the above ...
0
votes
3answers
25 views
Stuck with getting the program to move on after getting the value from NSArray
Im very new to Objective c and im slowly learning by using google etc when i get stuck but ive been stuck for hours and hours with this.
Im making a basic quiz where the answers are numbers.
i have 2 ...
-3
votes
2answers
37 views
Get the Week Number in iOS SDK
I want to get the Week number of the year from the date.I tried the code as follow but gives me a wrong week number.
My code:
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
...
0
votes
2answers
43 views
Difference between a property and a global variable [objective c]
I'm wondering what the difference between a class's public global variable and a class's property is (Objective-C primarily iOS programming). Only thing I notice is that you have to use pointer ...
4
votes
0answers
21 views
What happens to the views added via interface builder when memory warning is low?
When we get low memory warning, we release all the views, set outlets to nil, and recreate them all over again.
but for views added in the interface builder, they are only added when we ...
2
votes
1answer
23 views
Incompatible integer to pointer conversion
i am checking if the directory exist but i get a warning
Incompatible integer to pointer conversion sending 'BOOL' (aka 'signed
char') to parameter of type 'BOOL *' (aka 'signed char *')
...