Error Cannot Find Interface Declaration For Superclass Of
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack cannot find interface declaration for superclass objective c Overflow the company Business Learn more about hiring developers or posting ads with us
Cannot Find Interface Declaration For Uiviewcontroller Superclass Of
Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a
Cannot Find Interface Declaration For 'nsobject' Superclass Of
community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “Cannot find interface declaration error…” after @class up vote 12 down vote favorite I've run
Cannot Find Interface Declaration For Uicolor
into an Objective-C problem that doesn't seem to make any sense to me. I am a relatively well-versed ObjC programmer and understand the whole "forward declaration" concept, but this one has me scratching my head. So here's the deal: ClassA is a class in my Xcode project that is project-only. ClassB is a subclass of ClassA which is public and is imported into my framework's header. I am getting a "Cannot cannot find interface declaration for 'uiview' find interface declaration for 'ClassA', superclass of 'ClassB'..." error when building. I have already put the @class ClassA; forward declaration in ClassB.h, but that does not seem to solve the problem. When I change the @class ClassA; to #import ClassA.h, it works fine. However, since ClassA is project-only, dependent projects cannot build ClassB because it cannot access ClassA's source. Any help would be appreciated and I hope that makes sense. Thanks! objective-c xcode share|improve this question edited Aug 7 '10 at 19:46 BoltClock♦ 383k939341043 asked Aug 7 '10 at 19:42 Grimless 81311123 add a comment| 6 Answers 6 active oldest votes up vote 10 down vote accepted To subclass a class, the superclass's full declaration must be available to the compiler. @class just enables references to instances of said class -- allows for A *foo;. Subclassing requires more metadata (at least, it did under the legacy runtime -- I think it might be possible to support subclassing without the full super's @interface. Technically possible, but probably not useful.) share|improve this answer answered Aug 7 '10 at 19:47 bbum 146k22235334 Hmm, I figured as much. However, that makes me unsure what to do here. I suppose the only route I have left is to make the superclass public and s
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of cannot find interface declaration for nsdata this site About Us Learn more about Stack Overflow the company Business Learn cannot find interface declaration for 'uiimage' more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question cannot find interface declaration for nsstring x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up http://stackoverflow.com/questions/3431795/cannot-find-interface-declaration-error-after-class cannot find interface declaration for 'AbstractPickerView',superclass of 'AttackLayer' up vote 0 down vote favorite I have been scratching my head on this one for some time now and was hoping an extra pair of eyes would help: I am getting a "Cannot find interface declaration for 'AbstractPickerView', superclass of 'AttackLayer'. Trouble is i have imported all the necessary header files and the only http://stackoverflow.com/questions/10269246/cannot-find-interface-declaration-for-abstractpickerview-superclass-of-attack thing i can think of is the multiple level inheritance here are the interfaces: @interface AttackLayer : AbstractPickerView <<< this is the one which gets the error @interface AbstractPickerView: AbstractLayer
Search Forums Home » Mobile » Liferay Mobile SDK Recent Posts Statistics RSS (Opens New Window) Answer (Unmark) Mark as an Answer Threads [ Previous | Next ] cannot find interface declaration for https://web.liferay.com/community/forums/-/message_boards/view_message/61013464 'NSObject', superclass of 'LRSession' Imtiyaz Devda October 9, 2015 3:01 AM RE: cannot find interface declaration for 'NSObject', superclass of 'LRSess Bruno Farache October 9, 2015 5:48 AM RE: cannot find http://forums.macrumors.com/threads/cant-find-interface-declaration.1718992/ interface declaration for 'NSObject', superclass of 'LRSess Imtiyaz Devda October 9, 2015 6:22 AM RE: cannot find interface declaration for 'NSObject', superclass of 'LRSess Bruno Farache October 15, 2015 7:28 AM cannot find RE: cannot find interface declaration for 'NSObject', superclass of 'LRSess Imtiyaz Devda October 15, 2015 9:43 PM cannot find interface declaration for 'NSObject', superclass of 'LRSession' October 9, 2015 3:01 AM Answer Imtiyaz Devda Rank: New Member Posts: 3 Join Date: May 14, 2014 Recent Posts Hi,I am liferay portal developer but I am new to mobile sdk.I have started developing ios app cannot find interface using "Liferay-iOS-SDK", "6.2.0.17". I am using xcode-6.4Also i have run pod install command for installing Liferay-iOS-SDK dependency to install.Which run successfully and dependency added successfully.But when i tried to simply build the application in xcode it shows 18 error in liferay's dependency classes.I have research on other site where i found solution like :Just modify the header file, add this line on top of the file#import
10 iPad Air 2 iPad mini 4 (2015) iPad Pro iPhone 6s iPhone 7 iPhone 8 (2017) iPhone SE iPod nano iPod shuffle iPod touch Mac mini Mac Pro MacBook Air MacBook Pro macOS Sierra Retina MacBook Thunderbolt Display tvOS 10 watchOS 3 Buyer's Guide Forums Forums Front Page Roundups Buyer's Guide Forums Roundups OS X Yosemite MacBook Air iOS 8 Apple Watch Log in Sign up Recent Posts Spy Support Support Quick Links General FAQ MacRumors Theme FAQ Contact Us Lost Password Menu Search titles only Posted by Member: Separate names with a comma. Newer Than: Search this thread only Search this forum only Display results as threads More... Useful Searches Recent Posts Options Please select a forum to jump to News and Article Discussion MacRumors.com News Discussion Mac Blog Discussion iOS Blog Discussion iPhone, iPad, and iPod Touch iOS iOS 9 (Beta) iOS 8 iOS 7 Older iOS Versions iOS 6 iOS 5 and earlier iPhone iPhone iPhone Tips, Help and Troubleshooting iPhone Accessories iPhone Launch Meetups iPad iPad iPad Tips, Help and Troubleshooting iPad Accessories iOS Apps iPod touch iOS Programming iPod Jailbreaks and iOS Hacks Alternatives to iOS and iOS Devices Apple Watch Apple Watch Apple Watch Accessories Apple Watch Apps Macs OS X OS X OS X El Capitan (10.11, Beta) OS X Yosemite (10.10) OS X Mavericks (10.9) Older OS X Versions OS X Mountain Lion (10.8) Mac OS X Lion (10.7) Desktops iMac Mac Pro Mac mini Notebooks MacBook MacBook Pro MacBook Air Mac Basics and Help Mac Programming Buying Tips and Advice PowerPC Macs Mac Accessories Windows, Linux & Others on the Mac Mac Apps and Mac App Store Mac OS X Server, Xserve, and Networking Apple TV Apple TV and Home Theater Apple TV Apps tvOS Programming Apple and Apple Services Apple, Inc and Tech Industry Apple Music, Apple Pay, iCloud, Apple Services Special Interests Design and Graphics Digital Audio Digital Photography Digital Video Apple Collectors Web Design and Development Distributed Computing Console Games Mac and PC Games UI Customization Mac Community Community Discussion Picture Gallery Current Events Site and Forum Feedback Politics, Religion, Social Issues Archive Wasteland Archives of Old Posts MacRumors News Discussion (archive) iPod touch H