Can Swifter be used for a tvOS app? - swift

I am trying to access twitter data for a social media app for tvOS as a school project. I have come across Swifter (https://github.com/mattdonnelly/Swifter) and noted that it does only say it supports iOS and Mac. I was wondering if there is any workaround to use this in tvOS since they are all written in the same language?
(as you can tell I'm pretty new to this)

Looking at the issues in the repo it appears somebody is already working on adding tvOS support so hopefully that might be ready in time for you.
In fact, somebody may have already done it: https://github.com/kindoblue/Swifter

Related

Is there a way to run AudioKit on watchOS?

I am trying to use AudioKit for a WatchOS app I'm working on. I tried both building from git and using pods but neither has worked. I know on their website it shows support for only iOS, iPadOS, macOS, and tvOS but I wanted to know if there is a workaround for watchOS? I only need to use the Core components.
Last I checked on this, the necessary APIs in AVFoundation were simply not available, so we didn't bother to make a port to this platform.
Looking at the latest API documentation however, it looks like they may have filled in some of these gaps in later watchOS releases so it might be possible now - might be worth revisiting though there hasn't been a whole lot of demand for it.

How to integrate Like feature in iPhone SDK 3.1 with Facebook sharing app

I am new to iPhone development. I’ve added Facebook sharing functionality and I also want to add the Like feature from Facebook. I’ve followed one of the examples; it works if Facebook sharing functionality hasn’t been implemented, because some files create contradiction (specifically FBRequest.h). But I want to add both sets of functionality at the same time. Any suggestions?
If you are new then its not a issue. Everybody have same brain. So its not a big issue. Check
this link: http://www.raywenderlich.com/1626/how-to-post-to-a-users-wall-upload-photos-and-add-a-like-button-from-your-iphone-app
First of all understand it then implement it. I know you will surely implement this in Your
App. Best of luck.

Flash iOS applications

I am currently building an iOS application with flash CS5 and I would need some help with a couple of the features:
Is it possible to add in-app purchases? If yes, how does that work?
Is it possible to add iAd advertising to the app? If so, how? If not, is there any good alternative that works with flash?
How can I save data from within the app so it will be there eaten if the user restarts the app and even the device (like for a headboard and such)?
Any help is highly appreciated!!! :D
If it were a few months ago. Then answer would be an unequivocal no. However, presently, the answer is "perhaps" (or if you are an optimist, "probably"). With the release of Air 3.0, it now supports Native Extensions. These extensions are native code that have a wrapper API around them so that they can be compiled in with and called from an Air application.
In fact, I decided to look around real quick while researching for this answer and found a repo where it looks like somebody has implemented in-app purchases via a ANE. But I haven't tested this extension personally, but it may be a good starting point to see how it is implemented.
The reason you wont find too much information about ANE's yet is because they were only recently supported in the Air 3.0 update that happened last month. They are currently unsupported in Flash CS5 (or 5.5) or Flash Builder 4.5. They are supported in Flash Builder 4.6, which is currently in a closed beta. But you might be able to sneak in still, and it should be released soon.
The biggest "drawback" is that these extensions need to be developed in the native format for the device you are targeting. So that means, if you want to make an iOS extension, then you are writing it in Objective-C and xcode on a mac.
Pretty much the same answer as before. It should be possible with a ANE. But I haven't found any examples of anybody doing it yet.
It is very simple to save data/state to the device. You'll want to look into the SharedObject.getLocal() method if you want to the LSO. Or you can just use low-level File writing. Check out File.applicationStorageDirectory. For sensitive information that should be encrypted into into the EncryptedLocalStore class, which I believe is supported on iOS but not on Android.
All of these should provide a good way for you to persist data between application sessions.
With AIR 3 you can now use native extensions to call into the native platform code to achieve the functionality not provided by AIR Actionscript APIs. To answer your questions.
in app purchase. I have a sample at http://code.google.com/p/in-app-purchase-air-ios
iAd. I have a sample at http://code.google.com/p/iad-air-ios/
As others have already answered use local shared objects.

Help asked for iPhone and Android app

Im new to the development of apps and i've got some questions.
First let me tell you about the app i need to make.
As an intern at a company i need to develop an iPhone and Android app, they want me to create an app that is based on a existing CRM database.
I need to get data from the database and show it on the iPhone, this data should be edited and send back to the database.
The company itself does not has experience in the development of mobile apps.
EDIT:
The requirements i wrote above are the basic of the application, it will have alot more functionality implemented after the basic has been made. Something like an auto sync, either the database or phone will sync with each other once in a while. And when you are called on the phone it will also check the number in the database and if found the name is displayed instead of an unknow number. Just 2 things that should be implemented after the basic app
Is such a thing possible with an iPhone/Android?
As i have no experience with Objective-C, and little experience with java
Is it easy to learn, i have good knowledge of C#
What platform could you suggest for me?
As i need to develop for both iPhone and Android,
What is the quickest way of developing for both at the same time?
i've done research but as i do not have an mac at the moment i can't try stuff out for the iPhone.
Titanium Appcelerator is something i liked, and since this works for both iPhone and Android i think this might be a good option. But as i do not have any experience i want some good advice from those who have experience before i start programming.
tnx in advance,
~kamikze the rookie
You can also try PhoneGap.
You can use web services to connect to databases
As per your requirements, use Titanium Appcelarator, which will make you write your code in JavaScript, and will generate apps for both, iPhone and Android.
What you're wanting it to do is fairly simple and shouldn't introduce a lot of complexity before you.
Go ahead with Appcelerator, if you don't want to spend a lot of time learning Android SDK and Objectiv-C
It sure is possible to access/change databases.
If you have good C# knowledge then getting started with Java should not be an issue for you.
I think it should be quite easy to implement for Android, but I also have no experience in iOS development (don´t have a mac)

Core Data Spotlight Integration in iOS

I'm developping an ios (3.1.3) application to manage contacts, tasks, activities, etc. These models are managed by core data and it works very well. Now I want to make all these items searchable in the spotlight search bar in iOS.
Is that possible?
And if so, how to code it? I found the "Core Data Spotlight Integration Programming Guide" but it's not suitable for iOS and I don't find any document or tutorial related to what I want.
Any ideas, suggestions? or full solution! :D
Thanks in advance!
This will be possible from iOS 9 onwards.
Apple just released a CoreSpotlight framework at WWDC 2015, and with integration its possible to search contents within third party apps and much more.
Documentation
You cannot integrate your application with Spotlight in iOS for now, there's no API to do it.
You can file a radar and wish an new Spotlight API in iOS 5?
Global search spanning all apps was a core feature of PalmOS going way back to PalmOS version 2.0, if I recall correctly. Yet even today, Apple's iOS Spotlight Search still only supports the built in apps provided by Apple.
It is shameful that Apple hasn't opened this up to developers yet - it would make Spotlight so much more useful on the iPhone and iPad.
You can now do it with iOS9 Search.
https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS9.html#//apple_ref/doc/uid/TP40016198-SW3