Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
github.com/aproram/xamarin-aprtextfieldsuggestions
Xamarin.iOS Autocomplete suggestions for UITextfield in iOS
Simply import the file APRTextFieldSuggestions.c
to your Xamarin.iOS project
You can setup your suggestions in 4 simple steps inside your view controller
//1-Suggestions List To Look At
string[] theList = {"Alabama",
"Alaska",
"Arizona",
"Arkansas",
"California",
"Colorado",
"Connecticut",
"District Of Columbia"
};
//2-Initialize Suggestions Provider
APRTextFieldSuggestions suggestionsProvider1 = new APRTextFieldSuggestions();
//3-Set Some Optional Styling Properties
suggestionsProvider1.suggestionRowHeight = 30;
suggestionsProvider1.suggestionFontSize = 13;
suggestionsProvider2.suggestionsBackgroundColor = UIColor.DarkGray;
suggestionsProvider2.suggestionTextColor = UIColor.White;
//4-Add Your Suggestions To Your Textfield
suggestionsProvider1.initializeSuggestions(myTextField, theList);
UITextField theTF;
public float suggestionRowHeight = 30;
public float suggestionFontSize = 13;
public UIColor suggestionTextColor = UIColor.Gray;
public float suggestionsMaxVisibleCount = 3.4f;
public float suggestionsBackgroundAlpha = 0.9f;
public UIColor suggestionsBackgroundColor = UIColor.White;
public iAPRSuggestionsTextFieldDelegate myDelegate;
interface iAPRSuggestionsTextFieldDelegate
{
void suggestionTextField_userSelectedItem(int itemIndex, string itemVal);
}
Aproram Feel free to contact me for any inquiries or help :)
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.