In my case, I added a UITextField in the storyboard and I tried to apply some properties through the property window. I enabled the Secure Text Entry property in the property window and I changed the text using the text property in the property window. When changing the text through text property, the UITextField in the storyboard doesn't display the password text rather it displayed the text which I typed in the text property. Can anyone please tell why it is not displaying the password character even though when the Secure Text Entry is enabled in the property window. For the reference, I have attached a video describing the issue which I have faced when adding control through a storyboard. Please download the video using the below link and provide me a better solution for the query.
Video Link: Demo Video
I tested this on XCode as well. This is a bug in VS for Mac's "iOS Designer".
When you run your app though, the text field will show secure characters, so you won't have to worry.
Alternatively, you can just right click on the Storyboard and Open with the native XCode Interface Builder instead, and edit the storyboard therein.
You should file a bug to VS for Mac for this!
The icon I am looking for is pretty unique, so I think I'm going to have to create my own. (I'm looking for an icon of a closed door) I found a PNG file similar to what I need, but I need to figure out a way to integrate it with the material ui font icon.
Is there a way to create the js file for it, similar to the ones that exist? Like this one: https://github.com/callemall/material-ui/blob/master/src/svg-icons/action/accessibility.js
I don't know where the "path" comes from, does anyone know?
Thanks in advance!
Those were created using design tools specifically created for this purpose. Creating path based SVG Icons will take a bit more time if you're unexperienced in the field, however it is most likely you can create your own with some free online tools and a bit of patience.
Once you did (the data doesn't necessarily have to be in path format for the SVG, you can create any valid SVG using the available syntax and attributes which you can find info about right here), you can simply replicate one of those JS files and import / export them wherever applicable and use it in a similar fashion as you would any Material UI one.
Such an online tool could be this one for creating what you need:
http://editor.method.ac/
I am newbie in Powerpoint and have a very weird problem. Is it possible somehow to add my own shape styles to Quick Styles? If I choose one of presets and then change something (color fill for example) this style is not anymore linked to quick style. And I can't find how to add on my own. And delete all that I don't need.
Any thoughts how to achieve that? I want to create my own shape styles. And link them all over the presentation in order to change quickly color schemes of all elements in presentation. I want to change one linked style to automatic apply to all shapes. Is it possible somehow?
Thanks,
Peter
We are building a PowerPoint add-in to do that. You are able to create styles (and select the attributes like color position etc.) then store them to a Library for later use / sharing. Let me know if you are interested to test the current version.
With Enterprise Architect (Version 9.2), I created some Class and Sequence UML Diagrams. Now I need those Diagrams in a Word document.
My first approach was to just cut them out with the Windows 7 Snipping Tool and paste them into the document. But for printing purposes the quality was way too poor.
The second approach was to "Save them as Images" as offered in Enterprise Architect. But with this, the quality was even worse.
The third way was to export them into a pdf file. With this the quality was quite decent and I could import those pdfs into Inkscape and then convert them into *.png files to import them to word. The problem is, that Enterprise Architect kinda fails with the fonts. Meaning the picture itself has high-quality, but it tries to convert the font of the classes and then I have some spaces between letters where there should be none.
So long story short - is there a way to export my UML Diagrams from Enterprise Architect to a common picture format like .png or .tiff, while retaining decent quality?
As I'm sure you're already aware, you can save a diagram as an image in several formats, including PNG but not TIFF.
The quality of the images can be controlled in the options (Tools - Options), "Diagram" tab.
The "Image Memory Limit" controls the amount of memory the image conversion process is allowed; increasing this should improve the quality of large diagrams.
"Scale Saved Bitmaps to" allows you to set a higher resolution for the images.
I haven't checked whether these also affect the copy-to-clipboard function (in the Diagram menu or CTRL+B), which is the way I usually copy diagrams into documents.
To have diagrams in word there is very easy way.
Simply, open diagram in ea then select all with CTRL+A, then copy CTRL+C, go in word and just do paste CTRL+V. Easy and perfect quality.
For some reason, when you use Ctrl-B to export a Sparx EA model to MS Word, you get a bitmap copied to the clipboard, but when you paste into Powerpoint, you get an Enhanced Metafile. This is vector graphics which can be zoomed into etc. with no loss of detail.
Prep
Before you start, go into EA and Tools->Options (or hit Ctrl-F9).
Ensure that the General properties page is selected.
Check 'Clipboard' is set to 'Metafile' (if it is set to Bitmap, you will
only ever get a bitmap produced, even in Powerpoint).
Steps
Open your EA model to be exported.
Open Powerpoint and clear the default bounding boxes leaving a blank slide.
Open Word and locate the point in your document where you want to paste the model.
Back to EA, open your model window and hit Ctrl-B (Diagram->Paste Image to Clipboard)
Go into Powerpoint and hit Ctrl-V to paste.
Resize the model to fit the slide.
Hit Ctrl A then Ctrl C to ensure everything is copied to the clipboard.
Go into Word and hit Ctrl-V to paste - you should now have an EA model in EMF metafile format, not a bitmap. Document reviewers can now zoom in and see the full detail in the model.
Do the following:
PACKAGE->Documetation->Publish as HTML
Create new folder for output and set the path in"Output" field.
-> Press Generate
Goto ..[your folder]\EARoot, the files named EA*.[png|gif] are your diagram
images in original resolution.
Myself, I used ctrl+P and used my pdf converter for printing.
- Before this, I setup the page size in the Diagram properties -> Diagram -> Page Setup -> Advanced.
- I set "Scale to one page" then i click "Page Setup", choose the appropriate page size and orientation.
- My PDF converter is PDFCreator: http://download.cnet.com/PDFCreator/3000-2064_4-10558866.html
While I see that you seem to have this resolved (happy to hear), I'll post this in case others don't have any luck with the above.
I've always just selected (ctrl+A for the whole diagram) and pasted in to Word/PPT/Outlook and the diagrams were converted automatically to nice PNG scalable images (without ever changing the memory/quality settings).
But on a recent project it seems that when I tried to do the same the quality was very poor/fuzzy and the text was sort of squashed.
Are you by chance using Remote Desktop to connect to a machine that is Running Sparx EA? There is another thread floating around somewhere (sorry don't have the link) where others were having this similar trouble when connected via RDP in Full screen display mode. I was able to export good quality from a non-RDP session, or I think if I connected via RDP but not in Full-Screen mode it owuld export in the quality I'm used to.
Hope this helps anyone else with a similar issue
Change your diagram themes, go to tools->diagram->Themes and change diagram themes to "blueprint" and go to file->Print to PDF
With Version 13 (probably older versions as well) you can press Ctrl-T to open the dialog "Save as Image". There you can choose between .png, .bmp, .jpeg, .tga, .gif, .wmf and .emf.
Copy the diagram Ctrl + A, Ctrl + C and paste it into Microsoft Paint and then save it as jpg/png file.
I have a requirement to use multiple font style in UITextView. Like Bold, Italic and Underline text in single Textview. Like:
One word is Bold second may be italic third Underline as per user selection.
I don't think this is allowed to do but still if any one have achieved and want to share. I need this all while enter text and same while displaying.
Thanks
You're right that the standard UITextView does not support rich editing. At the moment there are a few solutions to the problem.
The Omni Group has released their iOS and Mac frameworks under an open source license. These include a very powerful rich text editor (see: OUIEditorFrame.m). These are very powerful but also extremely complex. Their sample iPad app includes the rich text editor example. Further discussion can be found here
Secondly, this guy has been working on a custom rich text editing control and is offering it under a negotiable licensing agreement.
Finally, you can do it all yourself and create an editor control that implements the UITextInput protocol. Aside from the Apple documentation, there are some tips on doing this here.
Why don't you use attributed string and use its property to set the string as you like.
Reference link : https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/AttributedStrings/Tasks/CreatingAttributedStrings.html