UI controls not getting recognized in Swift Playgrounds - ios

I am trying to declare some UI controls in Swift playground but the playground is throwing a error as invalid object.
I think none of the UIKit elements are getting recognized. And I have tried creating a new project and adding the playground file but even this did not work out. The xcode version being used is 6.4.
I have already gone through these(links),
link1 and link2
but didn't really help me to solve this issue.
Can anyone help me out to solve the problem?
Thanks in advance :)

Related

Adding Custom Framework in to playground - swift 3.0

I am facing issues while importing my custom framework in to the playground. It always says 'No such module'. I have tried adding playground to workspace as well as to the project target but found no luck. In swift files it is working perfectly fine. I have even tried with cocoapods as well(other is manual approach).
I have gone through many post but none of the solution worked for me.
These are some of the links which I referred:
http://help.apple.com/xcode/mac/8.0/#/dev188e45167
Issues mentioned in this post and mine are similar but solution
didn't worked.
Anyone has any idea about this :/

Xcode not autocompleting Parse methods

I'm using a lot of parse method/blocks like the one below.
[self.currentUser.profileImage getDataInBackgroundWithBlock:(nullable PFDataResultBlock(nullable )block]
Xcode used to autocomplete these blocks. Is this something that was broken with the last xcode updates? Is anyone having this problem and how did you fix it?
Thanks for the help!

CCParticleSystemQuad crashing with error "Abnormal error in particle quad"

The code just crashes when an already running particle effect's setVisible property is changed to NO, and later turned to YES. I have been working with ParticleEffects for a while now but never have I faced this error before. I don't know where I am going wrong. Its so frustrating. Please any help would do wonders. Im using cocos2d 2.x, xCode5 and well ofcourse Ive generated my ParticleEffects through ParticleDesigner. Hoping someone will help me out here.Thanks though :)
I ran into this issue also and found that it was a cocos2d bug. The fix was added here https://github.com/cocos2d/cocos2d-x/pull/6032/files and you can copy the changes if you don't want to update. (Seems to have worked well for me anyways.)

QR De/Encoder SIGABRT error (switching between de/encoder)

hey guys i have to make an app for my school project which includes reading an creating of QR Codes...
No Problem so far. I started with making a tap bar application so that you can switch between the two settings.
I'm using the ZBarSDK to read the Codes and that works so far...
for creating the codes i am using the kuapay-iOS-QR-Code-Generator and that worke also...
but if i combine them in my app i get the SIGABRT error after switching between the views :/
i hope you can help me i uploaded the whole project, so that everybody can see the problem directly!
Link: http://www.mediafire.com/?01acxgitv27uj9n
I hope you can help me :)
I had the same problem, have you disabled the armv7s architecture in your build settings? Also, have you made sure to connect all your outlets to appropriately declared properties? I'm fairly new too, and I would have made this a comment instead of an answer, but it seems I don't have enough rep to do so/ can't find the link to comment.

Monotouch spotify binding

I'm trying to bind the spotify api to monotouch. But can't seem to get it working, and i think i'm a little in over my head ;).
What i tried:
I extracted the libspotify.a from the ios libspotify.framework.
I added the libspotify.a to my project.
I followed the explanations mentioned here: http://docs.xamarin.com/ios/advanced_topics/linking_native_libraries to create the binding and added the extra gcc_flags to the project.
Now it all compiles and linkes but when i run it i get the exception: system.dllnotfoundexception: __internal
I have no idea of what i'm doing wrong here. Any help or pointers would be appreciated.
Richard.
It should be __Internal, not __internal.

Resources