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 tags [ios] and [osx] for issues specific to those platforms.

learn more… | top users | synonyms (1)

0
votes
0answers
8 views

Object oriented code reuse in iOS and objective-c

I have a viewController in my iOS class and in viewDidLoad, I create a gradient with CAGradient and add it to the layer of my view. I want this to appear in other views too, so what's the best way to ...
0
votes
1answer
5 views

Xcode 4.6.3 Storyboard Class and Subclass Reference

I this this following stuff: And I have create a new Objective-C category And after all on Identify inspector I have defined the Custom Class as MyScrollView And when app start on iOS ...
0
votes
0answers
17 views

Search for an object inside NSMutableArray by comparing with search string

I've a Person object which has NSString properties firstname, lastname, birthday, and an NSMutableDictionary of different phone numbers of that person. I've added different person objects to an ...
0
votes
0answers
14 views

NSString: find range of word at index

I have try'd some algorithms but no luck solving this problem. Lets have a further explanation of the behaviour with an example we have a string: @"example example" So if i call ...
0
votes
0answers
10 views

Landscape mode UI in storyboard

For my iPad application, I am using storyboard and want my UI to adjust both in portrait and landscape modes properly. My UI go for a toss in landscape mode. Is there any way we can fix this from ...
0
votes
0answers
6 views

Adding segue to a split view controller

my app has a a home screen (mainly a view with buttons on it). when a user presses one of the buttons, the view should segue to another view. it happens that one of the views that i want to segue to ...
0
votes
1answer
22 views

Attributes: @property for Java

Is there an @property attribute in Java like there is in Objective-C? If there were, could I name the object, then access it's properties through objectName.propertyName? Thanks.
0
votes
0answers
15 views

How would I store a list of JSON data in a dictionary or NSArray to plot markers?

Okay so I was successfully able to plot a marker on the map using JSON data; however, I was only able to plot one coordinate from the entire list. As you can see what I selected from my dictionary I ...
0
votes
0answers
4 views

Unable to create archive with PonyDebugger

It is possible to create AdHoc archive with PonyDebugger? On the device and simulator my project with PonyDebugger works fine, but when I create the archive got an error ...
-4
votes
1answer
25 views

Error in IOS App - Expected Identifier

I am getting an error in Xcode when adding some labelLoading code in the .m file. Hoping someone can help me out and point out the error in the code. Don't beat me up too bad as I am learning. I ...
-1
votes
2answers
59 views

ios7 all searchviews and tableviews off by 20 pixels

EDIT: ~!{DISCLAIMER}!~ This is not an issue with the frame. The frame is in the correct spot. It is the content that is off. Yes, we are compensating for clear status bar. ViewDidLoad shows content ...
-1
votes
0answers
8 views

Change scale UIImageView after rotation UIImageView

With the use of new scale to my picture, I then apply a rotation, then scale image is getting old scale -(void)rotate:(UIRotationGestureRecognizer *)rotationRecognizer{ double rotation; ...
0
votes
0answers
8 views

Using CGAffineTransformMakeScale to rubber-band in a view causing problems with final layout

I have applied a CGAffineTransformMakeScale animation to a view, but the subviews of the view are aligning themselves incorrectly now, as a result. Removing the MakeScale animation makes it appear ...
0
votes
1answer
8 views

Issues using touchesBegins

I have a button. I want to change the image on initial touch. If the touch is less then 1 seconds, I want it to do X. If the touch is longer then 1 second, I want it to do Y. I'm having trouble ...
0
votes
1answer
10 views

'NSInvalidArgumentException', reason: '-[__NSArrayM identifier]: unrecognized selector sent to instance 0x9f996a0'

The above error happens in this line: _nextRegionsArray=[[NSMutableArray alloc] init]; [_nextRegionsArray addObject:_geofences_ending_regions[_positionOfRoute]]; where _nextRegionsArray is ...

15 30 50 per page