Connect Objective-C framework to Swift iOS 8 app (Parse framework)

After further research I found the solution and realized that I was just confused. The correct approach is as follows: Import your Objective C framework by dragging and dropping the framework into an Xcode 6 Swift project. Create a new Objective C file in your project (File->New->File [Objective C for iOS]). Accept the prompt (agree) … Read more

FBSDK Login Error Code: 308 in Objective-C

The solution below works for iOS9 + running on Xcode 8, for Swift3.0 The steps are Setup Facebook Launch FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions) Setup Open Url guard let source = options[UIApplicationOpenURLOptionsSourceApplicationKey] as? String else { return false } let annotation = options[UIApplicationOpenURLOptionsAnnotationKey] as? String return FBSDKApplicationDelegate.sharedInstance().application(application, open: url, sourceApplication: source, annotation: annotation) Fix Keychain permission issue … Read more

What does @NSManaged do?

Yes, it kinda really acts like @dynamic — technically it might be identical even. Semantically there is a slight difference: @dynamic says ‘compiler, don’t check if my properties are also implemented. There might be no code you can see but I guarantee it will work at runtime’ @NSManaged now says ‘compiler, don’t check those properties … Read more

How do you integrate the Parse Javascript API with Appcelerator and not use undocumented calls?

Maybe this part of a newer SDK, but can’t you just call: Parse.FacebookUtils.logIn({ “facebook”: { “id”: “user’s Facebook id number as a string”, “access_token”: “an authorized Facebook access token for the user”, “expiration_date”: “token expiration date of the format: yyyy-MM-dd’T’HH:mm:ss.SSS’Z'” }, { success : function(_user) {}, error : function(_user, error) {} } }; It’s not … Read more

facebook login issue – canOpenURL: failed for URL: “fbauth2:///” – error: “(null)”

I have the same warning, but in Facebook Docs there is an answer. This is an Xcode warning indicating the the canOpenURL: call returned false. As long as you have configured the LSApplicationQueriesSchemes entry in your plist as described above, you can ignore this warning https://developers.facebook.com/docs/ios/ios9

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)