Andrew Bancroft 1/8/2016

Swift Framework Woes – Unresolved Identifier? No Member?

Read Original

This article addresses common Swift framework development issues, specifically 'unresolved identifier' and 'no member' errors when importing a framework into an app. The author shares a personal experience of forgetting to mark types and functions as 'public' for external module access. It provides a key takeaway that all API elements intended for use by other modules must be declared public, otherwise the compiler will throw errors. The article is a brief technical tip for iOS/macOS developers working with Swift frameworks.

Swift Framework Woes – Unresolved Identifier? No Member?

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet