How to do PngCrush for my images of iOS app? [duplicate] - ios

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
What is PngCrush in iOS?
I'm having a doubts about image optimisation technique of iOS apps Pngcrush
My doubt is,
Is pngcrush built-in to xcode or do we need to explicitly download pngcrush tool and optimise our images?
If we want to do it explicitly how can we achieve this?

This question may solve your problem: Skipping the 'CompressResources' build step for XCode iPhone apps
Another thing is there might chances that the PNGs are of type JPG's and the Extentation has been modified with png.

Related

Different AppDelegate and Storyboard files for different targets [duplicate]

This question already has answers here:
How do I manage building a Lite vs Paid version of an iPhone app?
(6 answers)
Closed 4 years ago.
I have an XCode Project(iOS App for only iPhones) and I want to use same codebase for publishing different application. I have to change icon, name and design for this second application. Therefore, I did not use Localization.
Also in codebase, I need some variables to hold different keywords for different targets.
Is there any way to do it or I have to clone same project and change this files after?
Thanks.
Take a look at this question.
StackOverFlow Question
You will have to convert the code to swift but this gives you the basics to get started.
One workspace, two app targets, one set of code files.
Alternatively, use a framework. In that case it might be one workspace and two complete Xcode projects plus the framework.

What does this symbol mean on Xcode [duplicate]

This question already has an answer here:
Xcode issue navigator : What two arrows blue icon mean?
(1 answer)
Closed 6 years ago.
Suddenly, I am seeing something very strange on my Xcode.
I realize that is a static analyzer to help me know where memory leaks can happen but I want to know now how to get rid of this and without changing my code. I mean., what configuration, I can change in xCode to remove that symbol as it wasn't there just minutes ago.
It means you have 72 "static analyzer warnings". The Xcode static analyzer parses your source code and tries to find things that you wouldn't want to happen at runtime (for example never releasing some object to reclaim its memory).
You can find a lot more about it here.

Swift: Does using Swift in An iOS project have to pack libswiftCore.dylib in the ipa file? [duplicate]

This question already has answers here:
IPA generated by swift is so big, about 5MB
(2 answers)
Closed 7 years ago.
I only add one Swift class in my iOS project, and after archive the ipa file, I see a 6MB file named libswiftCore.dylib under a folder named Frameworks, this will make my ipa file larger, is there any way to exclude this libswiftCore.dylib file?
Yes, at the moment there's no way to ship application that uses swift without that extra dylib.
The reason is that the internals of swift runtime/std library are not finalized yet and so to avoid backward compatibility problems between different versions the specific dynamic library version has to be shipped with every app that uses swift. That should be fixed some time in future.

how to get image from a source to view on my blackberry simulator [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Bundling images with Blackberry
hi i am doing blackberry application development for OS 5.0 using eclipse IDE but i cant find the code for getting a PNG image file from a source to be viewed on my blackberry simulator.
Paste an image on res folder on your project.
.
Then use Bitmap.getBitmapResource(..) to get the image.
Bitmap myImage = Bitmap.getBitmapResource("my_image.png");

How do I zip files programmatically in iOS? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Zip and UnZip a file programmatically in iphone?
I want to zip images and audio programmatically in my app.
How can I do that?
Try ZipKit. Put this as part of your build and then
#import <ZipKit/ZipKit.h>
After this you are good to go.

Resources