GithubHelp home page GithubHelp logo

viezel / nappui Goto Github PK

View Code? Open in Web Editor NEW
121.0 22.0 37.0 22.55 MB

A collection of extended functionality for the UI components of Titanium SDK

License: Other

Objective-C 82.05% JavaScript 6.60% Python 11.35%

nappui's Introduction

Napp UI

This module extends the native UI components provided by the Titanium Mobile SDK. We are more properties to a bunch of UI components, giving you more freedom for styling and functionality.

This is not a set of new UI components. Instead, we are extending the existing framework.

See this module as a collection of extended functionality. I did not invent all of the below functionality, but want to put these together in one united module.

Add the module to your project

Simply add the following lines to your tiapp.xml file:

<modules>
    <module platform="iphone">dk.napp.ui</module> 
</modules>

How to use

Instantiate the module through require(); This will modify and override the native Titanium classes with the NappUI methods.

Note: Creating a NappUI object is optional, but may be useful if methods, properties or custom proxy objects are defined.

var NappUI = require("dk.napp.ui");

The following lists the UI components and its new extended functionality.

Window

  • Add a blur effect
    • 1.0: No blur effect
    • 0: Maximum blur effect
var win = Ti.UI.createWindow({
    blur:0.2
});
  • Static Blur effect (a la' iOS 7)
    • enabled: true or flase
    • type
    • tint (applicable when using the tint type)
var win = Ti.UI.createWindow({
	staticBlur: {
		enabled: true,
		type: "tint",
		tint: "#00ff00"
	}
});

//See example/app.js for all applicable types

View

  • Add drop shadow to your view
  • Add a blur effect to the view
var view = Ti.UI.createView({
    shadow:{
        shadowRadius:10,
        shadowOpacity:1,
        shadowOffset:{x:2, y:2}
    },
    blur:0.75
});
  • Static Blur effect (a la' iOS 7)
    • enabled: true or flase
    • type
    • tint (applicable when using the tint type)
var view = Ti.UI.createView({
	staticBlur: {
		enabled: true,
		type: "light"
	}
});

//See example/app.js for all applicable types

ImageView

  • Add pan, rotate or/and pinch control to your image view
  • Eventlisteners for each new gesture control
var image = Ti.UI.createImageView({
    image:"image.png",
    recognizeSimultaneously:"pinching,rotate",
    rotateGesture:true,
    pinchingGesture:true,
    panGesture:true
});

image.addEventListener('pan', function(e){});
image.addEventListener('panend', function(e){});

image.addEventListener('rotate', function(e){});
image.addEventListener('rotateend', function(e){});

image.addEventListener('pinching', function(e){});
image.addEventListener('pinchingend', function(e){});

image.addEventListener('pan', function(e){});
image.addEventListener('panend', function(e){});

WebView

  • Custom WebView scroll speed (Same TableView / ScrollView scroll speed)
  • Remove scroll bounce shadow
  • Remove scroll delay
  • Communication between WebView and Titanium app
  • Change UserAgent
  • Add custom headers
var webView = Ti.UI.createWebView({
    normalScrollSpeed: true,
    removeShadow: true,
    removeScrollDelay: true,
    userAgentForiOS: 'My Awesome Application UserAgent'
    url: 'http://www.appcelerator.com'
});
webView.addEventListener('fromWebView', function(){});
webView.setCustomHeaders({'my-customheader-1': 'custom-header-value', 'add-as-many-headers-as-you-need': 'value'});

ScrollableView

  • Set the indicator color for the Paging Control
  • Set the current indicator color for the Paging Control
var scrollableView = Ti.UI.createScrollableView({
 	views:[view1,view2,view3],
 	showPagingControl:true,
	pagingControlCurrentIndicatorColor:"blue",
	pagingControlIndicatorColor: "red"
});

TabGroup

  • Custom active tab indicator image
  • Custom active tab icon color
  • Custom tab background image
  • Custom tab background color (Same Ti.UI.TabGroup.tabsBackgroundColor property)
var tabGroup = Ti.UI.createTabGroup({
    customBackgroundColor: "#151515",
    customBackgroundImage: "/images/tabbg.png",
    customActiveIndicator: "/images/activeIndicator.png",
    customActiveIconColor: "#FF3300"
});

TextField

  • Added hintTextColor
var textfield = Ti.UI.createTextField({
	hintTextColor:"red"
});

SearchBar

  • SearchField BackgroundImage
  • Custom Cancel button
    • barColor - background gradient of the button. (similar to navbar)
    • color - color of the button title
    • title - change the default Cancel text
    • font - set the font of the button
  • Appearance of the keyboard
  • Disable the search icon
var searchBar = Ti.UI.createSearchBar({
	searchFieldBackgroundImage:"searchbg.png",
	showsScopeBar:true,
	scopeButtonTitles:["hello", "yes"],
	customCancel:{
		barColor:"#333",
		color:"#ddd",
		title:"Hit me",
		font:{
			fontSize:16,
			fontWeight:"bold",
			fontFamily:"Georgia"
		}
	},
	appearance:Titanium.UI.KEYBOARD_APPEARANCE_ALERT,
	barColor:"transparent",
	disableSearchIcon:true //disables the search icon in the left side
});

Picker

  • Mask the background to invisible.
var picker = Ti.UI.createPicker({
	mask:{
	  	left:14,
	  	top:10,
	  	width:293,
		height:196
  	}
});

Toolbar

  • TintColor
var toolbar = Ti.UI.iOS.createToolbar({
    items:[send, flexSpace, camera],
    tintColor:"red"
});

NavigationWindow

  • Close all windows in the navigationWindow, and return to the very first window in the group.
navWindow.popToRoot();

Changelog

  • 1.2.3

    • Remove Attributed Text since its supported by Ti SDK.
  • 1.2.2

    • min SDK changed to 3.2.0.GA
    • Removed NavGroup and added NavigationWindow
  • 1.2.1

    • Added support for custom headers in webviews
  • 1.2

    • Static Blurs (a la' iOS 7) for Ti.UI.Window and Ti.UI.Views - by @dezinezync
  • 1.1.5

    • Attributed Text: Fix for Strings containing Emoji characters
  • 1.1.4

    • Attributed Text: Fixed touch location bug causing application to crash
    • Attributed Text: Fixed highlight range bug
    • Attributed Text: ARC for memory management
    • Attributed Text: Lower memory consumption. Good to use in TiUITableViews *wink*
  • 1.1.3

    • Attributed Text: Highlight links when selected
    • Attributed Text: LongPress event
  • 1.1.2

    • Attributed Text: Set range instead of text when defining attributes. Range can be useful when you get a predefined range eg. Twitter API
    • Attributed Text Links: Set links on specific text/range and listen to a tap event.
  • 1.1.1

    • Attributed Text: Bug Fixes
    • Attributed Text: Set base color for the text
  • 1.1

    • Attributed Text for TiUILabel - by @dezinezync
  • 1.0.4

    • Removed the need for requiring NappUI.js. Modifed the symbol preloader file to a module asset. See ticket 5.
  • 1.0.3

    • Added popToRoot() to extend NavigationGroup. Feature request #3
    • Changed setBlurred(true) to setBlur(0.2). Feature request #1
  • 1.0.2

    • Aded NappUI.js for better use of this module. This is due to some limitations of the Titanium Module SDK.
  • 1.0.1

    • Bugfix - invalid build, and some functions did not work as expected.
  • 1.0

    • Init commit, working module.

Author

Mads Møller
web: http://www.napp.dk
email: [email protected]
twitter: @nappdev

License

Copyright (c) 2010-2013 Mads Møller

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

nappui's People

Contributors

aduptoro avatar dezinezync avatar hansemannn avatar jonatansberg avatar tzmartin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nappui's Issues

Trigger `beforeload` on remote pages

The webView beforeload event currently does not trigger on remote pages.

This event does not fire when navigating remote web pages.

It would be very handy if it did, as you could eg. prevent the user from leaving your site. Or showing a popup when certain links are clicked.

Fails in Ti SDK 3.2.0

Building my project with Ti SDK 3.2.0rc3 and latest version of NappUI fails.

Looks like they removed NavigationGroup.

Relevant:

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_TiUIiPhoneNavigationGroupProxy", referenced from:
      l_OBJC_$_CATEGORY_TiUIiPhoneNavigationGroupProxy_$_Extended in libdk.napp.ui.a(TiUIiPhoneNavigationGroupProxy+Extended.o)

Full:

Ld /Users/sindresorhus/Library/Developer/Xcode/DerivedData/Forsvaret-coctrrplmlmumeboxtjrqmdfpzpy/Build/Products/Debug-iphonesimulator/Forsvaret.app/Forsvaret normal i386
    cd /Users/sindresorhus/dev/titanium/Forsvaret/build/iphone
    setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/sindresorhus/Library/Developer/Xcode/DerivedData/Forsvaret-coctrrplmlmumeboxtjrqmdfpzpy/Build/Products/Debug-iphonesimulator -L/Users/sindresorhus/dev/titanium/Forsvaret/build/iphone/lib -L/Users/sindresorhus/dev/titanium/Forsvaret/modules/iphone/com.obscure.tiuiex/1.0 -L/Users/sindresorhus/dev/titanium/Forsvaret/modules/iphone/de.marcelpociot.sidemenu/1.1 -L/Users/sindresorhus/dev/titanium/Forsvaret/modules/iphone/dk.napp.ui/1.2.1 -L/Users/sindresorhus/dev/titanium/Forsvaret/modules/iphone/be.k0suke.tiisrefreshcontrol/0.1 -F/Users/sindresorhus/Library/Developer/Xcode/DerivedData/Forsvaret-coctrrplmlmumeboxtjrqmdfpzpy/Build/Products/Debug-iphonesimulator -filelist /Users/sindresorhus/Library/Developer/Xcode/DerivedData/Forsvaret-coctrrplmlmumeboxtjrqmdfpzpy/Build/Intermediates/Forsvaret.build/Debug-iphonesimulator/Forsvaret.build/Objects-normal/i386/Forsvaret.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -framework QuartzCore -framework CoreText -framework CoreGraphics -framework Accelerate -framework QuartzCore -framework CoreText -framework CoreGraphics -framework Accelerate -framework QuartzCore -framework Accelerate -framework CoreImage -framework QuartzCore -framework Accelerate -framework CoreImage -weak_framework iAd -weak_framework iAd -fobjc-link-runtime -Xlinker -no_implicit_dylibs -stdlib=libstdc++ -mios-simulator-version-min=5.0 -weak_framework CoreText -framework EventKit -framework EventKitUI -weak_framework Security -licucore -framework Foundation -weak_framework UIKit -framework CoreGraphics -weak_framework AddressBook -framework AddressBookUI -framework CFNetwork -framework CoreLocation -weak_framework MapKit -framework MessageUI -framework MobileCoreServices -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -lsqlite3 -lz -framework AudioToolbox -weak_framework MediaPlayer -framework AVFoundation -lxml2 -framework StoreKit -lTiCore -lcom.obscure.tiuiex -lde.marcelpociot.sidemenu -ldk.napp.ui -lbe.k0suke.tiisrefreshcontrol -framework ExternalAccessory -ltiverify -lti_ios_debugger -lti_ios_profiler -Xlinker -dependency_info -Xlinker /Users/sindresorhus/Library/Developer/Xcode/DerivedData/Forsvaret-coctrrplmlmumeboxtjrqmdfpzpy/Build/Intermediates/Forsvaret.build/Debug-iphonesimulator/Forsvaret.build/Objects-normal/i386/Forsvaret_dependency_info.dat -o /Users/sindresorhus/Library/Developer/Xcode/DerivedData/Forsvaret-coctrrplmlmumeboxtjrqmdfpzpy/Build/Products/Debug-iphonesimulator/Forsvaret.app/Forsvaret

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_TiUIiPhoneNavigationGroupProxy", referenced from:
      l_OBJC_$_CATEGORY_TiUIiPhoneNavigationGroupProxy_$_Extended in libdk.napp.ui.a(TiUIiPhoneNavigationGroupProxy+Extended.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

build failed

Can't build for 5.2.2.GA iOS 9

/Users/Odin/Documents/Projects/NappUI/Classes/DkNappUiModuleAssets.m:15:11: error: 
      expected ';' after expression
2016-06-07 09:42:44.370 titanium_prep[94302:1887168] *** Terminating ap...
          ^
          ;
/Users/Odin/Documents/Projects/NappUI/Classes/DkNappUiModuleAssets.m:15:13: error: 
      invalid digit '9' in octal constant
2016-06-07 09:42:44.370 titanium_prep[94302:1887168] *** Terminating ap...
            ^
2 errors generated.

** BUILD FAILED **


The following build commands failed:
    CompileC build/nappui.build/Release-iphoneos/nappui.build/Objects-normal/armv7/DkNappUiModuleAssets.o Classes/DkNappUiModuleAssets.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
xcodebuild failed

Ability to intercept remote resources in webView and use local instead

Thanks for creating NappUI, NappDrawer and NappAppearance. They're very useful :)

Since you already extend the web view with some useful functionality I thought I might as well post this feature request:

Usecase 1

Say you're creating an app that is frequently updated, so you want most of it to be server-side, but it contains a lot of heavy static images. By having a way to redirect resource calls, you can just serve everything from the server, and let the app intercept and redirect the request for resources it already has locally. This makes the app fast, but doesn't force it to be all packaged up.

Usecase 2

You're creating a wrapper for an web application and need to change some small stuff. Like using your own modified CSS. You could do it on the load even, but then it has already downloaded the moot CSS and when you apply your own with evalJS it causes a noticeable FOUC. Or maybe you need to prevent something from being downloaded, like a heavy unneeded jQuery plugin.

Suggested API

webView.addEventListener('beforeresourceload', function (e) {
    // Default properties
    // e.source
    // e.type

    // Custom properties
    // e.url
    // e.filename

    // You can cancel the request by returning false
    return false;

    // Or return another resource instead
    return 'http://website.com/resource';

    // Or provide the resource yourself
    return {
        content: 'body{color:hotPink}',
        mimeType: 'text/css'
    };
});

Resources

https://gist.github.com/2366514
https://gist.github.com/2995517
http://stackoverflow.com/a/5103892/64949
http://stackoverflow.com/a/5573155/64949

Deploy to device fails

If the module is added to a project and then deployed to the iPad (device, unsure if the problem also occurs on the iPhone)

[ERROR] :  ** BUILD FAILED **
[ERROR] :  The following build commands failed:
[ERROR] :   Ld build/Debug-iphoneos/[appname].app/[appname] normal armv7
[ERROR] :  (1 failure)

Module 1.0.1, Titanium 3.1.1

[ios 7][label] App crash with text align and links

If you set text align (in my case Ti.UI.TEXT_ALIGNMENT_CENTER) and more links app crash on iOS 7.

The application has crashed with an uncaught exception 'NSRangeException'. Reason: NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds

webview redirects to white screen when the url/site contains javascript

When this module is enabled in the tiapp.xml, webviews that are loading websites or pages that contain javascript scode uch as facebook js sdk, twitter buttons or google banners, turn white. You'll see a flash of the original page, but then it gets redirected to a blank page.

Example project: http://bit.ly/1lz1jDm

(basis alloy project with 1 single webview, to test enable or disable the module in tiapp.xml and run)

SearchBar doesn't appear to be working with specific properties

Using 3.2.1.GA, iOS7

  • blur works (so the objects are being extended) but,
  • barColor doesn't work
  • title of customCancel doesn't work
  • disableSearchIcon doesn't work

Not sure if it's a 3.21 issue or I'm doing something crazy. Code is pretty simple, required in app.js (Classic project) and then instantiated searchBar.

popToRoot undefined is not a function

Hey Guys

Ay idea on how to get popToRoot working in an Alloy project? At the moment all I am getting from the code is

<NavigationWindow id="navWindowDetail">
            <Window id="root" class="window">
                    <Label id="lblMain" text="Please Select an item from the left menu" />
            </Window>
    </NavigationWindow>```

```javascript
$.navWindowDetail.popToRoot();

And then in the logs
message = "undefined is not a function (evaluating '$.navWindowDetail.popToRoot()')";

I am adding a new window to the stack from a different controller, so I wanted this to fire first to remove any previous windows before adding a new one

[Request] Shadow Inset

It would be pretty awesome to incorporate shadow inset in the Ti.UI.createView();

shadow:{
      shadowInset:true,
      shadowRadius:5,
      shadowOpacity:0.5,
      shadowOffset:{x:0, y:2}
}

NavigationWindow popToRoot()

navWindow.popToRoot();

This does not seem to work, could not find even the extending class for TiUIiOSNavWindowProxy?

Based on the old navGroup code, this is correct?

-(void)popToRoot:(id)args
{
    ENSURE_UI_THREAD(popToRoot,args);

    UINavigationController * controller = [self controller];
    NSUInteger controllers = [[controller viewControllers] count];

    for (UIViewController * thisVC in [[controller viewControllers] reverseObjectEnumerator])
    {
        if (![thisVC isKindOfClass:[TiViewController class]] || controllers == 1) {
            continue;
        }

        TiWindowProxy * thisProxy = (TiWindowProxy *)[(TiViewController *)thisVC proxy];
        [self closeWindow:thisProxy animated:NO];
        controllers--;
    }
}

Add callback to specific pieces of the label

Let's start with that I love you module.

Second, I would love to see the extension on the label part. It would be great to put calbacks on clicking the seperate parts of the label. In you example you could click on the twitter handle and then open a twitter feed.

I will do some research more and see if I can do some suggestions. My objective-c knowledge is limited though.

_filterDataInRange error

hi i have this error when i go to build an app with the module how can i solve?
the app is a example ( only added the module )

Undefined symbols for architecture x86_64:
  "_filterDataInRange", referenced from:
      +[ApplicationRouting resolveAppAsset:] in ApplicationRouting.o
      -[DkNappUiModuleAssets moduleAsset] in libdk.napp.ui.a(DkNappUiModuleAssets.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

"Undefined symbols for architecture armv7" during device testing..

Works great for simulator tests, but I'm having an issue with device testing. Seems the class files are undefined, which throws an error during app build. Can you test on your end?

[TRACE] :  Undefined symbols for architecture armv7:
[TRACE] :    "_OBJC_CLASS_$_TiUIWebView", referenced from:
[TRACE] :        l_OBJC_$_CATEGORY_TiUIWebView_$_TiUIWebView_Extend in libdk.napp.ui.a(TiUIWebView+Extend.o)
[TRACE] :    "_OBJC_CLASS_$_TiUITabGroup", referenced from:
[TRACE] :        l_OBJC_$_CATEGORY_TiUITabGroup_$_TiUITabGroup_Extend in libdk.napp.ui.a(TiUITabGroup+Extend.o)
[TRACE] :    "_OBJC_CLASS_$_TiUISearchBar", referenced from:
[TRACE] :        l_OBJC_$_CATEGORY_TiUISearchBar_$_Extended in libdk.napp.ui.a(TiUISearchBar+Extended.o)
[TRACE] :    "_OBJC_CLASS_$_TiUIiOSToolbarProxy", referenced from:
[TRACE] :        l_OBJC_$_CATEGORY_TiUIiOSToolbarProxy_$_Extended in libdk.napp.ui.a(TiUIiOSToolbarProxy+Extended.o)
[TRACE] :  ld: symbol(s) not found for architecture armv7
[TRACE] :  clang: error: linker command failed with exit code 1 (use -v to see invocation)

Env:

  • OS X 10.8.4
  • Xcode 4.6.3
  • Ti 3.1.1.GA

Setting html property of WebView crashes app

I get a fatal error when trying to set the html property of a webview:

var win = Titanium.UI.createWindow();
var webView = Titanium.UI.createWebView({
    html: "<html><body>broken</body></html>", 
});
win.add(webView);
win.open();

[ERROR] : The application has crashed with an uncaught exception 'NSRangeException'.
[ERROR] : Reason:
[ERROR] : *** -[NSCFString substringFromIndex:]: Index 134 out of bounds; string length 133
[ERROR] : Stack trace:
[ERROR] : 0 CoreFoundation 0x0446b1c8 __exceptionPreprocess + 152
[ERROR] : 1 libobjc.A.dylib 0x041048e5 objc_exception_throw + 44
[ERROR] : 2 CoreFoundation 0x0446afbb +[NSException raise:format:] + 139
[ERROR] : 3 Foundation 0x0144585f -[NSString substringFromIndex:] + 127
[ERROR] : 4 Lentils Ute Guide 0x0008ab0a +[TiUtils loadAppResource:] + 346
[ERROR] : 5 Lentils Ute Guide 0x0019e982 -[LocalProtocolHandler startLoading] + 418
[ERROR] : 6 Foundation 0x01534d62 __31-[_NSCFURLProtocolBridge start]_block_invoke + 59
[ERROR] : 7 Foundation 0x0149cd65 -[NSBlockOperation main] + 88
[ERROR] : 8 Foundation 0x014f5c79 -[__NSOperationInternal _start:] + 671
[ERROR] : 9 Foundation 0x014729c8 -[NSOperation start] + 83
[ERROR] : 10 Foundation 0x01533d63 -[_NSCFURLProtocolBridgeWithTrampoline processEventQ] + 291
[ERROR] : 11 Foundation 0x01534412 -[_NSCFURLProtocolBridgeWithTrampoline pushEvent:from:] + 264
[ERROR] : 12 Foundation 0x01534d22 -[_NSCFURLProtocolBridge start] + 94
[ERROR] : 13 Foundation 0x01535f31 bridgeStart + 80
[ERROR] : 14 CFNetwork 0x02b60e0b _ZN19URLProtocol_Classic28_protocolInterface_startLoadEPK20_CFCachedURLResponse + 65
[ERROR] : 15 CFNetwork 0x02b8ac33 ___ZN19URLConnectionLoader27_private_ScheduleOriginLoadEPK13_CFURLRequestPK20_CFCachedURLResponse_block_invoke_2 + 147
[ERROR] : 16 CFNetwork 0x02b89868 ___ZNK19URLConnectionLoader25withExistingProtocolAsyncEU13block_pointerFvP11URLProtocolE_block_invoke + 30
[ERROR] : 17 CoreFoundation 0x0440cc69 CFArrayApplyFunction + 57
[ERROR] : 18 CFNetwork 0x02ae9441 _ZN19RunloopBlockContext7performEv + 155
[ERROR] : 19 CFNetwork 0x02bcb3f4 _ZThn16_N19RunloopBlockContext24multiplexerClientPerformEv + 20
[ERROR] : 20 CFNetwork 0x02ae9257 _ZN17MultiplexerSource7performEv + 299
[ERROR] : 21 CFNetwork 0x02ae906c _ZN17MultiplexerSource8_performEPv + 76
[ERROR] : 22 CoreFoundation 0x043f477f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
+ 15
[ERROR] : 23 CoreFoundation 0x043f410b **CFRunLoopDoSources0 + 235
[ERROR] : 24 CoreFoundation 0x044111ae __CFRunLoopRun + 910
[ERROR] : 25 CoreFoundation 0x044109d3 CFRunLoopRunSpecific + 467
[ERROR] : 26 CoreFoundation 0x044107eb CFRunLoopRunInMode + 123
[ERROR] : 27 WebCore 0x092e4a18 _ZN7WebCoreL15runLoaderThreadEPv + 360
[ERROR] : 28 JavaScriptCore 0x0b385b2c _ZN3WTFL16threadEntryPointEPv + 76
[ERROR] : 29 JavaScriptCore 0x0b386025 _ZN3WTFL19wtfThreadEntryPointEPv + 21
[ERROR] : 30 libsystem_pthread.dylib 0x050235fb _pthread_body + 144
[ERROR] : 31 libsystem_pthread.dylib 0x05023485 _pthread_struct_init + 0
[ERROR] : 32 libsystem_pthread.dylib 0x05028cf2 thread_start + 34
[ERROR] : 2014-07-14 10:47:24.669 Lentils Ute Guide[10751:7303] * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[__NSCFString substringFromIndex:]: Index 134 out of bounds; string length 133'
[ERROR] : * First throw call stack:
[ERROR] : (
[ERROR] : 0 CoreFoundation 0x0446b1e4 __exceptionPreprocess + 180
[ERROR] : 1 libobjc.A.dylib 0x041048e5 objc_exception_throw + 44
[ERROR] : 2 CoreFoundation 0x0446afbb +[NSException raise:format:] + 139
[ERROR] : 3 Foundation 0x0144585f -[NSString substringFromIndex:] + 127
[ERROR] : 4 Lentils Ute Guide 0x0008ab0a +[TiUtils loadAppResource:] + 346
[ERROR] : 5 Lentils Ute Guide 0x0019e982 -[LocalProtocolHandler startLoading] + 418
[ERROR] : 6 Foundation 0x01534d62 __31-[_NSCFURLProtocolBridge start]_block_invoke + 59
[ERROR] : 7 Foundation 0x0149cd65 -[NSBlockOperation main] + 88
[ERROR] : 8 Foundation 0x014f5c79 -[__NSOperationInternal _start:] + 671
[ERROR] : 9 Foundation 0x014729c8 -[NSOperation start] + 83
[ERROR] : 10 Foundation 0x01533d63 -[_NSCFURLProtocolBridgeWithTrampoline processEventQ] + 291
[ERROR] : 11 Foundation 0x01534412 -[_NSCFURLProtocolBridgeWithTrampoline pushEvent:from:] + 264
[ERROR] : 12 Foundation 0x01534d22 -[_NSCFURLProtocolBridge start] + 94
[ERROR] : 13 Foundation 0x01535f31 bridgeStart + 80
[ERROR] : 14 CFNetwork 0x02b60e0b _ZN19URLProtocol_Classic28_protocolInterface_startLoadEPK20_CFCachedURLResponse + 65
[ERROR] : 15 CFNetwork 0x02b8ac33 ___ZN19URLConnectionLoader27_private_ScheduleOriginLoadEPK13_CFURLRequestPK20_CFCachedURLResponse_block_invoke_2 + 147
[ERROR] : 16 CFNetwork 0x02b89868 ___ZNK19URLConnectionLoader25withExistingProtocolAsyncEU13block_pointerFvP11URLProtocolE_block_invoke + 30
[ERROR] : 17 CoreFoundation 0x0440cc69 CFArrayApplyFunction + 57
[ERROR] : 18 CFNetwork 0x02ae9441 _ZN19RunloopBlockContext7performEv + 155
[ERROR] : 19 CFNetwork 0x02bcb3f4 _ZThn16_N19RunloopBlockContext24multiplexerClientPerformEv + 20
[ERROR] : 20 CFNetwork 0x02ae9257 _ZN17MultiplexerSource7performEv + 299
[ERROR] : 21 CFNetwork 0x02ae906c _ZN17MultiplexerSource8_performEPv + 76
[ERROR] : 22 CoreFoundation 0x043f477f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
+ 15
[ERROR] : 23 CoreFoundation 0x043f410b __CFRunLoopDoSources0 + 235
[ERROR] : 24 CoreFoundation 0x044111ae __CFRunLoopRun + 910
[ERROR] : 25 CoreFoundation 0x044109d3 CFRunLoopRunSpecific + 467
[ERROR] : 26 CoreFoundation 0x044107eb CFRunLoopRunInMode + 123
[ERROR] : 27 WebCore 0x092e4a18 _ZN7WebCoreL15runLoaderThreadEPv + 360
[ERROR] : 28 JavaScriptCore 0x0b385b2c _ZN3WTFL16threadEntryPointEPv + 76
[ERROR] : 29 JavaScriptCore 0x0b386025 _ZN3WTFL19wtfThreadEntryPointEPv + 21
[ERROR] : 30 libsystem_pthread.dylib 0x050235fb _pthread_body + 144
[ERROR] : 31 libsystem_pthread.dylib 0x05023485 _pthread_struct_init + 0
[ERROR] : 32 libsystem_pthread.dylib 0x05028cf2 thread_start + 34
[ERROR] : )
[ERROR] : libc++abi.dylib: terminating with uncaught exception of type NSException
-- End simulator log ---------------------------------------------------------

Using:
dk.napp.ui v 1.2.3
Titanium sdk 3.2.3.GA
Ti.Alloy 1.0
iOS 10.9.4
Tested on iOS 7.1 emulator

Popover `.toggle()` method

Using Popovers in Titanium is annoying since there isn't any sane way to prevent multiple popovers from appearing if you hit the same button twice which executes popover.show().

It would be useful with a .toggle() method that worked like .show(), but if the popup were already visible it would hide it instead.

How: http://stackoverflow.com/questions/2642405/dismissing-ipad-uipopovercontroller-when-barbuttonitem-is-pushed-while-its-open

OptionDialog on iPad too, which is also a popover.

Expose Webview Content Size

Do you think it's possible to expose the content size of the WebView to Titanium?

I think it would be webView.scrollView.contentSize.
I tried it myself, but I have no idea how to expose Porperties from UI Elements to Titanium, maybe you could help

Improper Name Used for the Toolbar tintColor Setter

I'm still pretty new to writing Ti extensions (and to Objective C in general) so it's completely possible that I'm wrong on this, but shouldn't the setTintColor_ method in your TiUIiOSToolbarProxy category be named setTintColor? It was my understanding that the _ suffix is only used for properties on the View itself.

Is setBlur really working?

I tried doing this

$.gridView.setBlur(0.8);
// or this
$.gridView.applyProperties({
    blur: 0.8
});

But nothing is displayed, also with a combination of setBlurred(true) and blurred: true

$.gridView it's a Titanium.UI.View are they not supported anymore? (it was working on the previous version)

Feature request: add linespacing for attributed labels

Would be nice to have an option on the generic label to set the line spacing.

This code sort of works but the label's frame size (height) is somehow not calculated correctly when using this:

NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
[paragraphStyle setLineSpacing:2];
[attrS addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0, [text length])];

Similar code should probably be added to characterIndexAtPoint() to handle taps on the label attributes correctly

[Q] Styling controls...

Hi,

Great module! Thanks for creating it. I like the blur feature, and just started playing with it.

I am working on an app that will have a dark color theme (black background, dark gray colors) and I need to style some controls like the Picker, Switch, and SearchBar. More specifically, set dark backgrounds with light colored text on the Picker and SearchBar textfield. For the Switch, the ability to change the tintColor from the default green on iOS7.

Can I do this now with NappUI? If not, would you consider adding these features. It's a big problem for dark themed apps when some of these controls are hard-coded white in Titanium with no way to style them.

Thanks!

View Shadow Breaks borderRadius

I've got the following TSS

".big_blue" : {
    borderRadius: 25,
    height: 50,
    width: '100%',
    color: '#fff',
    backgroundColor: Alloy.CFG.blue,
    shadow:{
            shadowRadius:10,
            shadowOpacity:1,
            shadowOffset:{x:2, y:2}
    }
}

However the moment I add the shadow on the radius on the view disappears, if i remove the shadow property, it returns.

Thanks

Crash when labels with attributed strings placed within scrollableview

If you create 4 labels with attributedText blocks defined for the labels and they are placed in an array of views which is then passed to the views attribute of Ti.Ui.ScrolllableView, the app will crash (app just quits) in the following way:
After opening the app, swipe (right to left) 4 times to see each of the labels containing the attributed strings - all should be fine. THEN scroll to a previously displayed label (left to right swipe) and the app will quit before completing the scroll to the previously displayed label.

It appears there's a problem redisplaying a label which contains attributed text - a memory object has been discarded or is not being referenced properly when the label is redisplayed.

Inerestingly if there are only three labels with attributed strings passed to the scrollable view, there is no crash and one can scroll left and right viewing all three labels without a problem.

The test app does not crash if I comment out the attributedText block in each of the labels.

Here's the crash log for my test app which I use to reproduce the crash:

Incident Identifier: A9B3DF77-676E-4508-A680-7FF527104077
CrashReporter Key:   21c24cd4db872d645a09b47aca203c7b2ebc2f9f
Hardware Model:      iPhone5,1
Process:             attribtest2 [1323]
Path:                /var/mobile/Applications/47A34736-95F4-4274-A897-086BE01A8AA2/attribtest2.app/attribtest2
Identifier:          edu.umich.med.attribtest2
Version:             1.0.0.1386001688243 (1.0.0.1386001688243)
Code Type:           ARM (Native)
Parent Process:      launchd [1]

Date/Time:           2013-12-02 11:32:20.281 -0500
OS Version:          iOS 7.0.3 (11B511)
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x4c2f588e
Triggered by Thread:  0

Thread 0 Crashed:
0   libobjc.A.dylib                 0x37d9eb66 objc_msgSend + 6
1   attribtest2                     0x002b7dd2 -[TiUILabel(Extend) setAttributedText_:] (TiUILabel+Extend.m:86)
2   attribtest2                     0x0013421a DoProxyDelegateReadKeyFromProxy (TiProxy.m:149)
3   attribtest2                     0x0013469c DoProxyDelegateReadValuesWithKeysFromProxy (TiProxy.m:186)
4   attribtest2                     0x0010e712 -[TiUIView readProxyValuesWithKeys:] (TiUIView.m:754)
5   attribtest2                     0x000ed2be -[TiViewProxy firePropertyChanges] (TiViewProxy.m:1451)
6   attribtest2                     0x000eb118 -[TiViewProxy view] (TiViewProxy.m:1071)
7   attribtest2                     0x0016a9cc -[TiUIScrollableView renderViewForIndex:] (TiUIScrollableView.m:170)
8   attribtest2                     0x0016acde -[TiUIScrollableView manageCache:] (TiUIScrollableView.m:224)
9   attribtest2                     0x0016e10a -[TiUIScrollableView scrollViewDidScroll:] (TiUIScrollableView.m:618)
10  UIKit                           0x3046d8b8 -[UIScrollView(UIScrollViewInternal) _notifyDidScroll] + 60
11  UIKit                           0x301ea188 -[UIScrollView setContentOffset:] + 600
12  UIKit                           0x30363696 -[UIScrollView _updatePanGesture] + 2086
13  UIKit                           0x30351734 _UIGestureRecognizerSendActions + 192
14  UIKit                           0x301fc186 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 1134
15  UIKit                           0x30587d4a ___UIGestureRecognizerUpdate_block_invoke + 42
16  UIKit                           0x301c35cc _UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 216
17  UIKit                           0x301c1d2e _UIGestureRecognizerUpdate + 294
18  UIKit                           0x301fa9f8 -[UIWindow _sendGesturesForEvent:] + 768
19  UIKit                           0x301fa3a6 -[UIWindow sendEvent:] + 662
20  UIKit                           0x301cfd74 -[UIApplication sendEvent:] + 192
21  UIKit                           0x301ce564 _UIApplicationHandleEventQueue + 7112
22  CoreFoundation                  0x2da11f1c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
23  CoreFoundation                  0x2da113e2 __CFRunLoopDoSources0 + 202
24  CoreFoundation                  0x2da0fbd2 __CFRunLoopRun + 626
25  CoreFoundation                  0x2d97a46c CFRunLoopRunSpecific + 520
26  CoreFoundation                  0x2d97a24e CFRunLoopRunInMode + 102
27  GraphicsServices                0x326b42e6 GSEventRunModal + 134
28  UIKit                           0x3022f840 UIApplicationMain + 1132
29  attribtest2                     0x000874ca main (main.m:36)
30  attribtest2                     0x00084eb4 ___lldb_unnamed_function1$$attribtest2 + 36

Thread 1:
0   libsystem_kernel.dylib          0x38340838 kevent64 + 24
1   libdispatch.dylib               0x3828f0d0 _dispatch_mgr_invoke + 228
2   libdispatch.dylib               0x3828961e _dispatch_mgr_thread + 34

Thread 2:
0   libsystem_kernel.dylib          0x38353c7c __workq_kernreturn + 8
1   libsystem_pthread.dylib         0x383b7e06 _pthread_wqthread + 306
2   libsystem_pthread.dylib         0x383b7cc0 start_wqthread + 4

Thread 3:
0   libsystem_kernel.dylib          0x38353c7c __workq_kernreturn + 8
1   libsystem_pthread.dylib         0x383b7e06 _pthread_wqthread + 306
2   libsystem_pthread.dylib         0x383b7cc0 start_wqthread + 4

Thread 4 name:  KrollContext
Thread 4:
0   libsystem_kernel.dylib          0x38352f38 __psynch_cvwait + 24
1   libsystem_pthread.dylib         0x383b929e _pthread_cond_wait + 598
2   libsystem_pthread.dylib         0x383b9040 pthread_cond_timedwait_relative_np + 12
3   Foundation                      0x2e372102 -[NSCondition waitUntilDate:] + 282
4   attribtest2                     0x000cdcf2 -[KrollContext main] (KrollContext.m:1363)
5   Foundation                      0x2e42ac32 __NSThread__main__ + 1058
6   libsystem_pthread.dylib         0x383b9c5a _pthread_body + 138
7   libsystem_pthread.dylib         0x383b9bca _pthread_start + 98
8   libsystem_pthread.dylib         0x383b7ccc thread_start + 4

Thread 5 name:  com.apple.coremedia.player.async
Thread 5:
0   libsystem_kernel.dylib          0x38340ad4 semaphore_wait_trap + 8
1   libdispatch.dylib               0x3828dde0 _dispatch_semaphore_wait_slow + 172
2   MediaToolbox                    0x2ee69a0a fpa_AsyncMovieControlThread + 1750
3   CoreMedia                       0x2dfa6214 figThreadMain + 192
4   libsystem_pthread.dylib         0x383b9c5a _pthread_body + 138
5   libsystem_pthread.dylib         0x383b9bca _pthread_start + 98
6   libsystem_pthread.dylib         0x383b7ccc thread_start + 4

Thread 6:
0   libsystem_kernel.dylib          0x38353c7c __workq_kernreturn + 8
1   libsystem_pthread.dylib         0x383b7e06 _pthread_wqthread + 306
2   libsystem_pthread.dylib         0x383b7cc0 start_wqthread + 4

Thread 7 name:  com.apple.NSURLConnectionLoader
Thread 7:
0   libsystem_kernel.dylib          0x38340a84 mach_msg_trap + 20
1   libsystem_kernel.dylib          0x3834087c mach_msg + 36
2   CoreFoundation                  0x2da11554 __CFRunLoopServiceMachPort + 152
3   CoreFoundation                  0x2da0fc74 __CFRunLoopRun + 788
4   CoreFoundation                  0x2d97a46c CFRunLoopRunSpecific + 520
5   CoreFoundation                  0x2d97a24e CFRunLoopRunInMode + 102
6   Foundation                      0x2e3b54bc +[NSURLConnection(Loader) _resourceLoadLoop:] + 316
7   Foundation                      0x2e42ac32 __NSThread__main__ + 1058
8   libsystem_pthread.dylib         0x383b9c5a _pthread_body + 138
9   libsystem_pthread.dylib         0x383b9bca _pthread_start + 98
10  libsystem_pthread.dylib         0x383b7ccc thread_start + 4

Thread 8 name:  com.apple.CFSocket.private
Thread 8:
0   libsystem_kernel.dylib          0x38353440 select$DARWIN_EXTSN + 20
1   CoreFoundation                  0x2da15456 __CFSocketManager + 482
2   libsystem_pthread.dylib         0x383b9c5a _pthread_body + 138
3   libsystem_pthread.dylib         0x383b9bca _pthread_start + 98
4   libsystem_pthread.dylib         0x383b7ccc thread_start + 4

Thread 9:
0   libsystem_kernel.dylib          0x38353c7c __workq_kernreturn + 8
1   libsystem_pthread.dylib         0x383b7e06 _pthread_wqthread + 306
2   libsystem_pthread.dylib         0x383b7cc0 start_wqthread + 4

Thread 0 crashed with ARM Thread State (32-bit):
    r0: 0x155709a0    r1: 0x307b2122      r2: 0x00000000      r3: 0x1557099e
    r4: 0x00000000    r5: 0x155709a0      r6: 0x307b2122      r7: 0x27d841dc
    r8: 0x307b74ea    r9: 0x4c2f5882     r10: 0x15570970     r11: 0x15570800
    ip: 0x00000065    sp: 0x27d840a0      lr: 0x002b7dd7      pc: 0x37d9eb66
  cpsr: 0x40000030

Binary Images:
0x7d000 - 0x318fff attribtest2 armv7   /var/mobile/Applications/47A34736-95F4-4274-A897-086BE01A8AA2/attribtest2.app/attribtest2
0x3ead000 - 0x3eb8fff QuickSpeak armv7s   /System/Library/AccessibilityBundles/QuickSpeak.bundle/QuickSpeak
0x2bedd000 - 0x2bf00fff dyld armv7s   /usr/lib/dyld
0x2c600000 - 0x2c603fff AccessibilitySettingsLoader armv7s   /System/Library/AccessibilityBundles/AccessibilitySettingsLoader.bundle/AccessibilitySettingsLoader
0x2c8d6000 - 0x2c9d7fff AVFoundation armv7s  <759b362f09e53f37a2ec82372a95d1de> /System/Library/Frameworks/AVFoundation.framework/AVFoundation
0x2c9d8000 - 0x2ca00fff libAVFAudio.dylib armv7s  <0925efab4dd338e382aa5b10cdbed33f> /System/Library/Frameworks/AVFoundation.framework/libAVFAudio.dylib
0x2ca01000 - 0x2ca01fff Accelerate armv7s  <9340338f3cdf347abe4a88c2f59b5b12> /System/Library/Frameworks/Accelerate.framework/Accelerate
0x2ca0b000 - 0x2cbd8fff vImage armv7s  <479b5c4701833284ab587a1d2fdb5627> /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/vImage
0x2cbd9000 - 0x2ccbbfff libBLAS.dylib armv7s   /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
0x2ccbc000 - 0x2cf77fff libLAPACK.dylib armv7s  <066ea8372dd23f6d89011f9a4a872d6f> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
0x2cf78000 - 0x2cfe6fff libvDSP.dylib armv7s   /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
0x2cfe7000 - 0x2cff9fff libvMisc.dylib armv7s   /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvMisc.dylib
0x2cffa000 - 0x2cffafff vecLib armv7s  <663aefa25bc5367baa72ca144ac26d18> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x2cffb000 - 0x2d01afff Accounts armv7s  <811f7e5dcd353c57af6d6de859848774> /System/Library/Frameworks/Accounts.framework/Accounts
0x2d01c000 - 0x2d081fff AddressBook armv7s   /System/Library/Frameworks/AddressBook.framework/AddressBook
0x2d082000 - 0x2d193fff AddressBookUI armv7s  <8f681556d73d3ee5b9bfead2a124927c> /System/Library/Frameworks/AddressBookUI.framework/AddressBookUI
0x2d2ea000 - 0x2d606fff AudioToolbox armv7s   /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x2d607000 - 0x2d70cfff CFNetwork armv7s  <36562cff956f38a09956da9218198ccf> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x2d70d000 - 0x2d768fff CoreAudio armv7s  <34f47ad0c4d530249298888a1217316f> /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x2d769000 - 0x2d77ffff CoreBluetooth armv7s  <0211d5169d0d3838a9cbb9dd5086a312> /System/Library/Frameworks/CoreBluetooth.framework/CoreBluetooth
0x2d780000 - 0x2d971fff CoreData armv7s  <4ed490c5fd693fefac89d75a47eab553> /System/Library/Frameworks/CoreData.framework/CoreData
0x2d972000 - 0x2dab5ff0 CoreFoundation armv7s  <37c6b3b7abca3774bec8fecf79f07013> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x2dab6000 - 0x2dbdafff CoreGraphics armv7s   /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x2dbdc000 - 0x2dc17fff libCGFreetype.A.dylib armv7s  <4be02e4373903a7d8295e4e0859326ab> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x2dc19000 - 0x2dc23fff libCMSBuiltin.A.dylib armv7s  <23411d17163a35269e923c9d1a21f1b6> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCMSBuiltin.A.dylib
0x2de08000 - 0x2de22fff libRIP.A.dylib armv7s  <40d9d1ad277338ac900b7d97b26c6575> /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
0x2de23000 - 0x2defbfff CoreImage armv7s  <5cb9106c864730e8b36ba1f7f14d9c7f> /System/Library/Frameworks/CoreImage.framework/CoreImage
0x2defc000 - 0x2df49fff CoreLocation armv7s   /System/Library/Frameworks/CoreLocation.framework/CoreLocation
0x2df81000 - 0x2dff8fff CoreMedia armv7s   /System/Library/Frameworks/CoreMedia.framework/CoreMedia
0x2dff9000 - 0x2e0a1fff CoreMotion armv7s   /System/Library/Frameworks/CoreMotion.framework/CoreMotion
0x2e0a2000 - 0x2e0fafff CoreTelephony armv7s  <53697e7196f637cba3234d37798635b2> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x2e0fb000 - 0x2e18afff CoreText armv7s  <7eaf2f4eaadf382daff13c72e6f1f3b6> /System/Library/Frameworks/CoreText.framework/CoreText
0x2e18b000 - 0x2e19afff CoreVideo armv7s   /System/Library/Frameworks/CoreVideo.framework/CoreVideo
0x2e19b000 - 0x2e259fff EventKit armv7s  <7bd8adb87a313533958c9c56ff251fe8> /System/Library/Frameworks/EventKit.framework/EventKit
0x2e25a000 - 0x2e34cfff EventKitUI armv7s   /System/Library/Frameworks/EventKitUI.framework/EventKitUI
0x2e35d000 - 0x2e547fff Foundation armv7s  <19e2d0f6233d3765adecfb5ba59d9b7e> /System/Library/Frameworks/Foundation.framework/Foundation
0x2e725000 - 0x2e77bfff IOKit armv7s  <2c6e904057f13394b4008615454063b7> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x2e77c000 - 0x2e98cfff ImageIO armv7s   /System/Library/Frameworks/ImageIO.framework/ImageIO
0x2e98d000 - 0x2ebd5fff JavaScriptCore armv7s  <54f2231ea9e43666befddcdc18a910eb> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
0x2ebd6000 - 0x2ec79fff MapKit armv7s  <934c186ad02e3012801b8aad1984e5e0> /System/Library/Frameworks/MapKit.framework/MapKit
0x2ec7a000 - 0x2ec7efff MediaAccessibility armv7s  <6b18e226cdae3e4dbfb3b6b826e26f8f> /System/Library/Frameworks/MediaAccessibility.framework/MediaAccessibility
0x2ec7f000 - 0x2ee64fff MediaPlayer armv7s  <00c5c4487727301f93968f4861ed71f7> /System/Library/Frameworks/MediaPlayer.framework/MediaPlayer
0x2ee65000 - 0x2f11efff MediaToolbox armv7s   /System/Library/Frameworks/MediaToolbox.framework/MediaToolbox
0x2f11f000 - 0x2f1bafff MessageUI armv7s  <59211a0f56ac39a79543d01429ea88e2> /System/Library/Frameworks/MessageUI.framework/MessageUI
0x2f1bb000 - 0x2f21efff MobileCoreServices armv7s  <4e4cc0e2dc763d5f8f9c5ed5cbc704fb> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x2fc52000 - 0x2fc5afff OpenGLES armv7s   /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x2fc5c000 - 0x2fc5cfff libCVMSPluginSupport.dylib armv7s  <5c255052c907399eb0201ea98dd2855a> /System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib
0x2fc60000 - 0x2fc63fff libCoreVMClient.dylib armv7s  <0a471be053a43e1ca78e79defaa47ad1> /System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib
0x2fc64000 - 0x2fc6bfff libGFXShared.dylib armv7s  <61521d6895eb360b9587478aa39a149d> /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0x2fc6c000 - 0x2fcacfff libGLImage.dylib armv7s   /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x2fe45000 - 0x2ff8afff QuartzCore armv7s  <723bf8706f6f3fe28a714ed9466c54aa> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x2ff8b000 - 0x2ffe1fff QuickLook armv7s  <68ed4805c8b536109fcc1683e01bb5a6> /System/Library/Frameworks/QuickLook.framework/QuickLook
0x2ffe4000 - 0x30025fff Security armv7s  <8d356745d35b357e9c08dc578f8b2044> /System/Library/Frameworks/Security.framework/Security
0x3015a000 - 0x3016dfff StoreKit armv7s  <8ea275c5fb683ff39aecb0bbf2e3ca77> /System/Library/Frameworks/StoreKit.framework/StoreKit
0x3016e000 - 0x301bdfff SystemConfiguration armv7s   /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x301c0000 - 0x308e1fff UIKit armv7s   /System/Library/Frameworks/UIKit.framework/UIKit
0x308e2000 - 0x30930fff VideoToolbox armv7s  <05093c2629f539deb140642fd0636b5e> /System/Library/Frameworks/VideoToolbox.framework/VideoToolbox
0x30931000 - 0x3095dfff iAd armv7s  <67e0227acc523882a9164cdeec062cbd> /System/Library/Frameworks/iAd.framework/iAd
0x30b9a000 - 0x30b9ffff AITTarget armv7s   /System/Library/PrivateFrameworks/AITTarget.framework/AITTarget
0x30ba4000 - 0x30badfff AOSNotification armv7s   /System/Library/PrivateFrameworks/AOSNotification.framework/AOSNotification
0x30c11000 - 0x30c5afff AccessibilityUtilities armv7s  <8d4c1a83a1ca34ad8fb5ca905a4b43b6> /System/Library/PrivateFrameworks/AccessibilityUtilities.framework/AccessibilityUtilities
0x30cae000 - 0x30ccefff AccountsUI armv7s  <3a3b90a83e713ca5a1791c0ece8a8fe1> /System/Library/PrivateFrameworks/AccountsUI.framework/AccountsUI
0x30ccf000 - 0x30cd3fff AggregateDictionary armv7s   /System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary
0x30ed1000 - 0x30ee5fff AirTraffic armv7s  <802751bb2f21301aaa846b7af966a257> /System/Library/PrivateFrameworks/AirTraffic.framework/AirTraffic
0x30ee6000 - 0x31221fff Altitude armv7s  <078611587d1f3e61bab83ee96f53e909> /System/Library/PrivateFrameworks/Altitude.framework/Altitude
0x31256000 - 0x31293fff AppSupport armv7s   /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x31294000 - 0x312cbfff AppleAccount armv7s  <19ffd6d5761b3242ae1666c065f67ec8> /System/Library/PrivateFrameworks/AppleAccount.framework/AppleAccount
0x3136b000 - 0x3137bfff ApplePushService armv7s   /System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService
0x313b3000 - 0x313c0fff AssetsLibraryServices armv7s   /System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices
0x313c1000 - 0x313dcfff AssistantServices armv7s  <08e48b48a3f8360fa244cd195b246d97> /System/Library/PrivateFrameworks/AssistantServices.framework/AssistantServices
0x313fd000 - 0x31400fff BTLEAudioController armv7s  <616f9b31be713911a95796404a700035> /System/Library/PrivateFrameworks/BTLEAudioController.framework/BTLEAudioController
0x31401000 - 0x31424fff BackBoardServices armv7s  <851e6a2fca27396a901cadb1dd564305> /System/Library/PrivateFrameworks/BackBoardServices.framework/BackBoardServices
0x31427000 - 0x3142cfff BluetoothManager armv7s   /System/Library/PrivateFrameworks/BluetoothManager.framework/BluetoothManager
0x3142d000 - 0x31451fff Bom armv7s   /System/Library/PrivateFrameworks/Bom.framework/Bom
0x314f0000 - 0x314f8fff CaptiveNetwork armv7s   /System/Library/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork
0x314f9000 - 0x315d3fff Celestial armv7s  <7722147b1e0c33ad97282d0896cc9e3d> /System/Library/PrivateFrameworks/Celestial.framework/Celestial
0x315d4000 - 0x315dffff CertInfo armv7s  <9b2bb900f6873906a1bccc771e7609e6> /System/Library/PrivateFrameworks/CertInfo.framework/CertInfo
0x315e0000 - 0x315e5fff CertUI armv7s   /System/Library/PrivateFrameworks/CertUI.framework/CertUI
0x316ae000 - 0x316cefff ChunkingLibrary armv7s  <9c0f1f682d4f38e5904eb1309f522e53> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/ChunkingLibrary
0x3171f000 - 0x3172afff CommonUtilities armv7s  <38e170cdcb583bc7b0918a9fd2d56189> /System/Library/PrivateFrameworks/CommonUtilities.framework/CommonUtilities
0x3172b000 - 0x3172ffff CommunicationsFilter armv7s   /System/Library/PrivateFrameworks/CommunicationsFilter.framework/CommunicationsFilter
0x317c6000 - 0x317f6fff ContentIndex armv7s  <5022d05f42f33597847379f7669774b4> /System/Library/PrivateFrameworks/ContentIndex.framework/ContentIndex
0x317f7000 - 0x317f9fff CoreAUC armv7s   /System/Library/PrivateFrameworks/CoreAUC.framework/CoreAUC
0x31806000 - 0x3185afff CoreDAV armv7s  <096f501a43b23126bccb0154954e66da> /System/Library/PrivateFrameworks/CoreDAV.framework/CoreDAV
0x31a33000 - 0x31a3dfff CoreRecents armv7s  <42095bc33bc8335a9398ff3cef2d3340> /System/Library/PrivateFrameworks/CoreRecents.framework/CoreRecents
0x31a8b000 - 0x31aa9fff CoreServicesInternal armv7s  <9c1c34613680340cb8b7ee3b8f12a08f> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/CoreServicesInternal
0x31aaa000 - 0x31aabfff CoreSurface armv7s   /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
0x31aac000 - 0x31b12fff CoreSymbolication armv7s  <17240727741b334084ea724ac367bc13> /System/Library/PrivateFrameworks/CoreSymbolication.framework/CoreSymbolication
0x31b52000 - 0x31bacfff CoreUI armv7s  <40d696324564353e981f4f8ba480586f> /System/Library/PrivateFrameworks/CoreUI.framework/CoreUI
0x31bad000 - 0x31bfafff CoreUtils armv7s   /System/Library/PrivateFrameworks/CoreUtils.framework/CoreUtils
0x31bfb000 - 0x31c00fff CrashReporterSupport armv7s   /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport
0x31c01000 - 0x31c37fff DataAccess armv7s   /System/Library/PrivateFrameworks/DataAccess.framework/DataAccess
0x31dc9000 - 0x31ddefff DataAccessExpress armv7s  <16e4c6b2b55e3644b4bcc9ef328153a8> /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
0x31e19000 - 0x31e1cfff DataMigration armv7s  <167a3e3059a4355ab50f4b6f6cfa06a3> /System/Library/PrivateFrameworks/DataMigration.framework/DataMigration
0x31e21000 - 0x31e22fff DiagnosticLogCollection armv7s   /System/Library/PrivateFrameworks/DiagnosticLogCollection.framework/DiagnosticLogCollection
0x31e23000 - 0x31e3dfff DictionaryServices armv7s   /System/Library/PrivateFrameworks/DictionaryServices.framework/DictionaryServices
0x31e59000 - 0x31e76fff EAP8021X armv7s  <460bfb71241d33ea9d9e191ec0cb69c7> /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X
0x31e7f000 - 0x31e8afff ExFAT armv7s  <0f2de9eb7f6139de8a51ba3eccbec8d2> /System/Library/PrivateFrameworks/ExFAT.framework/ExFAT
0x31e9c000 - 0x31e9efff FTClientServices armv7s   /System/Library/PrivateFrameworks/FTClientServices.framework/FTClientServices
0x31e9f000 - 0x31ec8fff FTServices armv7s   /System/Library/PrivateFrameworks/FTServices.framework/FTServices
0x31ec9000 - 0x322e4fff FaceCore armv7s   /System/Library/PrivateFrameworks/FaceCore.framework/FaceCore
0x32507000 - 0x32513fff GenerationalStorage armv7s  <02b0c943f582373cbca3c0881d9b172c> /System/Library/PrivateFrameworks/GenerationalStorage.framework/GenerationalStorage
0x32514000 - 0x326acfff GeoServices armv7s  <84b62d5c98ac3914bf90cb356d0fe875> /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices
0x326ad000 - 0x326bbfff GraphicsServices armv7s  <963e9b456da7301cb752303a69f27d10> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x3274a000 - 0x327d0fff HomeSharing armv7s   /System/Library/PrivateFrameworks/HomeSharing.framework/HomeSharing
0x327d1000 - 0x327ddfff IAP armv7s  <45b9fd8abac334e7adc617a75acbedb3> /System/Library/PrivateFrameworks/IAP.framework/IAP
0x32843000 - 0x32877fff IDS armv7s   /System/Library/PrivateFrameworks/IDS.framework/IDS
0x328e4000 - 0x328f5fff IDSFoundation armv7s  <4802c0e94fa2345195b318824bf0fbae> /System/Library/PrivateFrameworks/IDSFoundation.framework/IDSFoundation
0x3295b000 - 0x329e7fff IMCore armv7s   /System/Library/PrivateFrameworks/IMCore.framework/IMCore
0x32a67000 - 0x32ac1fff IMFoundation armv7s  <2e56e96350c733ed8fc9eb2dc065d718> /System/Library/PrivateFrameworks/IMFoundation.framework/IMFoundation
0x32acb000 - 0x32ad2fff IOMobileFramebuffer armv7s   /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
0x32ad3000 - 0x32ad8fff IOSurface armv7s   /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
0x32b4a000 - 0x32b56fff Librarian armv7s  <83cb00b6af823b69b66fef04a2b921bb> /System/Library/PrivateFrameworks/Librarian.framework/Librarian
0x32b57000 - 0x32b90fff MIME armv7s  <95be12e7eeb63d12a06c3726fa32bc60> /System/Library/PrivateFrameworks/MIME.framework/MIME
0x32bd7000 - 0x32be2fff MailServices armv7s  <0039147aae90369c93ae40b573e4f1df> /System/Library/PrivateFrameworks/MailServices.framework/MailServices
0x32c16000 - 0x32c8ffff ManagedConfiguration armv7s   /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration
0x32c90000 - 0x32c91fff Marco armv7s   /System/Library/PrivateFrameworks/Marco.framework/Marco
0x32c92000 - 0x32d0afff MediaControlSender armv7s   /System/Library/PrivateFrameworks/MediaControlSender.framework/MediaControlSender
0x32d42000 - 0x32d4cfff MediaRemote armv7s  <5f6dc798e39b32c1ab4cf554668ce7ea> /System/Library/PrivateFrameworks/MediaRemote.framework/MediaRemote
0x32dca000 - 0x32e9cfff Message armv7s  <27616c0cfe2c37abb470339564f221f8> /System/Library/PrivateFrameworks/Message.framework/Message
0x32ea1000 - 0x32ea3fff MessageSupport armv7s   /System/Library/PrivateFrameworks/MessageSupport.framework/MessageSupport
0x32eaf000 - 0x32ebafff MobileAsset armv7s  <5129443f89f937238576308808e62124> /System/Library/PrivateFrameworks/MobileAsset.framework/MobileAsset
0x32ede000 - 0x32ee6fff MobileBluetooth armv7s  <4d8e6011aca13a058fe6a7988ab3e1d4> /System/Library/PrivateFrameworks/MobileBluetooth.framework/MobileBluetooth
0x32ef9000 - 0x32f00fff MobileIcons armv7s   /System/Library/PrivateFrameworks/MobileIcons.framework/MobileIcons
0x32f01000 - 0x32f04fff MobileInstallation armv7s   /System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation
0x32f05000 - 0x32f0dfff MobileKeyBag armv7s  <6a7ed5c70f603339bb2b7fe8d3446d0c> /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
0x32f35000 - 0x32f38fff MobileSystemServices armv7s  <708039aee4ec32899e4bbf817407798f> /System/Library/PrivateFrameworks/MobileSystemServices.framework/MobileSystemServices
0x32f57000 - 0x32f62fff MobileWiFi armv7s  <59c298c093e63ac8ade746aa2ad0fe44> /System/Library/PrivateFrameworks/MobileWiFi.framework/MobileWiFi
0x32f99000 - 0x3311cfff MusicLibrary armv7s   /System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary
0x331d1000 - 0x331d6fff Netrb armv7s   /System/Library/PrivateFrameworks/Netrb.framework/Netrb
0x331d7000 - 0x331dcfff NetworkStatistics armv7s  <28a54cc525333d80a2d0e882a8e63243> /System/Library/PrivateFrameworks/NetworkStatistics.framework/NetworkStatistics
0x331dd000 - 0x331fafff Notes armv7s   /System/Library/PrivateFrameworks/Notes.framework/Notes
0x331fb000 - 0x331fdfff OAuth armv7s  <4726833fd7d9357a8bbdd3487dcfa9c9> /System/Library/PrivateFrameworks/OAuth.framework/OAuth
0x33955000 - 0x33990fff OpenCL armv7s   /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
0x33f36000 - 0x33f5cfff PersistentConnection armv7s  <1137f9d6610337be8d208465d7caea23> /System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection
0x34377000 - 0x343a4fff PhysicsKit armv7s  <8fa2fcdc554d387fa59ea688840048d0> /System/Library/PrivateFrameworks/PhysicsKit.framework/PhysicsKit
0x343a5000 - 0x343a8fff PowerLog armv7s   /System/Library/PrivateFrameworks/PowerLog.framework/PowerLog
0x34425000 - 0x34492fff Preferences armv7s   /System/Library/PrivateFrameworks/Preferences.framework/Preferences
0x34493000 - 0x344cafff PrintKit armv7s  <6bc12fe7b63739e79d7dba91a4f2560c> /System/Library/PrivateFrameworks/PrintKit.framework/PrintKit
0x344ce000 - 0x34555fff ProofReader armv7s   /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
0x34556000 - 0x34560fff ProtocolBuffer armv7s  <5b4e6b3fda35338582564205c2124948> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer
0x34592000 - 0x34606fff Quagga armv7s   /System/Library/PrivateFrameworks/Quagga.framework/Quagga
0x34607000 - 0x346a7fff Radio armv7s  <38a2966e2ae4324681fbbfc0b8ee7af4> /System/Library/PrivateFrameworks/Radio.framework/Radio
0x34731000 - 0x347b1fff SAObjects armv7s  <4e06485d6c523afba3f2ffdb43ccff75> /System/Library/PrivateFrameworks/SAObjects.framework/SAObjects
0x347be000 - 0x347ddfff ScreenReaderCore armv7s   /System/Library/PrivateFrameworks/ScreenReaderCore.framework/ScreenReaderCore
0x348db000 - 0x348effff SpringBoardServices armv7s  <07b50ddb252a3670ae27c994e345d32d> /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
0x34b06000 - 0x34c1efff StoreServices armv7s  <64f930de40553f1b941468839bb35795> /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
0x34c1f000 - 0x34c2efff StreamingZip armv7s  <51f10d7de8d33ac5af35f1dfdbe3be42> /System/Library/PrivateFrameworks/StreamingZip.framework/StreamingZip
0x34ccd000 - 0x34ccffff TCC armv7s   /System/Library/PrivateFrameworks/TCC.framework/TCC
0x34d19000 - 0x34d3afff TelephonyUtilities armv7s  <452c156104483fc3aea85ebaf9f5c734> /System/Library/PrivateFrameworks/TelephonyUtilities.framework/TelephonyUtilities
0x350ad000 - 0x350d1fff TextInput armv7s   /System/Library/PrivateFrameworks/TextInput.framework/TextInput
0x350d2000 - 0x352a1fff TextToSpeech armv7s  <097a677e599c3c9b88ec1da30af3a3f2> /System/Library/PrivateFrameworks/TextToSpeech.framework/TextToSpeech
0x3532c000 - 0x353ecfff UIFoundation armv7s   /System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation
0x353ed000 - 0x35403fff Ubiquity armv7s   /System/Library/PrivateFrameworks/Ubiquity.framework/Ubiquity
0x35404000 - 0x35407fff UserFS armv7s  <8cadaf260e5c331a98f0cbc94efbc6a6> /System/Library/PrivateFrameworks/UserFS.framework/UserFS
0x3541d000 - 0x3566cfff VectorKit armv7s  <16fa240357ab3113a02f6971195cce29> /System/Library/PrivateFrameworks/VectorKit.framework/VectorKit
0x3580c000 - 0x35829fff VoiceServices armv7s   /System/Library/PrivateFrameworks/VoiceServices.framework/VoiceServices
0x3584c000 - 0x35871fff WebBookmarks armv7s  <4d200a2b0c84314f91326a90d439470c> /System/Library/PrivateFrameworks/WebBookmarks.framework/WebBookmarks
0x35887000 - 0x36335fff WebCore armv7s  <7df88f9af79231758f97431994ad6be8> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x36336000 - 0x363f6fff WebKit armv7s  <2d9a513d87bd3c2d8de0098df694485c> /System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x3653d000 - 0x36545fff XPCObjects armv7s   /System/Library/PrivateFrameworks/XPCObjects.framework/XPCObjects
0x366e9000 - 0x3670cfff iCalendar armv7s  <25c772fc08cd33528e38dc8f845d53c4> /System/Library/PrivateFrameworks/iCalendar.framework/iCalendar
0x36711000 - 0x36752fff iTunesStore armv7s  <889c8d35142a3839b8f9f6fff0c28c42> /System/Library/PrivateFrameworks/iTunesStore.framework/iTunesStore
0x372a5000 - 0x372a6fff libAXSafeCategoryBundle.dylib armv7s  <321de08e1f3a367986fcf51c3c57c027> /usr/lib/libAXSafeCategoryBundle.dylib
0x372a7000 - 0x372acfff libAXSpeechManager.dylib armv7s   /usr/lib/libAXSpeechManager.dylib
0x372ad000 - 0x372b4fff libAccessibility.dylib armv7s  <6bc8d32a6b13300e83fd5ae3d3b94e95> /usr/lib/libAccessibility.dylib
0x374ad000 - 0x374c3fff libCRFSuite.dylib armv7s  <06362cba96bf3a679a91d40f125057cc> /usr/lib/libCRFSuite.dylib
0x374d9000 - 0x374eefff libMobileGestalt.dylib armv7s  <7abc89974a6d36558d5efa60184e43c2> /usr/lib/libMobileGestalt.dylib
0x374ef000 - 0x374f5fff libMobileGestaltExtensions.dylib armv7s  <2fab5a9933e730b380744f325b384e30> /usr/lib/libMobileGestaltExtensions.dylib
0x3750c000 - 0x3750dfff libSystem.B.dylib armv7s   /usr/lib/libSystem.B.dylib
0x37578000 - 0x375a4fff libTelephonyUtilDynamic.dylib armv7s  <56f4820a03da3b71bc7ea2114e81060d> /usr/lib/libTelephonyUtilDynamic.dylib
0x376ee000 - 0x376fafff libbsm.0.dylib armv7s  <34a4b8ea80e4390ab8a146e0de95b6b1> /usr/lib/libbsm.0.dylib
0x376fb000 - 0x37705fff libbz2.1.0.dylib armv7s   /usr/lib/libbz2.1.0.dylib
0x37706000 - 0x37751fff libc++.1.dylib armv7s  <18b3a243f7923c39951c97ab416ed3e6> /usr/lib/libc++.1.dylib
0x37752000 - 0x3776cfff libc++abi.dylib armv7s  <2e20d75c97d339a297a21de19c6a6d4b> /usr/lib/libc++abi.dylib
0x3777c000 - 0x37783fff libcupolicy.dylib armv7s   /usr/lib/libcupolicy.dylib
0x377ca000 - 0x378b7fff libiconv.2.dylib armv7s   /usr/lib/libiconv.2.dylib
0x378b8000 - 0x37a09fff libicucore.A.dylib armv7s  <719aeeaa9cc7301e8eb9117644f94b38> /usr/lib/libicucore.A.dylib
0x37a11000 - 0x37a11fff liblangid.dylib armv7s  <9babf315c8b739ff98c078fb894ba3c4> /usr/lib/liblangid.dylib
0x37a12000 - 0x37a1cfff liblockdown.dylib armv7s  <5623ee432246307eb3ca6b212542d69d> /usr/lib/liblockdown.dylib
0x37a1d000 - 0x37a32fff liblzma.5.dylib armv7s   /usr/lib/liblzma.5.dylib
0x37d5e000 - 0x37d72fff libmis.dylib armv7s  <10ffee9d35cc3a3aafad5a1f3fe1e3e7> /usr/lib/libmis.dylib
0x37d9b000 - 0x37f3afff libobjc.A.dylib armv7s  <0cc1bf8b5caa39fd90ca9cfc94e03fcb> /usr/lib/libobjc.A.dylib
0x38002000 - 0x38017fff libresolv.9.dylib armv7s  <763ddffb38af3444b74501dde37a5949> /usr/lib/libresolv.9.dylib
0x38040000 - 0x380d7fff libsqlite3.dylib armv7s  <0cd7d6e04761365480a2078daee86959> /usr/lib/libsqlite3.dylib
0x380d8000 - 0x38125fff libstdc++.6.dylib armv7s  <894bc61807683540a1d475ae8b117140> /usr/lib/libstdc++.6.dylib
0x38126000 - 0x3814cfff libtidy.A.dylib armv7s  <9ac4925f9e803e48a846ae28aba6d355> /usr/lib/libtidy.A.dylib
0x38150000 - 0x38203fff libxml2.2.dylib armv7s  <810acee8bebe317492118d752643bde3> /usr/lib/libxml2.2.dylib
0x38204000 - 0x38225fff libxslt.1.dylib armv7s   /usr/lib/libxslt.1.dylib
0x38226000 - 0x38232fff libz.1.dylib armv7s   /usr/lib/libz.1.dylib
0x38233000 - 0x38237fff libcache.dylib armv7s  <371dad0c805634ac9ad03150a7bb227d> /usr/lib/system/libcache.dylib
0x38238000 - 0x38240fff libcommonCrypto.dylib armv7s  <95f921d990c936a2a185363d6d606fae> /usr/lib/system/libcommonCrypto.dylib
0x38241000 - 0x38245fff libcompiler_rt.dylib armv7s   /usr/lib/system/libcompiler_rt.dylib
0x38246000 - 0x3824cfff libcopyfile.dylib armv7s  <6e0607b0ba0c3b5297beb5c2291803f3> /usr/lib/system/libcopyfile.dylib
0x3824d000 - 0x38286fff libcorecrypto.dylib armv7s  <8af5878efc1a3eeb8e3ca9ec454855a8> /usr/lib/system/libcorecrypto.dylib
0x38287000 - 0x3829afff libdispatch.dylib armv7s  <20e9bf9f001f376bafe977a315d87fd7> /usr/lib/system/libdispatch.dylib
0x3829b000 - 0x3829cfff libdyld.dylib armv7s  <93c82bcfda94398b997952820e4b22bf> /usr/lib/system/libdyld.dylib
0x3829d000 - 0x3829dfff libkeymgr.dylib armv7s   /usr/lib/system/libkeymgr.dylib
0x3829e000 - 0x382a4fff liblaunch.dylib armv7s   /usr/lib/system/liblaunch.dylib
0x382a5000 - 0x382a8fff libmacho.dylib armv7s  <32be9d5e3cf331449dc721918fe68901> /usr/lib/system/libmacho.dylib
0x382a9000 - 0x382aafff libremovefile.dylib armv7s   /usr/lib/system/libremovefile.dylib
0x382ab000 - 0x382b8fff libsystem_asl.dylib armv7s  <466e30f1d8f03803975292042874ed17> /usr/lib/system/libsystem_asl.dylib
0x382b9000 - 0x382b9fff libsystem_blocks.dylib armv7s   /usr/lib/system/libsystem_blocks.dylib
0x382ba000 - 0x3831cfff libsystem_c.dylib armv7s   /usr/lib/system/libsystem_c.dylib
0x3831d000 - 0x3831ffff libsystem_configuration.dylib armv7s   /usr/lib/system/libsystem_configuration.dylib
0x38320000 - 0x38326fff libsystem_dnssd.dylib armv7s   /usr/lib/system/libsystem_dnssd.dylib
0x38327000 - 0x3833ffff libsystem_info.dylib armv7s  <3dc1420e94d733cabb8711b2acd45fec> /usr/lib/system/libsystem_info.dylib
0x38340000 - 0x38358fff libsystem_kernel.dylib armv7s  <352b213c6b3e3e4f87f40eeb524bac2a> /usr/lib/system/libsystem_kernel.dylib
0x38359000 - 0x38377fff libsystem_m.dylib armv7s  <096ddc81fbf539429dfe0e73afbd894f> /usr/lib/system/libsystem_m.dylib
0x38378000 - 0x38389fff libsystem_malloc.dylib armv7s  <56fc79587a40330e9bae6a276e7999fd> /usr/lib/system/libsystem_malloc.dylib
0x3838a000 - 0x383a9fff libsystem_network.dylib armv7s  <18bb09e9a5243a298528743763efdea3> /usr/lib/system/libsystem_network.dylib
0x383aa000 - 0x383b1fff libsystem_notify.dylib armv7s  <1d2d6d25db4b3ce6ba2ff898554c2c6f> /usr/lib/system/libsystem_notify.dylib
0x383b2000 - 0x383b6fff libsystem_platform.dylib armv7s  <544403ae9e5834bfafdef5250aa5deeb> /usr/lib/system/libsystem_platform.dylib
0x383b7000 - 0x383bcfff libsystem_pthread.dylib armv7s  <3b9209ad7912375c9ba09eaf8d98f987> /usr/lib/system/libsystem_pthread.dylib
0x383bd000 - 0x383befff libsystem_sandbox.dylib armv7s  <94b38e062c2a3f77bf631ba6eb96af85> /usr/lib/system/libsystem_sandbox.dylib
0x383bf000 - 0x383c1fff libsystem_stats.dylib armv7s   /usr/lib/system/libsystem_stats.dylib
0x383c2000 - 0x383c2fff libunwind.dylib armv7s  <6fdd98b80180359199c8f01ae5272f2a> /usr/lib/system/libunwind.dylib
0x383c3000 - 0x383ddfff libxpc.dylib armv7s  <8ae3aa0d5ebe3f139e7bfb4b32638d1c> /usr/lib/system/libxpc.dylib 

Custom header support breaks iframes

Commit 3633dbd broke handling of iframes. I'm not sure whether it's in remote content only, but assume it's not.

It would first navigate to 'about:blank' and then to the URL of the iframe, showing only that one. Reverting the commit fixed the problem for us. See 0b36673.

Encountering an iframe will also trigger shouldStartLoadWithRequest in the webview delegate and I guess that this line then causes the problem. But since I have zero experience with iOS development and only passing familiarity with Objective C I'd like to leave finding a fix for this to someone who actually knows what they're doing 😏

Incorrect way of checking for labels that have attributes

In the code for attributed labels (TiUILabel+Extend.m) checks for labels that have attributes by using this code:

    if(label.attributedText == nil) return;

But according to Apple's documentation the 'attributedText' is replaced as soon as the 'text' property is set:

In iOS 6 and later, assigning a new value to this property also replaces the value of the attributedText property with the same text, albeit without any inherent style attributes. Instead the label styles the new string using the shadowColor, textAlignment, and other style-related properties of the class.

Although the default is nil, after the label is created both text and attributedText will never be nil. Both properties set each others contents.

Apple docs: Assigning a new value to this property also replaces the value of the text property with the same string data, albeit without any formatting information

This issue results in labels not have explicitly set attributes to have an attributedText property anyway. As a result taps and long presses are handled by the module. And this causes a crash of the app as well (see separate issue) when tapping just outside to the right of a non-attributed label.

Translucent

AFAIK, Ti doesn't support the Translucent window navBars and tabBars in 3.1.3. It would be cool to have to features via NappUI. I'm comfortable with implementing them, although I thought we could discuss upon the same.

We can also leverage this cool snippet https://gist.github.com/alanzeino/6619253 for saturated navBars like Facebook 6.5 and Twitter.

App in 3.3.0 fails with "undefined symbols"

[TRACE] Undefined symbols for architecture i386:
[TRACE] "OBJC_CLASS$TiUIiPhoneNavigationGroupProxy", referenced from:
[TRACE] l_OBJC
$CATEGORY_TiUIiPhoneNavigationGroupProxy$_Extended in libdk.napp.ui.a(TiUIiPhone
NavigationGroupProxy+Extended.o)
[TRACE] ld: symbol(s) not found for architecture i386

Set customBackgroundColor has no effect

I cannot manage to get "customBackgroundColor" working.

Here is my code:
var NappUI = require("dk.napp.ui");

var self = Ti.UI.createTabGroup({
customBackgroundColor: "#ff0000",
customActiveIconColor: "#0033FF"
});

var win1 =  Ti.UI.createWindow({
    title: "TITEL 1",
    backgroundColor:'white'
});

win2 = Ti.UI.createWindow({
    title:"TITEL 2",
    backgroundColor:'red'
});

var tab1 = Ti.UI.createTab({
    title: L('home','home'),
    window: win1
});
win1.containingTab = tab1;

var tab2 = Ti.UI.createTab({
    title: L('settings','settings'),
    window: win2
});
win2.containingTab = tab2;

self.addTab(tab1);
self.addTab(tab2);

self.open();

NappUI breaking Leaflet

For Snowciety we use Leaflet as our map client running inside a web view. Last week, Leaflet stopped working and it took me 1,5 days to figure out why. Including the NappUI module via tiapp.xml breaks it.

I haven't got the time to create a test case app, but was wondering if you do anything to the web view by default? Will try to create a test to prove this issue asap.

hintTextColor overwrites value with "text"

I've got some Alloy TSS

'TextField' : {
    color: '#fff',
    font : {
        fontFamily: 'Dosis-Medium',
        fontSize: '22px'
    },
    textAlign: 'left',
    hintTextColor: 'white',
    hintText: 'lemoncake'
}

and my XML

<TextField id="login_email" hintText="email address"></TextField>

As I don't have a "value" it automatically puts "text" in the field

if I define value="some value" then it keeps that value - but wont show the placeholder/hintText

Label+Extend Out of bounds exception

Hey!

I have a Label in my app that has a singletap event listener bound.
Even though i did not specify an attributed text property, tapping this view crashes the app:
I'm using the current version.

Any ideas?

Thanks

EDIT:
My Label was contained inside another Label.
When I replaced the outer Label with a view the problem disappeared.
I'll leave the ticket so you can decide if you would like to keep it.

[ERROR] 2014-02-13 16:24:54.515 WappZapp[6420:80b] *** Terminating app due to uncaught exception 'NSRangeException', reason: 'NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds'
[ERROR] *** First throw call stack:
[ERROR] ( 
[ERROR]         0   CoreFoundation                      0x04a615e4 __exceptionPreprocess + 180
[ERROR]         1   libobjc.A.dylib                     0x046fe8b6 objc_exception_throw + 44
[ERROR]         2   CoreFoundation                      0x04a613bb +[NSException raise:format:] + 139
[ERROR]         3   Foundation                          0x012bcf62 -[NSRLEArray objectAtIndex:effectiveRange:] + 131
[ERROR]         4   Foundation                          0x012bd0df -[NSConcreteMutableAttributedString attributesAtIndex:effectiveRange:] + 56
[ERROR]         5   XXXXXXX                            0x004b45f1 -[TiUILabel(Extend) removeHighlight] + 193
[ERROR]         6   XXXXXXX                            0x004b36a9 -[TiUILabel(Extend) touchesEnded:withEvent:] + 140
[ERROR]         7   UIKit                               0x023ca51d -[UIWindow _sendTouchesForEvent:] + 852
[ERROR]         8   UIKit                               0x023cb184 -[UIWindow sendEvent:] + 1232
[ERROR]         9   UIKit                               0x0239ee86 -[UIApplication sendEvent:] + 242
[ERROR]         10  UIKit                               0x0238918f _UIApplicationHandleEventQueue + 11421
[ERROR]         11  CoreFoundation                      0x049ea83f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
[ERROR]         12  CoreFoundation                      0x049ea1cb __CFRunLoopDoSources0 + 235
[ERROR]         13  CoreFoundation                      0x04a0729e __CFRunLoopRun + 910
[ERROR]         14  CoreFoundation                      0x04a06ac3 CFRunLoopRunSpecific + 467
[ERROR]         15  CoreFoundation                      0x04a068db CFRunLoopRunInMode + 123
[ERROR]         16  GraphicsServices                    0x058659e2 GSEventRunModal + 192
[ERROR]         17  GraphicsServices                    0x05865809 GSEventRun + 104
[ERROR]         18  UIKit                               0x0238bd3b UIApplicationMain + 1225
[ERROR]         19  WappZapp                            0x00005f88 main + 456
[ERROR]         20  libdyld.dylib                       0x0550770d start + 1
[ERROR] ) 
[ERROR] libc++abi.dylib: terminating with uncaught exception of type NSException

Attributed labels can cause app to crash

If you tap the last character of a link at the end of the label, the app will crash.

Sample string used:

var string = "Hello world. This is an addition by @dezinezync #winning. Coming soon to the NappUI module";

Call stack:

[DEBUG] 0   CoreFoundation                      0x041545e4 __exceptionPreprocess + 180
[DEBUG] 1   libobjc.A.dylib                     0x03df18b6 objc_exception_throw + 44
[DEBUG] 2   CoreFoundation                      0x041543bb +[NSException raise:format:] + 139
[DEBUG] 3   Foundation                          0x012a51a2 -[NSRLEArray objectAtIndex:effectiveRange:] + 131
[DEBUG] 4   Foundation                          0x012a5100 -[NSConcreteMutableAttributedString attribute:atIndex:effectiveRange:] + 57
[DEBUG] 5   nappui                              0x003f23a1 -[TiUILabel(Extend) touchesBegan:withEvent:] + 784
[DEBUG] 6   libobjc.A.dylib                     0x03e03874 -[NSObject performSelector:withObject:withObject:] + 77
[DEBUG] 7   UIKit                               0x017dbf92 forwardTouchMethod + 271
[DEBUG] 8   UIKit                               0x017dbe7e -[UIResponder touchesBegan:withEvent:] + 30
[DEBUG] 9   UIKit                               0x016c1efb -[UIWindow _sendTouchesForEvent:] + 386
[DEBUG] 10  UIKit                               0x016c2d34 -[UIWindow sendEvent:] + 1232
[DEBUG] 11  UIKit                               0x01696a36 -[UIApplication sendEvent:] + 242
[DEBUG] 12  UIKit                               0x01680d9f _UIApplicationHandleEventQueue + 11421
[DEBUG] 13  CoreFoundation                      0x040dd8af __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
[DEBUG] 14  CoreFoundation                      0x040dd23b __CFRunLoopDoSources0 + 235
[DEBUG] 15  CoreFoundation                      0x040fa30e __CFRunLoopRun + 910
[DEBUG] 16  CoreFoundation                      0x040f9b33 CFRunLoopRunSpecific + 467
[DEBUG] 17  CoreFoundation                      0x040f994b CFRunLoopRunInMode + 123
[DEBUG] 18  GraphicsServices                    0x04f069d7 GSEventRunModal + 192
[DEBUG] 19  GraphicsServices                    0x04f067fe GSEventRun + 104
[DEBUG] 20  UIKit                               0x0168394b UIApplicationMain + 1225
[DEBUG] 21  nappui                              0x00003e28 main + 456
[DEBUG] 22  nappui                              0x00002775 start + 53

Production crash with TiUILabel+Extend.m on Line 319

We see production crashes caused by the NappUI module:

NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds
Snowciety-[TiUILabel(Extend) touchesBegan:withEvent:]
in TiUILabel+Extend.m on Line 319

We do not use any of the special features of TiUILabel, but do have some clickable labels. The complete travelog:

#   Binary Image Name   Address Symbol
0   CoreFoundation  0x30a47e83  
1   libobjc.A.dylib 0x3ada86c7  objc_exception_throw
2   CoreFoundation  0x30a47dc5  
3   Foundation  0x3136b231  
4   Foundation  0x3136b1a1  
5   Snowciety   0x002b86c1  -[TiUILabel(Extend) touchesBegan:withEvent:] in TiUILabel+Extend.m on Line 319
6   UIKit   0x33200355  
7   UIKit   0x331fb451  
8   UIKit   0x331d0d79  
9   UIKit   0x331cf569  
10  CoreFoundation  0x30a12f1f  
11  CoreFoundation  0x30a123e7  
12  CoreFoundation  0x30a10bd7  
13  CoreFoundation  0x3097b471  CFRunLoopRunSpecific
14  CoreFoundation  0x3097b253  CFRunLoopRunInMode
15  GraphicsServices    0x356af2eb  GSEventRunModal
16  UIKit   0x33230845  UIApplicationMain
17  Snowciety   0x000839bf  main in main.m on Line 36
18  Snowciety   0x00083408  start

Blur options

Not an issue but a "feature" request... the ability to customise the blur effect :)

(I need to learn how to edit/create modules hehe)

simultanious events break when view has fixed position.

NappUI: 1.2.2
Titanium SDK: 3.2.3GA

Below code works great it scales the view and rotates it simultaniously, but if i set a top:100, or a left:100 to pView, to give the view a startup position. u can pinch or u can rotate, not together anymore.

var pView = Ti.UI.createView({
height:300,
width:300,
recognizeSimultaneously:'pinching,rotate',
rotateGesture:true,
pinchingGesture:true,
backgroundColor:'green',
});
pView.addEventListener('pinching',function(e){
this.scale=e.scale;
this.transform=Ti.UI.create2DMatrix().scale(e.scale).rotate(this.rotation);
});
pView.addEventListener('rotate',function(e){
this.rotation=e.rotation*(180/Math.PI);
this.transform=Ti.UI.create2DMatrix().rotate(this.rotation).scale(this.scale);
});

Update popToRoot to support new navWindow

The current popToRoot is based on the navigationGroup which was deprecated in 3.1.3.GA

The following can be used for the new navWindowProxy

-(void)popToRoot
{

    [navController popToRootViewControllerAnimated:NO];

}

Local html WebView events not firing with Titanium 3.2.3

I have been trying to get bidirectional communication between javascript in a local WebView and Titanium. I was using the examples on http://docs.appcelerator.com/titanium/latest/#!/guide/Communication_Between_WebViews_and_Titanium, however it wasn't firing any events (except [DEBUG] : Firing app event: app:fromTitanium)

Realised that by disabling napp.ui it worked correctly.

I can see in the docs that you are extending webviews to provide this functionality, is it necessary anymore?

Using:
dk.napp.ui v 1.2.3
Titanium sdk 3.2.3.GA
Ti.Alloy 1.0
iOS 10.9.4
Tested on iOS 7.1 Emulator and iOS 6 on iPhone 3G

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.