All Projects → torinkwok → AllYourMemoriesAreBelong2iOS

torinkwok / AllYourMemoriesAreBelong2iOS

Licence: MIT License
💪 Simulate iOS on-device memory warnings like a hero.

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to AllYourMemoriesAreBelong2iOS

Sst Elements
SST Architectural Simulation Components and Libraries
Stars: ✭ 36 (+111.76%)
Mutual labels:  simulator, memory
Iosdebugdatabase
make it easy to debug databases in iOS applications iOS debug database
Stars: ✭ 219 (+1188.24%)
Mutual labels:  simulator, debug
ios-simulator-app-exporter
📲 List your iOS simulator devices and their applications, and help you to quickly export them.
Stars: ✭ 69 (+305.88%)
Mutual labels:  simulator, ios-app
sensu-plugins-memory-checks
This plugin provides native memory instrumentation for monitoring and metrics collection, including: memory usage via `free` and `vmstat`, including metrics. Note that this plugin may have cross-platform issues.
Stars: ✭ 15 (-11.76%)
Mutual labels:  memory
WebClipChangeAppLogo
iOS14利用WebClip更换图标,做到无缝启动App
Stars: ✭ 47 (+176.47%)
Mutual labels:  ios-app
hugo-bare-min-theme
A bare minimum theme for Hugo (https://gohugo.io) to help develop and debug Hugo sites -- https://hugo-bare-min.netlify.com/,
Stars: ✭ 71 (+317.65%)
Mutual labels:  debug
dose
Digital Organism Simulation Environment (DOSE)
Stars: ✭ 44 (+158.82%)
Mutual labels:  simulator
SnakeClassic
A snake engine written in SpriteKit for all Apple devices.
Stars: ✭ 56 (+229.41%)
Mutual labels:  ios-app
nested
A memory efficient container for rust nested collections
Stars: ✭ 28 (+64.71%)
Mutual labels:  memory
MCUCapture
Utility for plotting array data from MCU RAM
Stars: ✭ 22 (+29.41%)
Mutual labels:  debug
TemporaryContacts
Android/iOS mobile application for adding contacts that are automatically deleted after a set or default interval and are synced with main address book
Stars: ✭ 15 (-11.76%)
Mutual labels:  ios-app
TJAPlayer3
TJAPlayer3 is a rhythm game application for Windows (and compatible environments). It provides a style of gameplay very similar to that of Taiko no Tatsujin and similar rhythm games, and supports .tja files compatible with a number of other similar rhythm game applications. Download the latest release here: https://github.com/twopointzero/TJAPla…
Stars: ✭ 106 (+523.53%)
Mutual labels:  simulator
pydbg
Python implementation of the Rust `dbg` macro
Stars: ✭ 85 (+400%)
Mutual labels:  debug
ESA
Easy SimAuto (ESA): An easy-to-use Power System Analysis Automation Environment atop PowerWorld Simulator Automation Server (SimAuto)
Stars: ✭ 26 (+52.94%)
Mutual labels:  simulator
Unity-File-Debug
Enhanced debug logging for Unity, with JSON/CSV export and HTML viewer.
Stars: ✭ 50 (+194.12%)
Mutual labels:  debug
redis-key-dashboard
This tool allows you to do a small analysis of the amount of keys and memory you use in Redis. It allows you to see overlooked keys and notice overuse.
Stars: ✭ 42 (+147.06%)
Mutual labels:  memory
antkeeper-source
💿🐜 Antkeeper source code (GitHub mirror)
Stars: ✭ 23 (+35.29%)
Mutual labels:  simulator
educhain
an instructional purpose blockchain.
Stars: ✭ 21 (+23.53%)
Mutual labels:  simulator
aurora-sdk-win
An SDK to develop effects for Nanoleaf Light Panels using features like frequency, beat, or tempo.
Stars: ✭ 22 (+29.41%)
Mutual labels:  simulator
Animated-Tesla-Car-App-using-Flutter
No description or website provided.
Stars: ✭ 141 (+729.41%)
Mutual labels:  ios-app

Broken English?

Yep.

What's this?

A kind of questions frequently asked on StackOverflow:

I'd like to test my app functions well in low memory conditions, but it's difficult to test. How can I induce low memory warnings that trigger the didReceiveMemoryWarning or applicationDidReceiveMemoryWarning: method in my ViewControllers or AppDelegate when the app is running on the real device, NOT the simulator? Or what are some ways I can test my app under these possible conditions?

The reason I can't use the simulator is my app uses Game Center and invites don't work on the simulator.

AllYourMemoriesAreBelong2iOS is an elegant solution to those problems. With using it, it became incredibly easy to simulate iOS on-device memory warnings.

Carthage compatible pod-validablity-badge version-badge license-badge

Features

  • Induces memory warnings through simply pressing the physical volume buttons on iOS devices (like a hero)

  • Works transparently. To use AllYourMemoriesAreBelong2iOS, all you have to do is just to link this framework to your app and hit the Run button to build/run the Debug scheme. You would never be bothered configuring anything. Also, the debug codes within this framework would never be shipped in releasing version

  • Supports hot-swapability for facebook/KVOController. That is to say, once your app has linked to KVOController.framework, the internal mechanism of AllYourMemoriesAreBelong2iOS would take advantage of it automatically, otherwise the raw KVO API will be choosen instead

Installation

Carthage

If you use Carthage to manage your dependencies:

  1. Simply add AllYourMemoriesAreBelong2iOS to your Cartfile:
github "TorinKwok/AllYourMemoriesAreBelong2iOS" ~> 1.0.3
  1. Click File -> Add Files to "$PROJECT_NAME" item in Xcode menu bar. Choose the AllYourMemoriesAreBelong2iOS.xcodeproj

  2. Embed AllYourMemoriesAreBelong2iOS in General panel

CocoaPods

To install using CocoaPods, add the following to your project Podfile:

pod 'AllYourMemoriesAreBelong2iOS', '~>1.0.3'

Git Submodule

  1. Clone and incorporate this repo into your project with git submodule command:
git submodule add https://github.com/TorinKwok/AllYourMemoriesAreBelong2iOS.git "$SRC_ROOT" --recursive`
  1. The remaining steps are identical to the last two in Carthage section

Usage

  1. Make sure that your project is being built with the Debug scheme. Keep in mind that AllYourMemoriesAreBelong2iOS is impossible without invocations to Apple private APIs, hence its all internal implementation was masked in releasing version, since, if not so, there's a distinct possibility that your app would be rejected by iTunes Connect reviewers

  2. Press physical volume buttons on your iOS devices to induce the system memory warnings. You will want to process those notifications in didReceiveMemoryWarning or applicationDidReceiveMemoryWarning: method in the ViewControllers or AppDelegate

Author

Torin Kwok.

Contact me

License

MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].