Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of undeclared type 'SwiftIconButton' #40

Closed
clbemre opened this issue Apr 5, 2017 · 2 comments
Closed

Use of undeclared type 'SwiftIconButton' #40

clbemre opened this issue Apr 5, 2017 · 2 comments
Labels

Comments

@clbemre
Copy link

clbemre commented Apr 5, 2017

'weak' may only be applied to class and class-bound protocol types, not '<>'

help me please .

@segecey
Copy link
Owner

segecey commented Apr 10, 2017

Can I see your codes and podfile ?

@clbemre
Copy link
Author

clbemre commented Apr 10, 2017

platform :ios, '9.0'

target 'MyApp' do

use_frameworks!
pod 'SideMenu'
pod 'Alamofire', '~> 4.0'
pod 'SwiftyJSON'
pod 'SwiftIconFont'
pod 'MaterialKit', :git => 'https://github.com/faresbh/MaterialKit', :branch => "swift3"

target 'MyApp' do
inherit! :search_paths
# Pods for testing
end

target 'Myapp' do
inherit! :search_paths
# Pods for testing
end

end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end

Label içinde kullanınca problem yok iconları gösterebiliyorum, ancak direk component olarak kullandığım zaman (button vs) aynı hatayı veriyor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants