Sep 23

Update to the PinkelStar iOS Framework and UI

Posted at 4:22pm by vanelsas


We’ve just uploaded a new version of our PinkelStar iOS Server Framework and UI. The major change for this version is that we have implemented the PSPinkelStarServer class using the Singleton pattern. Our Android library already used that pattern, so we need to catch up on the iOS side ;-)

As a result of this, initializing the service will be faster and loading of the main UI can be delayed until the user is actually asking for it.

You need to change the way you integrate the PinkelStar service into your iOS app slightly. When your app launches add the following code snippet to your applicationDidFinishLaunching method

psServerSharedInstance = [PSPinkelStarServer sharedInstance];

As a result of this you can delay creating a PSMainViewController instance until the moment that the user has actually provided a share request (by pressing a PSShareButton).

Take a look at the demo app in our Github repository to see how this can be used. You can get the PinkelStar framework without demo here. Make sure to follow the instructions in the README.mdown to check out the correct branch.

As always, if you have any feedback send us an e-mail, or visit our support center.

Happy coding!

blog comments powered by Disqus