IPAD must-haves. And fun-to-haves.

Brighten your iPad with a colorful cover, stream to your TV, download pictures from your digital camera, and more. There’s already so much you can do with iPad and iPad mini

Apple Wireless Keyboard

The incredibly thin Apple Wireless Keyboard uses Bluetooth technology, which makes it compatible with iPad

Apple unveils iPad mini: ‘Thin as a pencil, light as paper’

iPad inspires creativity and hands-on learning with features you won’t find in any other educational tool

Lightning connector and FaceTime HD camera

Apple announces 4th generation iPad packing an A6X CPU

Pages

Showing posts with label inside. Show all posts
Showing posts with label inside. Show all posts

Sunday, June 9, 2013

Why is pokerstars allowed to ask for credit card inside the app ?

I'm pretty sure that such thing is banned from the Apple Store.

It is possible to buy credits for PokerStars inside their Apple APP without using the AppStore.

 

Apps cannot have their own built-in way to charge people for their services.

Apps should only use AppStore to sell stuff with their apps.

 

Am I wrong ?

I sense something wrong here.

 

Looks like they are avoiding the 30% fee that should go to Apple.


View the original article here

Friday, April 12, 2013

Can you run an XPC service inside a plugin? (e.g. a Print Dialog Extension plugin)

I am creating a Print Dialog Extension (PDE) plugin. This plugin is called and displayed when a user Prints from different apps, e.g. TextEdit, Preview, Xcode, etc. Note that the plugin runs on top of the app that called the Print Plugin (for example, TextEdit).

Inside the plugin, I need to run an XPC service. I need an XPC service since the entitlements on the main app might not be sufficient for my needs, e.g. I need to connect to the network, and TextEdit does not have the required entitlements for network connection.

The problem is, I can't create an XPC connection. The handler always fire with XPC_ERROR_CONNECTION_INVALID.

1.) Is this because the PDE Plugin is not inside the main bundle/main app, e.g. Text Edit?
2.) If yes, how can I still run an XPC service within a PDE Plugin?
3.) If no, then why can't I successfully create an XPC connection?


View the original article here

Thursday, April 11, 2013

Can you run an XPC service inside a plugin? (e.g. a Print Dialog Extension plugin)

I am creating a Print Dialog Extension (PDE) plugin. This plugin is called and displayed when a user Prints from different apps, e.g. TextEdit, Preview, Xcode, etc. Note that the plugin runs on top of the app that called the Print Plugin (for example, TextEdit).

Inside the plugin, I need to run an XPC service. I need an XPC service since the entitlements on the main app might not be sufficient for my needs, e.g. I need to connect to the network, and TextEdit does not have the required entitlements for network connection.

The problem is, I can't create an XPC connection. The handler always fire with XPC_ERROR_CONNECTION_INVALID.

1.) Is this because the PDE Plugin is not inside the main bundle/main app, e.g. Text Edit?
2.) If yes, how can I still run an XPC service within a PDE Plugin?
3.) If no, then why can't I successfully create an XPC connection?


View the original article here

Wednesday, January 23, 2013

Can I embed a full shell script inside an applescript?

I have a friend who is running Tiger on a PPC Mac and wants to download a large number of files from the web. Unfortunately, this friend is barely able to do basic web browsing with Safari or Firefox.

 

I thought of just sending him a shell script with a lot of curl commands, but I don't suppose making it executable on my Mac would make it executable on his. I would like to be able to send him an Applescript that he could just run by clicking on it, but it would be awkward to make each curl command a separete shell script within the applescript..

 

Is there a way of directly including in an applescript a multi-line shell script as a single entity that invokes only one shell? I know I can do it by putting the shell script in a separate file and have the applescript give it the necessary permissions, but then I'd have to explain to my friend where to put the shell script!


View the original article here

Re: Can I embed a full shell script inside an applescript?

The path to resource command has an optional in directory parameter that can be used to get resources in subdirectories such as the Scripts folder - see the StandardAdditions scripting dictionary.


View the original article here

Thursday, January 17, 2013

Read email/update text field inside app

Is it possible to read the content of lets say the last email in a specific email inbox? I´m developing an app for a company and I would like for anyone to be able to send an email to a specific adress, and then the content of that email would be visible in a text field inside the app. But for that to work the app will have to be able to have access to a specific email. I bet there are other ways of updating a textfield inside an app but this would make it so easy for everyone to be able to update this news feed.

Thanks!


View the original article here

Friday, January 4, 2013

Re: functions inside switch cases

Sounds like a namespace collision. Rename the function.


View the original article here

Re: functions inside switch cases

Sounds like a namespace collision. Rename the function.


View the original article here

Thursday, January 3, 2013

Re: functions inside switch cases

Sorry, I do not clearify, this is C++.


View the original article here

Wednesday, January 2, 2013

functions inside switch cases


Why is it having a problem running my function?


The function is implemented correctly.


Origanaly I had the funcion return an 'int' but then changed it to return 'void' and it still gave me the same error.




View the original article here

Re: functions inside switch cases

please, expound. I cant find an example how to implement a function, all of the examples have the following:

 

...

case Play:{

     //do something

     break;

}

...


View the original article here