Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 1, 2011, 09:13 PM   #1
technopimp
macrumors 6502
 
Join Date: Aug 2009
Weird issue in XCode-method prototypes showing up but aren't anywhere in the code

I'm pretty new to Objective-C but not new to software development. I've been playing around with something lately and have run across a really strange issue. Basically, I needed to create a new method, let's call it "doSomethingInt)x". I had not yet created the prototype in the header file, but I went to add a call to it in the .m file first. What happened when I started typing [class doSomething:x] was the intellisense (or whatever it's called in XCode) started showing an existing method for "doSomething" with a different parameter type. However, this does not exist ANYWHERE in the code. I have searched through the entire solution, and it is no there. I did a clean, still happening. Even when I created a new prototype and method definition I could not call it because the code expected the other one.

I'm sure I'm being stupid about something, but short of recreating the entire project, does anyone have any clue as to what might be going on? Like I said, it does not exist in any files in my project, and it is not something that exists as a built-in Objective-C method (it's named something very specific and just to be safe I searched and it's not built-in). Thanks!
technopimp is offline   0 Reply With Quote
Old Aug 1, 2011, 09:23 PM   #2
chown33
macrumors 603
 
Join Date: Aug 2009
Post exactly what the doSomething method's name really is.

It could be that auto-completion is finding a similar method belonging to another class. That class could be in any framework. It may even conceivably be a private framework, or a private class or extension. It need not be something defined in one of your classes, nor in a public API.

You might also describe exactly how you searched for it, and then decided it wasn't built-in.

Oh, and the Xcode version might also be good to know.

Last edited by chown33; Aug 1, 2011 at 09:32 PM.
chown33 is offline   0 Reply With Quote
Old Aug 1, 2011, 09:41 PM   #3
technopimp
Thread Starter
macrumors 6502
 
Join Date: Aug 2009
I googled the method and searched Objective-C documentation and found nothing. I'd prefer not to give more information as it would be easy to figure out what I'm working on, and at this time I'd rather not share that.

Thank you anyway for your assistance. Sorry to be a bother.
technopimp is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Pictures aren't showing up when played on bluray player C00KiE Mac Basics and Help 2 May 18, 2014 02:42 PM
Apple's 'iWatch' Said to Run Full iOS, but Battery Life an Issue in Prototypes MacRumors MacRumors.com News Discussion 300 Mar 15, 2013 02:45 PM
Computers Showing In Finder That Aren't Mine crepotski OS X 10.8 Mountain Lion 3 Dec 19, 2012 06:17 PM
Downloaded visualizers aren't showing in iTunes > View > Visualizer DebatewiseDave Mac Applications and Mac App Store 0 Aug 24, 2012 05:17 PM
Turned off iMessages, now names aren't showing up jjk454ss iPhone 0 Jul 9, 2012 04:29 PM

Forum Jump

All times are GMT -5. The time now is 09:44 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC