I am trying to use zwoptex for animation reasons for cocos2d so I decided to follow this tutorial, but i can't figure out how to use zwoptex. I want to export to plist but no such tab is found. Any help? It clearly says in the Ray Wenderlich tutorials that there is a export tab, but I do not see it.
check File->Publish settings. There you can setup what you want, then press Publish, when you want to create atlas and .plist with description of frames
I had the same problem. Then I decided to pay for it ( $15 ). There still is no export section, but when I choose sprites -> export it DOES now export the plist file and the sprite sheet correctly. So the solution seems to be that you need to pay for it!
Related
So I was thinking of making a tweak for my iOS device and I wanted to make a settings patcher that had a few options for the user to choose from.
Example: Changing the color of the screen flash. If I wanted to have a range of colors for the user to choose how would I make the tweak.xm look?
%hook SBScreenFlash
- (void)flashColor:(id) {
//What would go here so that multiple options would show?
}
%end
If you want to make preferences for your tweak, you should think about making a PreferenceBundle using Theos (it's one of the built-in templates).
You can find documentation about it on iphonedevwiki. The PreferenceBundle will then write the user's settings to a file named com.yourname.yourprefbundle.plist located in /var/mobile/Library/Preferences/
Your tweak will have to read in this plist and do something accordingly
I am new to iPhone,
I want to draw Pie chart in my iPhone app,
After lot of searching i found this Tutorial...
when i download this code and try to run i am getting CorePlot-CocoaTouch.h file not found
you can see in my snapshot CorePlot-CocoaTouch.h file is present still it is showing error.
Any help will be appreciated.
Check the header search path in your app project. Make sure it points to the right directory and is set to "recursive". There is more information on the Core Plot wiki.
try this link , use BNPieChart to draw chart
Call this method to view example.
[BNPieChart pieChartSampleWithFrame:frame]
Download this project and use this but they are using ARC for that. Hope it will help you!
there you will find Pie Chart ,Line Chart,Bar Chart Etc.
So I'm pretty new to programming, so I downloaded Xcode 4.2 and got to work. I watched many online tutorials and the main problem I was having was that all the tutorials were for Xcode 4 and not 4.2, meaning when you chose empty application setting, it was missing the .xib file. So I found a tutorial on how to create a .xib file. I got through it all except for one step, and that was to drag the from the window outlet of the xAppdelegate to the window. I've tried this over and over, but it doesn't work.
Here is the tutorial if anyone needs to see it http://www.trappers.tk/site/2011/06/16/mainwindow-xib/
Please someone help me!
You need to hold Ctrl while dragging, else it will not work.
Guide.
As you Control-drag from an object to your source code, Interface Builder indicates where a new binding is valid. After you’ve made the connection, Xcode displays a dialog you use to configure the binding. You can use the dialog to configure all aspects of the binding.
Interface Builder uses the Xcode index to determine which key paths are valid, and can also discover what controller it should connect through—you can therefore connect from a user interface element such as a table column to a property in a model class header.
Check out the video here.
You should choose a SingleViewBased Application instead of Empty Application then study all files that how they connect with each other. You can choose Master Application also. They will help you.
see this Hello world Tutorial click me.
And Youtube is the best way to learning for beginners. Search tutorial video because action teach more than the text.
Is there a library or good tutorial which covers creating in-app settings, like this:
http://img.skitch.com/20090625-s8bf6ahybwe3cesd1id38h3nt.jpg
What I would like is if it:
doesn't use the built-in Settings app, and does not replicate it's settings in the Settings app
is controlled by a plist file with various Dictionaries and Arrays
creates a nice looking table view
allows edit-in-place text fields as well as switches and sliders and ticks etc
doesn't have any of the annoying problems I've come across when trying to build my own version (not scrolling to show the textfield, cells disappearing)
JUST TO EMPHASIZE: I DO NOT WANT THE SETTINGS TO APPEAR IN THE SETTINGS APP.
It would appear that the iphone dev world is crying out for such a thing.
THANK YOU!
InAppSettingsKit
I've used the open source project InAppSettings, and it works well.
i am making an app for iphone and for that i am using certain free libraries.My problem is that i want to show their complete license of nearly 4-5 pages in my application bundle so that a user can open settings in iphone and see that licensing page at one time but i am unable to do it.I have read these Specifiers for making an application bundle .
PSGroupSpecifier
PSTitleValueSpecifier
PSTextFieldSpecifier
PSSliderSpecifier
PSToggleSwitchSpecifier
PSMultiValueSpecifier
PSChildPaneSpecifier
but i want to show a page full of text like Settings->General->About->Leagl
just like in iphone through PSChildPaneSpecifier .Please help me how to do this>???
Thanks
You can create the same effect as used by Apple's iWorks apps for the license > section of the settings, without using any custom preference controller. Note this works for iOS 5 on the iPad, I have not tried it elsewhere. Use a PSChildPaneSpecifier for the initial control in the root plist. This points to the name of another plist file which will be the displayed child pane. You do not add .plist to the name within the root.plist file, it is implied. This plist file must be within the settings bundle. Next, use PSGroupSpecifiers in the child pane as the controls. For each paragraph use another PSGroupSpecifier - so the thing will scroll. Only use the Title section of the PSGroupSpecifier. The next gotcha that I found, was that by putting the strings in the plist file, the text was clipped in portrait orientation, so a placeholder string needs to go in the plist file and a StringTable used to point to a strings file. Text read from the strings file is properly kerned and displays without clipping.
The iPhone's "Legal" page is a custom preference controller which you can't use (not even with undocumented methods – you need to write a preference bundle in system locations which AppStore apps can't reach at all).
If you'd like to display the license, show it in the app.
I think you are going to need to use something like a UITextView, just make it non-editable. You can make in unobtrusive in your app but I think that is the only way to have 4-5 pages.
I don't think there is a nice way of displaying this in the preferences bundle. Personally I would either provide a series of url links or bring the preferences into the app itself. There is a good framework on github here that you may be able to modify.